Bug 41739

Summary: The servlet with the value 0 in <load-on-startup> tag must be loaded at first.
Product: Tomcat 5 Reporter: Suzuki Yuichiro <suzuki.yuichiro>
Component: CatalinaAssignee: Tomcat Developers Mailing List <dev>
Severity: normal    
Priority: P3    
Version: 5.5.20   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   

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 

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.