Description of problem: If a module includes a ServletContainerInitializer, that ServletContainerInitializer is not invoked for any applications that include the module in its jboss-deployment-structure.xml module dependencies. It looks like the ServletContainerInitializerDeploymentProcessor only checks server provided dependencies. How reproducible: Always. Steps to Reproduce: 1. Add "com/redhat/testSCI" contents to $EAP_HOME/modules/system/layers/base 2. Deploy SCItest.war 3. This should produce a message like "Initializer invoked for ...", indicating the SCI is invoked. But it won't occur. Actual results: SCI is not invoked when included from a module. Expected results: SCI is invoked when included from a module. Additional info:
Created attachment 1114043 [details] WFLY5962test.zip
PR: https://github.com/jbossas/jboss-eap/pull/2682
Stuart Douglas <stuart.w.douglas> updated the status of jira JBEAP-2744 to Resolved
Dev acking, PR ready, merged upstream.
Verified on EAP 6.4.7.CP.CR2
Jiri Pallich <jpallich> updated the status of jira JBEAP-2744 to Closed
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.