Sign in to follow this  
aman0711

Saving chart as an Image not working

Recommended Posts

Hi all,

  I just used the save chart as an image stuff and it worked fine on my local machine with a locally running WAS 6.1. but when I deployed it on my Dev server which is again WAS 6.1. I am getting the following error:

Error 500: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.

and

Error 500: sun/awt/X11GraphicsEnvironment

Share this post


Link to post
Share on other sites
Can't connect to X11 window server using ':0.0' as the value of the
	   DISPLAY variable.

For servers without a graphical interface, the above error will be thrown.

The solution to your problem is to set java.awt.headless to true (requires jdk1.4 or above). This is explained here:

http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19252

Hope this helps.

Share this post


Link to post
Share on other sites

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
Sign in to follow this