dcsimg
! Need help urgently - Tomcat 500 errors !
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Andrew_L
Posted On:   Monday, June 18, 2007 02:14 PM

I've installed apache-tomcat-6.0.10 and jdk1.5.0_12 I've set the ENV variables: _RUNJAVA = %JAVA_HOME% injava _RUNJAVAC = %JAVA_HOME% injavac _RUNJAVAW = %JAVA_HOME% injavaw _RUNJDB = %JAVA_HOME% injdb CATALINA_HOME = d:apache-tomcat-6.0.10 CLASSPATH = d:Servlets+JSP;d:javajdk1.5.0_12 JAVA_HOME = d:javajdk1.5.0_12 PATH = d:javajdk1.5.0_12 in;d:apache-tomcat-6.0.10 in The server starts fine, but even http://localhost/ returns a 500 error JSPs were running fine a few days ago but I must have changed something and in trying to fix it I've changed much more, so now I have no idea. I've put the JARS withing lib also within lib/common for both java and tomcat.   More>>
			
I've installed apache-tomcat-6.0.10 and jdk1.5.0_12

I've set the ENV variables:

_RUNJAVA = %JAVA_HOME% injava
_RUNJAVAC = %JAVA_HOME% injavac
_RUNJAVAW = %JAVA_HOME% injavaw
_RUNJDB = %JAVA_HOME% injdb
CATALINA_HOME = d:apache-tomcat-6.0.10
CLASSPATH = d:Servlets+JSP;d:javajdk1.5.0_12
JAVA_HOME = d:javajdk1.5.0_12
PATH = d:javajdk1.5.0_12 in;d:apache-tomcat-6.0.10 in

The server starts fine, but even http://localhost/ returns a 500 error

JSPs were running fine a few days ago but I must have changed something and in trying to fix it I've changed much more, so now I have no idea. I've put the JARS withing lib also within lib/common for both java and tomcat. Trying accuracy through volume, please someone help me!

Here is the error for localhost:

type Exception report

message

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

exception

javax.servlet.ServletException: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:274)
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

Here and error from a JPS page that used to run fine:

type Exception report

message

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

exception

org.apache.jasper.JasperException: Unable to compile class for JSP:


Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:308)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)


Please any ideas welcome, thanks!
-Andrew
   <<Less

Re: ! Need help urgently - Tomcat 500 errors !

Posted By:   shameer_antony  
Posted On:   Tuesday, June 26, 2007 03:32 AM

check wthr you are getting any error while starting tomcat, this may happend if you have something wrong in server.xml.

since it was running fine before, tht might be the cause
About | Sitemap | Contact