RE: jCharts 0.7.5 on IBM SDK 1.3.1/WebSphere5.0

"Ducret, Gilles (MSCI)" <[email protected]>
Newsgroups gmane.comp.krysalis.jcharts.user
Message-ID <[email protected]>
Hi,

Your problem must be quite simple.

Are you using jdk 1.4.

I think you just have to put the following property when you
Start websphere:

java.awt.headless=true

This way you will be able to generate graphs on the server
Side without needing a X11 server

Gilles

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Gabriel
Mihalache
Sent: Friday, January 16, 2004 8:27 AM
To: JCharts Users
Subject: [jCharts-users] jCharts 0.7.5 on IBM SDK 1.3.1/WebSphere5.0


Hi!
I'm a long time user of JCharts. I've usualy used it on Tomcat with the
Sun JDK. For a current project I have to use it on WebSphere 5.0 on
Linux.

I use a Servlet to generate the charts, and I use its init() method to
prepare the properties, etc. When I try to set the ChartFont I get a
ClassDefNotFound because of a class called
sun/awt/X11GraphicsEnvironment

WebSphere can only run on the IBM SDK, which I assume lacks these sun.*
classes. The machine is running a X server, although I'm not sure about
the rights the websphere user has over it. A simillar confiration, but
on Windows, works file.

What can you recommend?



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration See the
breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
jCharts-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jcharts-users 
--------------------------------------------------------
 
NOTICE: If received in error, please destroy and notify sender.  Sender does not waive confidentiality or privilege, and use is prohibited. 
 


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.