tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <>
Subject Re: <load-on-startup> and Tomcat v4.0
Date Fri, 21 Sep 2001 17:59:59 GMT
"Craig R. McClanahan" wrote:

> As a general note, Tomcat 4 uses a validating XML parser when reading
> web.xml files, to help you ensure that your web apps will be portable to
> any container.  A consequence of this is that you must follow the element
> ordering requirements in the DTD *exactly*.  Tomcat 3.2 did not do a
> validating parse, so it accepted invalid web.xml files.

This is probably the problem - in the root web.xml load-on-startup was
last, and in the stuff supplied to me load-on-startup was first.

Having fixed this though a new problem has arisen:

I'm getting this in the logfile suddenly:

2001-09-21 12:27:21 StandardWrapper[:jsp]: Using Jasper classloader for
servlet jsp
2001-09-21 12:27:21 StandardWrapper[:jsp]: Marking servlet jsp as
2001-09-21 12:27:21 StandardContext[]: Servlet  threw load() exception
javax.servlet.ServletException: Class
org.apache.jasper.servlet.JspServlet is not a Servlet

2001-09-21 12:56:18 StandardWrapper[/thh:feersum]: Marking servlet
feersum as unavailable
2001-09-21 12:56:18 StandardContext[/thh]: Servlet /thh threw load()
javax.servlet.ServletException: Class
com.bitr8.feersumenjin.control.web.MainServlet is not a Servlet

I understood from the docs that Tomcat v4.0 was backwards compatible -
yet it complains that all of the servlets it's supposed to run are not
servlets - does this make sense to anyone? Is there something missing
that I should be configuring?

-----------------------------------------		"There's a moon
					over Bourbon Street
View raw message