Jump to content
We've recently updated our Privacy Statement, available here ×

Exception on connect to X11 window when run


Recommended Posts

By: Youan Zeng - yzeng2002

Exception on connect to X11 window when run

2002-09-30 12:52

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

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...