tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denise Mangano <Deni...@complusdata.com>
Subject RE: Cannot run JSPs with Tomcat 4.0.6
Date Fri, 17 Jan 2003 07:14:10 GMT
Check in the lib directory... is there a jar file "jasper-runtime.jar"?  If
so, try putting this in your classpath as well as the jasper-compiler.jar
file.

HTH
Denise 

-----Original Message-----
From: Al Cam
To: tomcat-user@jakarta.apache.org
Sent: 1/16/2003 10:33 AM
Subject: RE: Cannot run JSPs with Tomcat 4.0.6

I did so, but it's the same.

Now, I've been looking inside the jasper-compiler.jar, and cannot find
the 
JspRuntimeContext.class

Is there some other version of jasper? or the problem is other stuff?


>From: "Turner, John" <JTurner@AAS.com>
>Reply-To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
>To: 'Tomcat Users List' <tomcat-user@jakarta.apache.org>
>Subject: RE: Cannot run JSPs with Tomcat 4.0.6
>Date: Thu, 16 Jan 2003 09:54:33 -0500
>
>
>Try putting the JAR in $CATALINA_HOME/common/lib, it might even be
there
>already.  Tomcat doesn't do much with CLASSPATH.
>
>John
>
> > -----Original Message-----
> > From: Al Cam [mailto:facp_tomcat@hotmail.com]
> > Sent: Thursday, January 16, 2003 9:41 AM
> > To: tomcat-user@jakarta.apache.org
> > Subject: Cannot run JSPs with Tomcat 4.0.6
> >
> >
> > Hi everyone!
> >
> > I installed the Tomcat 4.0.6 on my Unix Server, with J2SE
> > 1.3.0. My servlets
> > works fine (with JDBC connection). But with JSPs the server
> > sends me the
> > error shown lines below.
> >
> > I have the jasper_compiler.jar on my CLASSPATH, but that doesn't
work.
> >
> > Any ideas?
> >
> > ======================
> >
> > javax.servlet.ServletException: Servlet.init() for servlet jsp threw
> > exception
> > 	at
> > org.apache.catalina.core.StandardWrapper.loadServlet(StandardW
> > rapper.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.core.StandardWrapper.allocate(StandardWrap
> > per.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> > rapperValve.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:472)
> > 	at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.core.StandardContextValve.invoke(StandardC
> > ontextValve.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:472)
> > 	at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.core.StandardContext.invoke(StandardContex
> > t.java:2347)
> > 	at
> > org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> > Valve.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> > spatcherValve.java:170)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> > Valve.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java,
> > Compiled Code)
> > 	at
> >
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:472)
> > 	at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> > gineValve.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:472)
> > 	at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.connector.http.HttpProcessor.process(HttpP
> > rocessor.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.connector.http.HttpProcessor.run(HttpProce
> > ssor.java:1125)
> > 	at java.lang.Thread.run(Thread.java:484)
> >
> >
> > root cause
> >
> > java.lang.NoClassDefFoundError:
> > org/apache/jasper/compiler/JspRuntimeContext
> > 	at
> > org.apache.jasper.servlet.JspServlet.init(JspServlet.java, Compiled
> > Code)
> > 	at
> > org.apache.catalina.core.StandardWrapper.loadServlet(StandardW
> > rapper.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.core.StandardWrapper.allocate(StandardWrap
> > per.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> > rapperValve.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:472)
> > 	at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.core.StandardContextValve.invoke(StandardC
> > ontextValve.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:472)
> > 	at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.core.StandardContext.invoke(StandardContex
> > t.java:2347)
> > 	at
> > org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> > Valve.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> > spatcherValve.java:170)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> > Valve.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java,
> > Compiled Code)
> > 	at
> >
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:472)
> > 	at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> > gineValve.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:472)
> > 	at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.connector.http.HttpProcessor.process(HttpP
> > rocessor.java,
> > Compiled Code)
> > 	at
> > org.apache.catalina.connector.http.HttpProcessor.run(HttpProce
> > ssor.java:1125)
> > 	at java.lang.Thread.run(Thread.java:484)
> >
> >
> >
> >
> >
> >
> > _________________________________________________________________
> > MSN. Más Útil Cada Día http://www.msn.es/intmap/
> >
> >
> > --
> > To unsubscribe, e-mail:
><mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail:
><mailto:tomcat-user-help@jakarta.apache.org>
>
>--
>To unsubscribe, e-mail:   
><mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: 
><mailto:tomcat-user-help@jakarta.apache.org>


_________________________________________________________________
MSN Fotos: la forma más fácil de compartir e imprimir fotos. 
http://photos.msn.es/support/worldwide.aspx


--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message