From: Jaap S. <co...@ja...> - 2003-08-22 17:49:02
|
Both system have jsdk1.4.2 installed (RedHat does not ship any java I think because it is closed source). I try to keep the systems as similar as possible. I also thought it should be a classpath issue (usually it is) but even the /catalina-home/work/... directories are the same on both systems. (The 'work' folder contains all the complied code used by Tomcat to run the web application). I use png -> see the result: http://test.jaap.nl/charts/what.png http://jaap.nl/charts/what.png I cannot believe this is an issue but: test has Intel Inside, production runs with an AMD processor. On Fri, 2003-08-22 at 19:15, Nathaniel G. Auvil wrote: > if you have the jcharts.jar in your war, and the war works on one server but not another, then I > would agree, something is wrong with your classpath. > > Check to make sure the JVMs are the same version. If you are outputting png, you need to run with > jdk 1.4.x I can not remember off the top of my head what jvm comes with Red Hat 8. > > > > > --- Jaap Stelwagen <co...@ja...> wrote: > > For JSP there is no such thing as a classpath. You just drop your .jar > > in the WEB-INF/lib folder and you are in business. This also means you > > automatically deploy the same classpath on each machine where you > > install your webapplication. > > > > And this is exactly the case for me. I use the same MyApp.war for both > > systems. > > > > BTW, I just could reproduce a NoClassDefFoundError on the test server as > > well. When I install both MyApp.war and jChartsServletExamples.war I got > > the same error. > > This is however not of any help for me because the production server did > > not get jChartsServletExamples.war. But it could help somebody how is > > experiencing this error after playing with the examples. > > > > Did anybody have these kind of problems (and how do you solve it?)? > > > > Jaap > > > > > > On Fri, 2003-08-22 at 15:27, Vikram Rajan wrote: > > > Can you check your classpath? > > > > > > -----Original Message----- > > > From: Jaap Stelwagen [mailto:co...@ja...] > > > Sent: Thursday, August 21, 2003 5:58 AM > > > To: jch...@li... > > > Subject: [jCharts-users] NoClassDefFoundError > > > > > > > > > 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 > > > > > > > > > ------------------------------------------------------- > > > 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 > > > > > > > > ------------------------------------------------------- > > 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 |