It is the JDK.
----- Original Message -----
From: "Dmitri Colebatch" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 17, 2001 7:56 PM
Subject: Re: Problem with Tomcat
> You need to have the jdk - not the jre.
>
> btw - someone with access to the site - I'm constantly amazed that this
> answer is not in the faq (unless I missed it)... perhaps its somewhere
> else, but I would have thought it should be there.
>
> cheesr
> dim
>
> On Mon, 17 Sep 2001, Charles Webber wrote:
>
> > I'm running into a strange problem with a new installation of Tomcat.
> > I have 3.2.3 installed. I can use the startup script to start Tomcat
and
> > everything looks fine until I try to execute a JSP. When I try the JSP
> > examples supplied with Tomcat, I get the following errors - which is a
> > partial stack trace. I have set the CLASSPATH, TOMCAT_HOME and
JAVA_HOME
> > environment variables, even though the startup script should do that for
me.
> > What is wrong?
> > Thanks
> >
> > Internal Servlet Error:
> > javax.servlet.ServletException: sun/tools/javac/Main
> > at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:508)
> > 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:287)
> > at
> > org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> > at
> >
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:81
> > 2)
> > at
> > org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
> > at
> >
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
> > onnectionHandler.java:213)
> > at
> >
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> > at
> >
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
> > at java.lang.Thread.run(Thread.java:484)
> > Root cause: java.lang.NoClassDefFoundError: sun/tools/javac/Main
> > at
> >
org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:136)
> > at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
> > 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(JspSe
> > 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:500)
> > 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:287)
> > at
> > org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> > at org.apache.tomcat.core.ContextManag
> >
> >
>