tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Michael Luy" <jm...@ntsp.nec.co.jp>
Subject Re: Internal Servlet Error
Date Tue, 17 Jul 2001 08:31:43 GMT
sorry i meant you startup scripts... tools.jar is found in %JAVA_HOME%/lib/.

----- Original Message -----
From: "John Michael Luy" <jmluy@ntsp.nec.co.jp>
To: <tomcat-user@jakarta.apache.org>
Sent: Tuesday, July 17, 2001 4:26 PM
Subject: Re: Internal Servlet Error


> maybe you need to edit you build.bat or build.sh  to include tools.jar.
>
> ----- Original Message -----
> From: "Stefano Bonnin" <shpr@libero.it>
> To: <tomcat-user@jakarta.apache.org>
> Sent: Tuesday, July 17, 2001 4:22 PM
> Subject: JSP: Internal Servlet Error
>
>
> > Hi, I have just installed Tomcat 3.2.1 and the Servlets are OK. When I
try
> > to execute the JSP examples Tomcat returns this message:
> >
> > 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:404)
> >  at org.apache.tomcat.core.Handler.service(Handler.java:286)
> >  at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> >  at
> >
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
> > 7)
> >  at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> >  at
> >
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
> > onnectionHandler.java:210)
> >  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(Thread.java:479)
> >
> > Root cause:
> > java.lang.NoClassDefFoundError: sun/tools/javac/Main
> >  at
> >
>
org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:128)
> >  at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled
> > Code)
> >  at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
> >  at
> >
org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
> >  at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
> >  at
> >
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
> > rvlet.java:152)
> >  at
> >
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
> > va:164)
> >  at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
> >  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:404)
> >  at org.apache.tomcat.core.Handler.service(Handler.java:286)
> >  at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> >  at
> >
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
> > 7)
> >  at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> >  at
> >
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
> > onnectionHandler.java:210)
> >  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(Thread.java:479)
> >
> >
> > WHY?
> >
> > Thanks.
> >
> >
> >
>


Mime
View raw message