We have this application that uses JFreeCharts. When we run it in WSAD, the applications works fine and the charts are displayed. Problem is, when we deploy it in Websphere and try to display these charts, we get this error:
Originally posted by Andres Delrotti: This is ajdelr, I changed my display name already.
Thank you, Andres. We appreciate that.
Anyway, the problem isn't anything to do with the way you deployed things. The problem is that JFreeChart uses graphics classes to produce its charts, and your installation of Websphere is running in a so-called "headless" environment where those graphics classes are not available.
If your version of Websphere is running on Java 1.4 (Websphere 5.1.2 or later I think) then you can probably fix that by setting the "java.awt.headless" system property to "true". You can set system properties via the admin application, and you'll have to restart the server for them to take effect.
And if that doesn't work then a web search for "jfreechart headless" should turn up a better solution for you.