Red Hat Bugzilla – Bug 1297877
[GSS](6.4.z) ServletContainerInitializers from jboss-deployment-structure.xml module dependencies are not invoked
Last modified: 2017-01-17 06:57:01 EST
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.
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.
SCI is not invoked when included from a module.
SCI is invoked when included from a module.
Created attachment 1114043 [details]
Stuart Douglas <firstname.lastname@example.org> 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 <email@example.com> updated the status of jira JBEAP-2744 to Closed
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.