Bug 1287732 - [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
Summary: [GSS] (6.4.z) If a module META-INF descriptor is overlayed the beans.xml need...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: CDI/Weld
Version: 6.4.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: CR1
: EAP 6.4.10
Assignee: jboss-set
QA Contact: Matej Novotny
URL:
Whiteboard:
Depends On:
Blocks: eap6410-payload
TreeView+ depends on / blocked
 
Reported: 2015-12-02 14:39 UTC by wfink
Modified: 2019-09-12 09:26 UTC (History)
15 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-01-17 13:02:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1147352 0 medium CLOSED [GSS](6.4.z) Overlay does not work for subunits in exploded deployments. 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker WFCORE-761 0 None None None 2017-05-12 04:36:59 UTC
Red Hat Knowledge Base (Solution) 2112671 0 None None None 2016-08-17 14:50:53 UTC

Internal Links: 1147352

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.


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