hi all,
I have an application which is
developed using websphere studio & uses jasper reports 1.1.0. The hasper
reports works fine in websphere. However, the application needs to be deployed
on Linux. When I try to deploy the application on Linux it was
giving me the following error given below:
[11/29/05 11:39:13:076 IST] e9353f0 WebGroup E SRVE0026E: [Servlet Error]-[Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.]: java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:161).null(Unknown Source) at java.lang.Class.forName1(Native Method) at java.lang.Class.forName(Class.java(Compiled Code)) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:90) at net.sf.jasperreports.engine.util.JRGraphEnvInitializer.initializeGraphEnv(JRGraphEnvInitializer Now Even after executing these
commands,
#xhost + I am getting the
following error: also add -Djava.awt.headless=true argument on start script of your application. [11/30/05 11:03:40:448 IST] 6712a646 WebGroup E SRVE0026E: [Servlet Error]-[sun/awt/X11GraphicsEnvironment]: java.lang.NoClassDefFoundError: sun/awt/X11GraphicsEnvironment at java.lang.Class.forName1(Native Method) at java.lang.Class.forName(Class.java(Compiled Code)) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:90) at net.sf.jasperreports.engine.util.JRGraphEnvInitializer.initializeGraphEnv(JRGraphEnvInitializer.java:58) at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:412) at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:91) at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:73) at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:113) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:57) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:247) at com.mind.tms.report.HtmlServlet.service(HtmlServlet.java:127) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
Thanks & Regards, Meenakshi |