[jboss-jira] [JBoss JIRA] (JBMETA-346) LoadOnStartup annotation of a servlet is ignored if servlet is mentioned in the web.xml even without a load-on-startup element

Carlo de Wolf (Assigned) (JIRA) jira-events at lists.jboss.org
Fri Dec 9 10:32:40 EST 2011


     [ https://issues.jboss.org/browse/JBMETA-346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carlo de Wolf reassigned JBMETA-346:
------------------------------------

    Assignee: Robert Panzer  (was: Carlo de Wolf)

    
> LoadOnStartup annotation of a servlet is ignored if servlet is mentioned in the web.xml even without a load-on-startup element
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBMETA-346
>                 URL: https://issues.jboss.org/browse/JBMETA-346
>             Project: JBoss Metadata
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: web
>         Environment: JBoss 7.1.0.CR1-SNAPSHOT, Win7 64Bit, JDK 1.6.0-29 64Bit
>            Reporter: Robert Panzer
>            Assignee: Robert Panzer
>
> I have a servlet that defines a loadOnStartup value using an annotation.
> Additionally I have a web.xml that mentions this servlet but does not contain a load-on-startup element and is not metadata-complete.
> Then the annotated value is ignored and the loadOnStartup value falls back to a "default" of 0 (instead of -1 being the predefined default).
> I already found the bug and will attach a pull request

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list