Re: Tomcat - Internal Server Error 500
- From: "Raja" <rajak27@xxxxxxxxx>
- Date: 1 Oct 2006 19:29:43 -0700
Thanks for the clue. The root cause is NoClassDefFoundError (shown
below). I've set the JAVA_HOME correctly. Still I'm getting the same
internal error 500. Am I missing something else?
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:271)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546)
Thanks again,
- Raja.
William Brogden wrote:
On Sat, 30 Sep 2006 14:20:20 -0500, Raja <rajak27@xxxxxxxxx> wrote:
Hi,
I'm running Tomcat 4.0.1. I've a simple html page which executes a jsp
page upon pressing submit. I'm getting status 500 internal server
error, upon pressing submit. It shows the following exception:
javax.servlet.ServletException: sun/tools/javac/Main
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:484)
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)
Any ideas on what is causing this? Any help is greatly appreciated.
Thanks.
- Raja.
ServletException error reports usually contain a root cause Exception that
will appear further down the listing - thats the one you should be looking
at. Since it is the compiler throwing the exception, I am betting on a
error in the generated Java code - you may be able to find it under
the work directory.
Bill
.
- Follow-Ups:
- Re: Tomcat - Internal Server Error 500
- From: William Brogden
- Re: Tomcat - Internal Server Error 500
- From: Juha Laiho
- Re: Tomcat - Internal Server Error 500
- References:
- Tomcat - Internal Server Error 500
- From: Raja
- Re: Tomcat - Internal Server Error 500
- From: William Brogden
- Tomcat - Internal Server Error 500
- Prev by Date: Re: java ClassDef Not Found error
- Next by Date: Issue playing sound
- Previous by thread: Re: Tomcat - Internal Server Error 500
- Next by thread: Re: Tomcat - Internal Server Error 500
- Index(es):
Relevant Pages
|