|
From: Ducret, G. (MSCI) <Gil...@ms...> - 2003-12-08 09:52:10
|
I will try this,
=20
System.setProperty("java.awt.headless", "true");
=20
This should solve the problem
-----Original Message-----
From: Ducret, Gilles (MSCI)=20
Sent: Monday, December 08, 2003 9:17 AM
To: jch...@li...
Subject: [jCharts-users] X11 Server
=09
=09
Hello all,
=20
I have written some code to display charts on a web page.
Everything works fine in my development
environement. I have then deployed this on my web site. I
receive the following error:
=20
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
sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:126)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:130)
at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnviron
ment.java:62)
at java.awt.Font.initializeFont(Font.java:310)
at java.awt.Font.(Font.java:346)
at org.jCharts.properties.util.ChartFont.(Unknown Source)
at org.jCharts.properties.PieChart2DProperties.(Unknown Source)
at
com.training.ui.GraphGenerator.generatePieByeSportByNbSeance(GraphGenera
tor
=20
I have sent this information to my host provider and they asked
me if jchart uses some third-parties font.
=20
If yes could you tell me which ones so that we can add it, or do
you thing the problem comes from something else.
=20
Many thanks
=20
Gilles
_____ =20
NOTICE: If received in error, please destroy and notify sender.
Sender does not waive confidentiality or privilege, and use is
prohibited.=20
--------------------------------------------------------
=20
NOTICE: If received in error, please destroy and notify sender. Sender =
does not waive confidentiality or privilege, and use is prohibited.=20
=20
|