Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem in tomcat 4.1.12

Status
Not open for further replies.

jackhu

Programmer
Oct 22, 2002
6
US
I installed tomcat 4.1.12. But when I try I always got an error like
this:
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

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
[javac] Compiling 1 source file

C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\index_jsp.java:266: handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext cannot be applied to (java.lang.Throwable)
if (pageContext != null) pageContext.handlePageException(t);
^
1 error



Please help me out. Thanks.
 
Try to see if you have a servlet.jar in your classpath different from the one in the tomcat 4.1.12.
I had same problem 'cause i have copied all lib dir of tomcat under jre/lib/ext of virtual machine!!!
I resolved deleting all packages from there :)

Bye
 
Good points! It is very helpful. Thanks.
 
Another question to Tomcat 4.1.12: I deploy and run successfully a web application. After restarting the server it's not available anymore(error message "the requested resource is not available")

The Tomcat Web Application Manager shows that my application exists but is not running. If I try to start it I get the following message "FAIL - Application at context path /Neu could not ". And it's really only this!

Any hint is more than welcome. Thanks,

Christa
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top