tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Sell <christian.s...@netcologne.de>
Subject load-on-startup error
Date Mon, 10 Jul 2000 13:54:39 GMT
hello,
when not specifying a value for the load-on-startup parameter as in:

<load-on-startup/>

Tomcat throws a NumberFormatException upon parsing the deploymant
descriptor. However, the Servlet Spec 2.2 says this in chapter 13 (note
the
*optional content* and *if no value is specified* parts):

<!--
The load-on-startup element indicates that this servlet should be loaded
on
the startup of the web application. The optional contents of these
element
must be a positive integer indicating the order in which the servlet
should
be loaded. Lower integers are loaded before higher integers. If no value
is
specified, or if the value specified is not a positive integer, the
container is free to load it at any time in the startup sequence.
-->

<!ELEMENT load-on-startup (#PCDATA)>

regards, Christian Sell



Mime
View raw message