!! need Tomcat help urgently! 500 errors.

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

[2561 byte] By [alundgrena] at [2007-11-27 8:01:09]
# 1

So? This has nothing to do with web services. You have an error in your JSP, or possibly changed something that causes the JSP compiler to try to run with a too-old version of the runtime libraries.

Track your changes since the last time it worked (you claim it did...) and you'll have the root of your problem.

jwentinga at 2007-7-12 19:43:13 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2

I'm using tomcat 5.5 or 6.0. All was nice and my apps works well.

Then i try to add JSF jar's to tomcat's common/lib directory.

And catch error - "package my.package does not exist"

deleting libs (jar) and reinstall tomcat didn't help.

What lib's i must use and where i can get them ?

KostaPCa at 2007-7-12 19:43:13 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...