[jboss-jira] [JBoss JIRA] Commented: (JBAS-5684) servlets are not properly loaded when load-at-startup is 0

Remy Maucherat (JIRA) jira-events at lists.jboss.org
Thu Jun 26 17:26:00 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBAS-5684?page=comments#action_12419126 ] 
            
Remy Maucherat commented on JBAS-5684:
--------------------------------------

Please discuss this in Tomcat's bugzilla.

> 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
>         Environment: JBossAS 5.0.0.Beta4 and the current svn head
> Java 1.5
> Linux
>            Reporter: Matt Wringe
>         Assigned To: Remy Maucherat
>         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