I am having the same trouble as Marc-andre when trying to run the example
servlets as well as my own servlet.

The problem is occuring in Tomcat 4.0. I can run my servlet/app
succcessfully in Tomcat 3.2. When trying to run the example servlets, I get
"HTTP Status 503 - This application is not currently available".

Any ideas on what could be wrong?

Below are entries in the log, the first sequence is for my servlet and the
second is for a Tomcat servlet. There is a sequence like this for each
servlet it is trying to load.

2001-06-29 18:14:54 StandardHost[localhost]: Installing web application at
context path /LCCTool from URL
file:D:\LCCTool_Runtime\tomcat4.0-b5\webapps\LCCTool
2001-06-29 18:14:54 StandardManager[/LCCTool]: Seeding random number
generator class java.security.SecureRandom
2001-06-29 18:14:54 StandardManager[/LCCTool]: Seeding of random number
generator has been completed
2001-06-29 18:14:54 StandardWrapper[/LCCTool:default]: Loading container
servlet default
2001-06-29 18:14:54 default: init
2001-06-29 18:14:54 StandardWrapper[/LCCTool:invoker]: Loading container
servlet invoker
2001-06-29 18:14:54 invoker: init
2001-06-29 18:14:54 StandardWrapper[/LCCTool:jsp]: Using Jasper classloader
for servlet jsp
2001-06-29 18:14:55 StandardWrapper[/LCCTool:jsp]: Marking servlet jsp as
unavailable
2001-06-29 18:14:55 StandardContext[/LCCTool]: Servlet /LCCTool threw load()
exception
javax.servlet.ServletException: Class org.apache.jasper.servlet.JspServlet
is not a Servlet
....
----- Root Cause -----
java.lang.ClassCastException: org.apache.jasper.servlet.JspServlet
....

2001-06-29 18:14:57 StandardHost[localhost]: Installing web application at
context path /webdav from URL
file:D:\LCCTool_Runtime\tomcat4.0-b5\webapps\webdav
2001-06-29 18:14:57 StandardManager[/webdav]: Seeding random number
generator class java.security.SecureRandom
2001-06-29 18:14:57 StandardManager[/webdav]: Seeding of random number
generator has been completed
2001-06-29 18:14:57 StandardWrapper[/webdav:default]: Loading container
servlet default
2001-06-29 18:14:57 default: init
2001-06-29 18:14:57 StandardWrapper[/webdav:invoker]: Loading container
servlet invoker
2001-06-29 18:14:57 invoker: init
2001-06-29 18:14:57 StandardWrapper[/webdav:jsp]: Using Jasper classloader
for servlet jsp
2001-06-29 18:14:57 StandardWrapper[/webdav:jsp]: Marking servlet jsp as
unavailable
2001-06-29 18:14:57 StandardContext[/webdav]: Servlet /webdav threw load()
exception
javax.servlet.ServletException: Class org.apache.jasper.servlet.JspServlet
is not a Servlet
.....
----- Root Cause -----
java.lang.ClassCastException: org.apache.jasper.servlet.JspServlet
.....

Reply via email to