Summary: | ServletContainerInitializer will crash catalina if dependcy is not present. | ||
---|---|---|---|
Product: | Tomcat 7 | Reporter: | Kevin Rose <kevin> |
Component: | Catalina | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | P2 | ||
Version: | 7.0.27 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All |
Description
Kevin Rose
2012-05-20 14:32:34 UTC
Would you expect anything else to happen? I would like to see tomcat gracefully shutdown with an error message prudent to the reason instead of an ArrayStoreException. As it is possible for any library to contain a ServlerContainerInitializer if for any reason a need dependency in any library is missing this is possible to occur. Note the spec requires that the web application is permitted to start in this case. This has been fixed in trunk and 7.0.x and will be included in 7.0.28 onwards. |