Hide Forgot
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.
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.
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.
Fixed in CR3
released: https://access.redhat.com/jbossnetwork/restricted/softwareDetail.html?softwareId=47661&product=data.services.platform&version=6.2.0&downloadType=patches