[jboss-jira] [JBoss JIRA] Created: (JBAS-7451) Empty `loadOnStartup' cause exception and breaks whole ear load
Sergey Chernov (JIRA)
jira-events at lists.jboss.org
Mon Nov 16 07:30:29 EST 2009
Empty `loadOnStartup' cause exception and breaks whole ear load
----------------------------------------------------------------
Key: JBAS-7451
URL: https://jira.jboss.org/jira/browse/JBAS-7451
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Web (Tomcat) service
Affects Versions: JBossAS-5.1.0.GA
Environment: windows xp 32bit
sun-jdk 1.6.18
Reporter: Sergey Chernov
Assignee: Remy Maucherat
Problem occurred while loading `war`.
If web.xml contains on of servlet section with `<load-on-startup></load-on-startup>` exception `IllegalArgumentException` is thrown.
Seems it is caused because of `load-on-startup` expects integer value, but got empty string.
Proposed solution: treat this empty tag as default value (zero). In case of invalid parameter - does the same, but warn user.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list