2006 IR Open Discussion Posted August 18, 2006 Share Posted August 18, 2006 By: Eric Mendes - ointocavel RESOLVED - Can't connect to X11 window server 2002-12-05 05:22 configuration (TOMCAT4+jdk1.4) in /etc/tomcat4/etc/tomcat4.conf add or put: CATALINA_OPTS="-Djava.awt.headless=true" By: Boris Klug - bklug RE: RESOLVED - Can't connect to X11 window se 2002-12-05 07:29 GREAT! I used Xvfb now but headless support is better. I think it is only available in JVM 1.4 but thats OK. By: Eric Tan - neltan RE: RESOLVED - Can't connect to X11 window se 2003-02-24 19:11 Hi, Is the file: "/etc/tomcat4/etc/tomcat4.conf" create by yourself ? Because I don't know where it is. I install tomcat here "/usr/local/jakarta-tomcat-4.1.18/" Where should I add "CATALINA_OPTS="-Djava.awt.headless=true" ? Thank you, neltan By: Eric Tan - neltan RE: RESOLVED - Can't connect to X11 window se 2003-02-24 19:49 Thank you. I get it now. I update my "/etc/rc.d/rc.local" # Set JAVA_HOME for Tomcat JAVA_HOME=/usr/local/j2sdk1.4.1_01 CATALINA_OPTS="-Djava.awt.headless=true" export JAVA_HOME CATALINA_OPTS By: Mark Hayes - markh46 RE: RESOLVED - Can't connect to X11 window server 2003-05-13 05:42 When running on RedHat 7.1 and SDK 1.4.1_02 I get the following: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. This ocurs once after a Linux boot. Subsequent calls to JasperReports result in: java.lang.NoClassDefFoundError at dori.jasper.engine.fill.JRFiller.fillReport(JRFiller.java:109) at dori.jasper.engine.JasperFillManager.fillReport(JasperFillManager.java:217) at dori.jasper.engine.JasperFillManager.fillReportToFile(JasperFillManager.java:138) at dori.jasper.engine.JasperFillManager.fillReportToFile(JasperFillManager.java:124) I have made the suggested change to CATALINA_OPTS. These synptoms do not occur on windows. The JR jar file is in <my-app>/WEB-INF/lib Is this an XServer configuration problem? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now