-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
12.0.0.Beta1
-
None
The ServletContainerInitializer@onStartup is not invoked for deployment. See Steps to Reproduce.
Problematic part seems to be on this line in Undertow
//then run the SCI's ---> for (final ServletContainerInitializerInfo sci : deploymentInfo.getServletContainerInitializers()) { final InstanceHandle<? extends ServletContainerInitializer> instance = sci.getInstanceFactory().createInstance(); try { instance.getInstance().onStartup(sci.getHandlesTypes(), servletContext); } finally { instance.release(); } }
It looks like calling deploymentInfo.getServletContainerInitializers() does not include our deployment and simply ignores it.
- relates to
-
JBEAP-2744 ServletContainerInitializers from jboss-deployment-structure.xml module dependencies are not invoked
- Closed
-
WFLY-9375 META-INF/services are always accessible from dependencies
- Closed