-
Bug
-
Resolution: Done
-
Major
-
JBossAS-5.0.0.Beta4, JBossAS-5.0.0.CR1
-
None
JBoss web does not properly load servlets when load-at-startup is set to 0.
For example the following in the web.xml file will not load the servlet at deployment (setting load-on-startup to something higher than 0 will result in it being properly loaded).
<servlet>
<servlet-name>TestServlet0</servlet-name>
<servlet-class>test.TestServlet0</servlet-class>
<load-on-startup>0</load-on-startup>
</servlet>
According to the 2.5 servlet spec, this should be the case
"If the value is a positive integer or 0, the container must load and initialize the servlet as the application is deployed"
(http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd)
- is blocked by
-
JBMETA-67 loadOnStartup in ServletMetaData is not properly merged
- Closed