Bug 1287732

Summary: [GSS] (6.4.z) If a module META-INF descriptor is overlayed the beans.xml need to be added to the overlay as well - otherwise no CDI injection
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: wfink
Component: CDI/WeldAssignee: jboss-set
Status: CLOSED CURRENTRELEASE QA Contact: Matej Novotny <manovotn>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4.4CC: ajustin, bbaranow, bmaxwell, cdewolf, clichybi, dosoudil, fgavrilo, jawilson, jharting, jtruhlar, lgao, maschmid, msochure, pmuir, sdouglas
Target Milestone: CR1   
Target Release: EAP 6.4.10   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-17 13:02:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1339868    

Description wfink 2015-12-02 14:39:36 UTC
Description of problem:
If an EAR file contains a module (here ejb.jar) with CDI-Beans the beans.xml is necessary to active the CDI processing.

If now overlay is used to add/change a descriptor the CDI injection fail.

Expected results:
The beans.xml should be used from the original deployment


Additional info:
A workaround is to add the beans.xml to the overlay as well

Comment 8 Mike McCune 2016-03-28 22:55:34 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 14 Lin Gao 2016-07-07 05:41:32 UTC
Another PR: https://github.com/jbossas/jboss-eap/pull/2757 includes the fix for this issue, and it is merged.

Changed status to MODIFIED.

Comment 17 Matej Novotny 2016-08-15 09:40:47 UTC
Verified with 6.4.10.CP.CR1 using the test cases provided along in the PR.

Comment 18 Petr Penicka 2017-01-17 13:02:01 UTC
Retroactively bulk-closing issues from released EAP 6.4 cummulative patches.

Comment 19 Petr Penicka 2017-01-17 13:02:53 UTC
Retroactively bulk-closing issues from released EAP 6.4 cummulative patches.