tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <>
Subject <load-on-startup> and Tomcat v4.0
Date Fri, 21 Sep 2001 16:13:05 GMT
Hi all,

I have just been trying to get a servlet application transferred from
Tomcat v3.2 to v4.0. It's worked fine before with v3.2, but on starting
v4.0, I get an error like so:

org.xml.sax.SAXParseException: Element "servlet" does not allow
"load-on-startup" here.

Unfortunately the error message does state where "here" is, however I do
have it defined like so:


And a second similar container with

I have been trawling the docs to find out how the "load-on-startup" is
supposed to work, but can find no details (I set up servers, but I don't
program java :( )...

Can anyone shed some light?

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