tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Willart" <>
Subject RE: Off-topic - Java and X11 Window Server
Date Wed, 07 Jan 2004 18:50:51 GMT
I am not an expert on any *nix system, but faced the same problem once.

I had to set to DISPLAY varirable to :1.0 (export DISPLAY=:1.0). It is
important that this is set for the same user that is running Tomcat.



-----Original Message-----
From: Jose Euclides da Silva Junior - DATAPREVRJ
Sent: Wednesday, January 07, 2004 10:55 AM
To: ''
Subject: Off-topic - Java and X11 Window Server

Hi guys,
Have anybody ever seen this error before? The X11 seems to be alive at my
environment --> Conectiva Linux. The target Java app,GraficoBig, works with
a free package, called org.jfree.char and org.jfree.gui.

500 Internal Server Error
java.lang.InternalError: Can't connect to X11 window server using ':0.0' as
the value of the DISPLAY variable.
	at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(
	at java.awt.Window.<init>(
	at java.awt.Frame.<init>(
	at java.awt.Frame.<init>(
	at javax.swing.JFrame.<init>(
	at org.jfree.ui.ApplicationFrame.<init>(Unknown Source)
	at mypackage2.GraficoBig.<init>(
	at _Jspbig._jspService(
José Euclides Junior
Projeto DOP201
Infra-estrutura J2EE para as aplicações corporativas da Previdência Social

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message