Exception on connect to X11 window when run

By: Youan Zeng - yzeng2002
Exception on connect to X11 window when run
2002-10-01 09:04
Hi,

When running a jasper report from unix server, an Exception is thrown: java.lang.InternalError: Can't connect to X11 window server using 'localhost:0' as the value of the DISPLAY variable

This is because in JRBaseFiller.java and some other few java modules using a reference of java.awt.GraphicsEnvironment. This is required an active X Window running. Since we plan to run the reports on production server, then keep an active X Window running is not a good idea. Any suggestions to bypass this situation?

Thanks a lot
2001 JI Open Discussion's picture
Joined: Aug 10 2006 - 3:26am
Last seen: 17 years 1 month ago

0 Answers:

No answers yet
Feedback