Hi Arnaud. You need the jdk not just the jre. You need the jdk because
tomcat will compile your jsp. hth.


> -----Original Message-----
> From: Arnaud Tuffery [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, August 14, 2001 5:19 PM
> To:   Jakarta
> Subject:      jsp issue
> 
> Hi !
> 
> I use Tomcat 3.2.3 with Apache 1.3.20 and Jre 1.2.2 . When I try to
> execute
> a jsp file I get the following message:
> 
> Error: 500
> Location: /sia/jsp/dates/date.jsp
> Internal Servlet Error:
> 
> javax.servlet.ServletException: sun/tools/javac/Main
>       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java,
> Compiled
> Code)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>       at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
>       at org.apache.tomcat.core.Handler.service(Handler.java, Compiled
> Code)
>       at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java,
> Compiled Code)
>       at
> org.apache.tomcat.core.ContextManager.internalService(ContextManager.java,
> Compiled Code)
>       at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java,
> Compiled Code)
>       at
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Htt
> pC
> onnectionHandler.java, Compiled Code)
>       at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
> Compiled Code)
>       at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java,
> Compiled Code)
>       at java.lang.Thread.run(Unknown Source)
> 
> Root cause:
> java.lang.NoClassDefFoundError: sun/tools/javac/Main
>       at
> org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:13
> 6)
>       at org.apache.jasper.compiler.Compiler.compile(Compiler.java,
> Compiled
> Code)
>       at
> org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
>       at
> org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
>       at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
>       at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(Jsp
> Se
> rvlet.java:258)
>       at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.
> ja
> va:268)
>       at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
>       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java,
> Compiled
> Code)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>       at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
>       at org.apache.tomcat.core.Handler.service(Handler.java, Compiled
> Code)
>       at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java,
> Compiled Code)
>       at
> org.apache.tomcat.core.ContextManager.internalService(ContextManager.java,
> Compiled Code)
>       at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java,
> Compiled Code)
>       at
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Htt
> pC
> onnectionHandler.java, Compiled Code)
>       at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
> Compiled Code)
>       at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java,
> Compiled Code)
>       at java.lang.Thread.run(Unknown Source)
> 
> Might you help me about this issue which make me very sad !!!
> 
> Thank you in advance.
> 
> 
> e-mail: [EMAIL PROTECTED]
> phone: 04.67.79.63.07
> mobile: 06.67.29.45.84

Reply via email to