problem in displaying the pie chart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
shiva

problem in displaying the pie chart

Post by shiva » Wed May 03, 2006 7:37 am

hello everybody,

I have a problem with jfreechart when deployed it on sun sloaris..
pie chart which was was taken from jfreechart-sample.jar was working fine in windows but giving an error as java.lang.NoClassDefFoundError:javax/servlet/ServletOutputStream

can anyone help me out through this problem...

Mimil
JFreeReport Staff Member
Posts: 69
Joined: Tue Mar 25, 2003 7:33 pm

Post by Mimil » Wed May 03, 2006 11:20 am

Hi,

Is the servlet API properly included? Perhaps it can help if you provide us the versions of application you are using (OS, Application Server, J2EE, ..).
A student of JFree & Pentaho Academies

Bye,
Cedric Pronzato

Leyla

Re: problem in displaying the pie chart

Post by Leyla » Fri May 05, 2006 4:42 pm

The servers are running solaris 9 OS, tomcat 5.0.24 for web serving, Java(TM) 2 SDK Version 1.4.2.
The OS installation was done by some consultants who recommended a bare bones installation for maximum security. We're not sure if we are missing some system libraries which are preventing the display of the charts. Thank you

shiva

Post by shiva » Thu May 18, 2006 9:59 am

hello everyone,
Can anyone help me in listing system libraries required to run/install graphics on sunsolaries...

Thank U

chari

sunsolaries study guide

Post by chari » Fri Jun 09, 2006 7:20 am

shiva wrote:hello everyone,
Can anyone help me in listing system libraries required to run/install graphics on sunsolaries...

Thank U

W.Y

Post by W.Y » Sun Jul 30, 2006 3:04 am

Hi,

I also have the same problem using tomcat 5.5.x in my linux box (RHEL 4 UP3), but no problem with my windows 2000.

I'd set servlet-api.jar into classpath and restart tomcat. same error!
I'd also copied servlet.jar (from old version) into web-app/xx/lib. same error.

This morning (HKT) , I try to copy servlet-api.jar into JRE_HOME/lib/ext/

Now it works.

It seems tomcat ignore $CLASSPATH... do somebody know why?

Locked