From: Jaap S. <co...@ja...> - 2003-08-24 23:11:58
|
Hello Nathaniel, A few hours trying: for example, I have installed ant and compiled jCharts on the server, and finally I found the solution. I have set the environment value: CATALINA_OPTS="-Djava.awt.headless=true". This solved the problem. Anyway, the test server somehow does not need this configuration. I do not really understand why (both have X11 and both are not running), but heck it works: http://jaap.nl/what.jsp Thanks for your consideration Jaap On Fri, 2003-08-22 at 14:38, Nathaniel G. Auvil wrote: > If I had to guess, I would say you have an older version of the jcharts.jar on your classpath. I > can not think of anything in the PieChart2DProperties Object which would cause this problem. > > > > --- Jaap Stelwagen <co...@ja...> wrote: > > Hello, > > > > Since very short I try to use jCharts for a nice pie chart on my > > website. Everything went very smooth thanks to the fine documentation > > and sample code. But now it goes wrong in a dreadful manner. > > > > What happened? > > > > I deployed a 2D Pie chart successfully on the test server (RH 9, Tomcat > > 4 and Java 1.4.2). It works fine: > > http://test.jaap.nl/directwonen/what.jsp (this is Dutch, but you will > > recognize the pie chart easy). > > > > When I deploy the same .war file on the production server, the result is > > somewhat disappointing: > > http://jaap.nl/directwonen/what.jsp > > No chart! > > > > If you want to see the error message: > > http://jaap.nl/charts/what.png (the servlet source code is almost > > completely copied from the jCharts example). > > > > The only difference I know is that the production server is running > > RedHat 8 (in stead of 9). The rest is similar. > > > > Does anybody have any idea what is happening? > > > > Greetings, > > > > Jaap > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: VM Ware > > With VMware you can run multiple operating systems on a single machine. > > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines > > at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 > > _______________________________________________ > > jCharts-users mailing list > > jCh...@li... > > https://lists.sourceforge.net/lists/listinfo/jcharts-users > > > ===== > http://nathaniel-auvil.blog-city.com/ > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines > at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users |