tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Turner, John" <JTur...@AAS.com>
Subject RE: Tomcat 4.1.18 Configuration with UNIX
Date Tue, 14 Jan 2003 16:04:47 GMT

I always install the JDK as well.  As far as I know, the Jasper compiler
(the thing that compiles JSPs into servlets) only comes with the JDK.

So, Tomcat can run with just the JRE, but you have to make some adjustments.
Also, which Tomcat is used can have an effect (full vs. LE) as well.
Hopefully someone will correct me if I am wrong.

John

> -----Original Message-----
> From: Denise Mangano [mailto:DeniseM@complusdata.com]
> Sent: Tuesday, January 14, 2003 10:59 AM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat 4.1.18 Configuration with UNIX
> 
> 
> John,
> 
> Dumb question, but JDK is required in order to compile java 
> files right?? (
> I always assumed this was the case but never knew for sure - 
> and I always
> used JDK).   There is another post (Topic: ServletException 
> Servlet.init())
> and he has J2RE installed and can't compile...
> 
> Denise Mangano
> Help Desk Analyst
> Complus Data Innovations, Inc.
> 
> 
> > -----Original Message-----
> > From: Turner, John [mailto:JTurner@AAS.com] 
> > Sent: Tuesday, January 14, 2003 10:49 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat 4.1.18 Configuration with UNIX
> > 
> > 
> > 
> > Did you install the JDK or did you install the JRE?
> > 
> > John
> > 
> > 
> > > -----Original Message-----
> > > From: Neginder Singh [mailto:neginder@hotmail.com]
> > > Sent: Tuesday, January 14, 2003 10:26 AM
> > > To: tomcat-user@jakarta.apache.org
> > > Subject: Tomcat 4.1.18 Configuration with UNIX
> > > 
> > > 
> > > 
> > > Dear All
> > > 
> > > I am trying to Install tomcat 4.1.18 on Unix Platform. When i
> > > try accessing 
> > > the jsp examples JSP-Servlet-JSP,I get the following error.
> > > The same type of error is displayed accessing any JSP 
> > > Examples from the 
> > > examples/jsp/index.html.
> > > 
> > > Could any one help me in sorting it out. Any help would be
> > > appreciated.
> > > 
> > > 
> > > Thanks.
> > > Regards.
> > > Neginder
> > > 
> > > Error Page:
> > > 
> > > org.apache.jasper.JasperException: Unable to compile class for JSP
> > > 	at
> > > org.apache.jasper.JspCompilationContext.compile(JspCompilation
> > > Context.java:479)
> > > 	at 
> > > org.apache.jasper.servlet.JspServletWrapper.service(JspServlet
> > > Wrapper.java:184)
> > > 	at 
> > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
> > > .java:295)
> > > 	at 
> > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> > > 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > 	at 
> > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> > > er(ApplicationFilterChain.java:247)
> > > 	at 
> > > org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> > > cationFilterChain.java:193)
> > > 	at 
> > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> > > rapperValve.java:260)
> > > 	at 
> > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > eContext.invokeNext(StandardPipeline.java:643)
> > > 	at 
> > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > > ine.java:480)
> > > 	at 
> > > 
> > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > 	at 
> > > org.apache.catalina.core.StandardContextValve.invoke(StandardC
> > > ontextValve.java:191)
> > > 	at 
> > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > eContext.invokeNext(StandardPipeline.java:643)
> > > 	at 
> > > org.apache.catalina.authenticator.AuthenticatorBase.invoke(Aut
> > > henticatorBase.java:493)
> > > 	at 
> > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > eContext.invokeNext(StandardPipeline.java:641)
> > > 	at 
> > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > > ine.java:480)
> > > 	at 
> > > 
> > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > 	at 
> > > org.apache.catalina.core.StandardContext.invoke(StandardContex
> > > t.java:2415)
> > > 	at 
> > > org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> > > Valve.java:180)
> > > 	at 
> > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > eContext.invokeNext(StandardPipeline.java:643)
> > > 	at 
> > > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> > > spatcherValve.java:170)
> > > 	at 
> > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > eContext.invokeNext(StandardPipeline.java:641)
> > > 	at 
> > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> > > Valve.java:172)
> > > 	at 
> > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > eContext.invokeNext(StandardPipeline.java:641)
> > > 	at 
> > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > > ine.java:480)
> > > 	at 
> > > 
> > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > 	at 
> > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> > > gineValve.java:174)
> > > 	at 
> > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > eContext.invokeNext(StandardPipeline.java:643)
> > > 	at 
> > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > > ine.java:480)
> > > 	at 
> > > 
> > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > 	at 
> > > org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.
> > > java:223)
> > > 	at 
> > > org.apache.coyote.http11.Http11Processor.process(Http11Process
> > > or.java:432)
> > > 	at 
> > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle
> > > r.processConnection(Http11Protocol.java:386)
> > > 	at 
> > > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
> > > nt.java:534)
> > > 	at 
> > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> > > ThreadPool.java:530)
> > > 	at java.lang.Thread.run(Thread.java:536)
> > > 
> > > 
> > > root cause
> > > 
> > > java.io.FileNotFoundException:
> > > /opt/jakarta-tomcat-4.1.18/work/Standalone/localhost/examples/
> > > jsp/jsptoserv/jsptoservlet_jsp.java 
> > > (No such file or directory)
> > > 	at java.io.FileOutputStream.open(Native Method)
> > > 	at java.io.FileOutputStream.(FileOutputStream.java:176)
> > > 	at java.io.FileOutputStream.(FileOutputStream.java:70)
> > > 	at 
> > > 
> org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:212)
> > > 	at 
> > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:351)
> > > 	at 
> > > org.apache.jasper.JspCompilationContext.compile(JspCompilation
> > > Context.java:474)
> > > 	at 
> > > org.apache.jasper.servlet.JspServletWrapper.service(JspServlet
> > > Wrapper.java:184)
> > > 	at 
> > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
> > > .java:295)
> > > 	at 
> > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> > > 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > 	at 
> > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> > > er(ApplicationFilterChain.java:247)
> > > 	at 
> > > org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> > > cationFilterChain.java:193)
> > > 	at 
> > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> > > rapperValve.java:260)
> > > 	at 
> > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > eContext.invokeNext(StandardPipeline.java:643)
> > > 	at 
> > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > > ine.java:480)
> > > 	at 
> > > 
> > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > 	at 
> > > org.apache.catalina.core.StandardContextValve.invoke(StandardC
> > > ontextValve.java:191)
> > > 	at 
> > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > eContext.invokeNext(StandardPipeline.java:643)
> > > 	at 
> > > org.apache.catalina.authenticator.AuthenticatorBase.invoke(Aut
> > > henticatorBase.java:493)
> > > 	at 
> > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > eContext.invokeNext(StandardPipeline.java:641)
> > > 	at 
> > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > > ine.java:480)
> > > 	at 
> > > 
> > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > 	at 
> > > org.apache.catalina.core.StandardContext.invoke(StandardContex
> > > t.java:2415)
> > > 	at 
> > > org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> > > Valve.java:180)
> > > 	at 
> > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > eContext.invokeNext(StandardPipeline.java:643)
> > > 	at 
> > > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> > > spatcherValve.java:170)
> > > 	at 
> > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > eContext.invokeNext(StandardPipeline.java:641)
> > > 	at 
> > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> > > Valve.java:172)
> > > 	at 
> > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > eContext.invokeNext(StandardPipeline.java:641)
> > > 	at 
> > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > > ine.java:480)
> > > 	at 
> > > 
> > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > 	at 
> > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> > > gineValve.java:174)
> > > 	at 
> > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > eContext.invokeNext(StandardPipeline.java:643)
> > > 	at 
> > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > > ine.java:480)
> > > 	at 
> > > 
> > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > 	at 
> > > org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.
> > > java:223)
> > > 	at 
> > > org.apache.coyote.http11.Http11Processor.process(Http11Process
> > > or.java:432)
> > > 	at 
> > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle
> > > r.processConnection(Http11Protocol.java:386)
> > > 	at 
> > > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
> > > nt.java:534)
> > > 	at 
> > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> > > ThreadPool.java:530)
> > > 	at java.lang.Thread.run(Thread.java:536)
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > _________________________________________________________________
> > > The new MSN 8 is here: Try it free* for 2 months
> > > http://join.msn.com/?page=dept/dialup
> > > 
> > > 
> > > --
> > > 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>
> > 
> 
> --
> 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