Red Hat Bugzilla – Bug 1026813
[Doc Bug Fix] Describe implementation details of behaviour of servlet startup init method with exception
Last modified: 2016-02-15 06:47:55 EST
Documentation does not describe how server behaves in case of deployment of web application with servlet with init method loaded on startup which throws exception. The behaviour in such situation is not defined by servlet specification and is left up to implementation. In case od jboss the web application is successfully deployed but the servlet is unavailable. OTOH exception in ServletContextListener.contextInitialized causes deployment to fail.