Bug 1297877 - [GSS](6.4.z) ServletContainerInitializers from jboss-deployment-structure.xml module dependencies are not invoked
Summary: [GSS](6.4.z) ServletContainerInitializers from jboss-deployment-structure.xml...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Web
Version: 6.4.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: CR1
: EAP 6.4.7
Assignee: Aaron Ogburn
QA Contact: Radim Hatlapatka
URL: https://github.com/jbossas/jboss-eap/...
Whiteboard:
Depends On:
Blocks: eap647-payload
TreeView+ depends on / blocked
 
Reported: 2016-01-12 16:57 UTC by Aaron Ogburn
Modified: 2019-12-16 05:16 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-17 11:57:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
WFLY5962test.zip (2.94 KB, application/zip)
2016-01-12 16:59 UTC, Aaron Ogburn
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBEAP-2744 0 Major Closed ServletContainerInitializers from jboss-deployment-structure.xml module dependencies are not invoked 2016-09-15 17:45:54 UTC
Red Hat Issue Tracker WFLY-5962 0 Major Resolved ServletContainerInitializers from jboss-deployment-structure.xml module dependencies are not invoked 2016-09-15 17:45:54 UTC
Red Hat Knowledge Base (Solution) 2116901 0 None None None 2016-01-28 20:35:58 UTC

Description Aaron Ogburn 2016-01-12 16:57:18 UTC
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:

Comment 1 Aaron Ogburn 2016-01-12 16:59:58 UTC
Created attachment 1114043 [details]
WFLY5962test.zip

Comment 2 Aaron Ogburn 2016-01-12 19:01:26 UTC
PR: https://github.com/jbossas/jboss-eap/pull/2682

Comment 3 JBoss JIRA Server 2016-01-31 03:49:22 UTC
Stuart Douglas <stuart.w.douglas> updated the status of jira JBEAP-2744 to Resolved

Comment 6 Dominik Pospisil 2016-02-22 09:29:36 UTC
Dev acking, PR ready, merged upstream.

Comment 7 Michael Cada 2016-03-01 14:24:54 UTC
Verified on EAP 6.4.7.CP.CR2

Comment 8 JBoss JIRA Server 2016-06-14 11:36:46 UTC
Jiri Pallich <jpallich> updated the status of jira JBEAP-2744 to Closed

Comment 9 Petr Penicka 2017-01-17 11:57:01 UTC
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.


Note You need to log in before you can comment on or make changes to this bug.