Bug 1386170 - Overriden EAP jars in DV patch 6.2.9 cause failed deployment of some WARs
Summary: Overriden EAP jars in DV patch 6.2.9 cause failed deployment of some WARs
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: Productization
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Alex Szczuczko
QA Contact: Andrej Smigala
URL:
Whiteboard:
Depends On:
Blocks: 1373943
TreeView+ depends on / blocked
 
Reported: 2016-10-18 10:40 UTC by Andrej Smigala
Modified: 2017-02-20 19:35 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-20 19:35:15 UTC
Type: Support Patch


Attachments (Terms of Use)

Description Andrej Smigala 2016-10-18 10:40:05 UTC
Description of problem:

When deploying a WAR with a bean annotated with @Startup and a @PostConstruct method, the deployment fails with the following error:

"failure-description" => {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"teiid3889-1.0.war\".component.Teiid3889Rollback.START" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"teiid3889-1.0.war\".component.Teiid3889Rollback.START: java.lang.NoSuchMethodError: org.jboss.as.ee.component.deployers.StartupCountdown.enter()Lorg/jboss/as/ee/component/deployers/StartupCountdown$Frame;
Caused by: java.lang.NoSuchMethodError: org.jboss.as.ee.component.deployers.StartupCountdown.enter()Lorg/jboss/as/ee/component/deployers/StartupCountdown$Frame;"}}


This appears to be due to the jboss-as-ee-7.5.9.Final-redhat-2-bz-1358913.jar being included in the patch under modules/system/layers/dv/.overlays/BZ-1373943_dv, which apparently overrides the file modules/system/layers/base/.overlays/BZ-1373943_base/org/jboss/as/ee/main/jboss-as-ee-7.5.10.Final-redhat-2.jar

Removing the module under BZ-1373943_dv resolves the issue.

Comment 2 Alex Szczuczko 2016-10-18 14:03:09 UTC
I made a couple mistakes in the assembly. There's some extra stuff required for removing the one-off that was needed in DV 6.2.7.

Comment 3 Alex Szczuczko 2016-10-18 15:39:26 UTC
Fixed by copying the following modules from EAP 6.4.10 into the DV layer (the patch system and JBoss Modules don't let me remove them from just the DV layer). This is a similar fix to what was used to "remove" the JGroups one-off (bug 1344753).

org/jboss/as/ee/main/
org/jboss/as/jpa/main/
org/jboss/as/weld/main/

The above modules were the ones changed by the bug 1358913 one-off.

Comment 4 Alex Szczuczko 2016-10-18 18:01:28 UTC
Fixed in CR3


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