Hi,

I have installed a Jakarta Tomcat web server on a Windows 2000 server 
machine. 
To do that I have installed the JDK 1.3.1 and added the environment 
variable.
Then I installed Tomcat 4.0.2 and added the environment variable.

I can properly load the server main page by going to http://localhost:8080/ 
in this page I can test any servlet example : they are all working

But when I try to use any JSP example I have an exception(http 500) :


type Exception report

message Internal Server Error

description The server encountered an internal error (Internal Server 
Error) that prevented it from fulfilling this request.

exception 

javax.servlet.ServletException: sun/tools/javac/Main
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:485)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)

        at 

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)

        at 

org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)

        at 

org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

        at .....


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:272)
        at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552)
        at 

org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177)

        at 

org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189)


        at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)

        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at ........


It used to work well before and I don't see anything wrong with my install, 
do you ? Is it because I am using Windows 2000 where I used to run Windows NT 
?

Thanks for your help
Raphael


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to