Hello,
I used JFreeChart in a java web app. My servlet receives a few params and returns a jpeg binary stream for html to display (mime type=image/jpeg). It works fine on my windows server, but not on my linux RedHat server. I don't get any error messages, but all that appears on the page is a small, empty image placeholder.
The linux box has jdk 1.3.1, and gnome and KDE are installed. What's wrong? Any help very much appreciated!
Miguel
JFreeChart servlet problem w/ linux
Re: JFreeChart servlet problem w/ linux
ooops! Of course, X11 was the culprit. Actually I'm much more interested in the JDK1.4 solution. It seems simpler, and more radical. Has anyone successfully used headless graphics with it?
I want to take this opportunity to thank you, David, for this wonderful project. I'm very happy with it, and I'm learning so much just by looking around your code. Superb OO job!
Miguel
I want to take this opportunity to thank you, David, for this wonderful project. I'm very happy with it, and I'm learning so much just by looking around your code. Superb OO job!
Miguel
Re: JFreeChart servlet problem w/ linux
Headless works great. add -Djava.awt.headless=true to the command line.
Jim McLaughlin
Jim McLaughlin