By: Rodolfo Pablo Ruiz - rpruiz
Problems with X11 in Solaris
2003-12-08 17:32
I am having a problem displaying reports on Solaris 2.8. Here is the output log from the server. I am using Tomcat 5.0.14, Informix 9.3, and JDK1.4.2_01.
description
The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet execution threw an exception
root cause
java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:134)
java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Class.java:141)
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
dori.jasper.engine.fill.JRBaseFiller.(JRBaseFiller.java:210)
dori.jasper.engine.fill.JRFiller.fillReport(JRFiller.java:110)
dori.jasper.engine.JasperFillManager.fillReport(JasperFillManager.java:219)
dori.jasper.engine.JasperFillManager.fillReport(JasperFillManager.java:159)
com.sigmatao.infra.conf.servlet.JasperServlet.doGet(JasperServlet.java:164)
javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
Has anyone stumped into this?
Any help will be very much appreciated.
By: Roger Choi - roger644
RE: Problems with X11 in Solaris
2003-12-08 22:46
You need to add an addtional jvm parameter:
-Djava.awt.headless=true
By: Rodolfo Pablo Ruiz - rpruiz
RE: Problems with X11 in Solaris
2003-12-09 07:07
Mr. Choi,
Thank you very much for your help!. Your tip solved the problem.
Problems with X11 in Solaris
2003-12-08 17:32
I am having a problem displaying reports on Solaris 2.8. Here is the output log from the server. I am using Tomcat 5.0.14, Informix 9.3, and JDK1.4.2_01.
description
The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet execution threw an exception
root cause
java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:134)
java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Class.java:141)
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
dori.jasper.engine.fill.JRBaseFiller.(JRBaseFiller.java:210)
dori.jasper.engine.fill.JRFiller.fillReport(JRFiller.java:110)
dori.jasper.engine.JasperFillManager.fillReport(JasperFillManager.java:219)
dori.jasper.engine.JasperFillManager.fillReport(JasperFillManager.java:159)
com.sigmatao.infra.conf.servlet.JasperServlet.doGet(JasperServlet.java:164)
javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
Has anyone stumped into this?
Any help will be very much appreciated.
By: Roger Choi - roger644
RE: Problems with X11 in Solaris
2003-12-08 22:46
You need to add an addtional jvm parameter:
-Djava.awt.headless=true
By: Rodolfo Pablo Ruiz - rpruiz
RE: Problems with X11 in Solaris
2003-12-09 07:07
Mr. Choi,
Thank you very much for your help!. Your tip solved the problem.
0 Answers:
No answers yet