Bug 41739 - The servlet with the value 0 in <load-on-startup> tag must be loaded at first.
Summary: The servlet with the value 0 in <load-on-startup> tag must be loaded at first.
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 5
Classification: Unclassified
Component: Catalina (show other bugs)
Version: 5.5.20
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-01 06:09 UTC by Suzuki Yuichiro
Modified: 2007-03-01 18:35 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Suzuki Yuichiro 2007-03-01 06:09:41 UTC
Servlet 2.4 specification says:
---
If the value is a positive integer or 0, the container must load
and initialize the servlet as the application is deployed. 
The container must guarantee that servlets marked with lower integers
are loaded before servlets marked with higher integers.
---
I think the servlet with value 0 in <load-on-startup> tag must be loaded at the 
first.

However, Tomcat loads the servlet at the last.
Comment 1 Mark Thomas 2007-03-01 18:35:55 UTC
Thanks for the report. This has been fixed in svn and will be included in the
next release.