Ha, life is easy same answer again.... you see because the server allows you
to change JSP pages, they are only compiled when needed, by tomcat itself,
so if a jsp has an error, it only crashed when its first used.
So, to force a compile, right click on each JSP page and compile it, now if
there is an error, the IDE will take you to it.
Probably just left out a />
Also when you get it working dont leave those libs in common.... that can
cause very hard to fix problems.
----- Original Message -----
From: "alundgren" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Monday, June 18, 2007 8:27 PM
Subject: ! Tomcat 500 error NEED HELP!
I've installed apache-tomcat-6.0.10 and jdk1.5.0_12
I've set the ENV variables:
_RUNJAVA = %JAVA_HOME%\bin\java
_RUNJAVAC = %JAVA_HOME%\bin\javac
_RUNJAVAW = %JAVA_HOME%\bin\javaw
_RUNJDB = %JAVA_HOME%\bin\jdb
CATALINA_HOME = d:\apache-tomcat-6.0.10
CLASSPATH = d:\Servlets+JSP;d:\java\jdk1.5.0_12
JAVA_HOME = d:\java\jdk1.5.0_12
PATH = d:\java\jdk1.5.0_12\bin;d:\apache-tomcat-6.0.10\bin
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
--
View this message in context:
http://www.nabble.com/%21-Tomcat-500-error-NEED-HELP%21-tf3942006.html#a11181309
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]