[jboss-jira] [JBoss JIRA] Resolved: (JBAS-5684) servlets are not properly loaded when load-at-startup is 0
Emanuel Muckenhuber (JIRA)
jira-events at lists.jboss.org
Tue Jul 8 12:41:27 EDT 2008
[ http://jira.jboss.com/jira/browse/JBAS-5684?page=all ]
Emanuel Muckenhuber resolved JBAS-5684.
---------------------------------------
Resolution: Done
> servlets are not properly loaded when load-at-startup is 0
> ----------------------------------------------------------
>
> Key: JBAS-5684
> URL: http://jira.jboss.com/jira/browse/JBAS-5684
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Web (Tomcat) service
> Affects Versions: JBossAS-5.0.0.Beta4, JBossAS-5.0.0.CR1
> Environment: JBossAS 5.0.0.Beta4 and the current svn head
> Java 1.5
> Linux
> Reporter: Matt Wringe
> Assigned To: Emanuel Muckenhuber
> Fix For: JBossAS-5.0.0.CR2
>
> Attachments: test-webapp.zip
>
>
> 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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list