Description of problem: The server can not start with correct if an application contains EJB2 stateless session beans and CMP entities is in deployment folder. This is similar if the application is deployed by management. If the server is started the application will start correctly. How reproducible: - use new EAP 6.4.6 (or 6.4.0) - start the server with "standalone.sh -c standalone-full.xml" - drop the application to standalone/deployments (or use CLI) -> application is deployed - stop the server - start the server -> start fail with: 20:09:05,927 INFO [org.jboss.as.jacorb] (MSC service thread 1-8) JBAS016328: CORBA Naming Service started 20:09:05,931 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014612: Operation ("deploy") failed - address: ([("deployment" => "EJB2examples-cmp-simple.jar")]) - failure description: { "JBAS014671: Failed services" => {"jboss.deployment.unit.\"EJB2examples-cmp-simple.jar\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"EJB2examples-cmp-simple.jar\".INSTALL: JBAS018733: Failed to process phase INSTALL of deployment \"EJB2examples-cmp-simple.jar\" Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011030: Could not configure component SimpleCMP1Entity Caused by: java.lang.RuntimeException: Unable to locate the transaction manager"}, "JBAS014771: Services with missing/unavailable dependencies" => [ "jboss.naming.context.java.comp.EJB2examples-cmp-simple.EJB2examples-cmp-simple.SimpleCMP1Entity.Validator is missing [jboss.naming.context.java.comp.EJB2examples-cmp-simple.EJB2examples-cmp-simple.SimpleCMP1Entity]", "jboss.naming.context.java.comp.EJB2examples-cmp-simple.EJB2examples-cmp-simple.SimpleCMPSession.ValidatorFactory is missing [jboss.naming.context.java.comp.EJB2examples-cmp-simple.EJB2examples-cmp-simple.SimpleCMPSession]", "jboss.naming.context.java.comp.EJB2examples-cmp-simple.EJB2examples-cmp-simple.SimpleCMP1Session.ValidatorFactory is missing [jboss.naming.context.java.comp.EJB2examples-cmp-simple.EJB2examples-cmp-simple.SimpleCMP1Session]", "jboss.deployment.unit.\"EJB2examples-cmp-simple.jar\".jdbc.store-manager.fk-barrier is missing [jboss.deployment.unit.\"EJB2examples-cmp-simple.jar\".component.SimpleCMPEntity.jdbc.store-manager.START, jboss.deployment.unit.\"EJB2examples-cmp-simple.jar\".component.SimpleCMP1Entity.jdbc.store-manager.START]", "jboss.naming.context.java.comp.EJB2examples-cmp-simple.EJB2examples-cmp-simple.SimpleCMP1Session.Validator is missing [jboss.naming.context.java.comp.EJB2examples-cmp-simple.EJB2examples-cmp-simple.SimpleCMP1Session]", "jboss.naming.context.java.comp.EJB2examples-cmp-simple.EJB2examples-cmp-simple.SimpleCMP1Entity.ValidatorFactory is missing [jboss.naming.context.java.comp.EJB2examples-cmp-simple.EJB2examples-cmp-simple.SimpleCMP1Entity]", "jboss.naming.context.java.comp.EJB2examples-cmp-simple.EJB2examples-cmp-simple.SimpleCMP1Session.HandleDelegate is missing [jboss.naming.context.java.comp.EJB2examples-cmp-simple.EJB2examples-cmp-simple.SimpleCMP1Session]", "jboss.naming.context.java.comp.EJB2examples-cmp-simple.EJB2examples-cmp-simple.SimpleCMPSession.Validator is missing [jboss.naming.context.java.comp.EJB2examples-cmp-simple.EJB2examples-cmp-simple.SimpleCMPSession]", "jboss.naming.context.java.comp.EJB2examples-cmp-simple.EJB2examples-cmp-simple.SimpleCMPEntity.ValidatorFactory is missing [jboss.naming.context.java.comp.EJB2examples-cmp-simple.EJB2examples-cmp-simple.SimpleCMPEntity]", "jboss.naming.context.java.comp.EJB2examples-cmp-simple.EJB2examples-cmp-simple.SimpleCMPEntity.HandleDelegate is missing [jboss.naming.context.java.comp.EJB2examples-cmp-simple.EJB2examples-cmp-simple.SimpleCMPEntity]", "jboss.naming.context.java.comp.EJB2examples-cmp-simple.EJB2examples-cmp-simple.SimpleCMPSession.HandleDelegate is missing [jboss.naming.context.java.comp.EJB2examples-cmp-simple.EJB2examples-cmp-simple.SimpleCMPSession]", "jboss.deployment.unit.\"EJB2examples-cmp-simple.jar\".jdbc.store-manager.start-barrier is missing [jboss.deployment.unit.\"EJB2examples-cmp-simple.jar\".component.SimpleCMP1Entity.jdbc.store-manager.RELATIONS, jboss.deployment.unit.\"EJB2examples-cmp-simple.jar\".component.SimpleCMPEntity.jdbc.store-manager.RELATIONS]", "jboss.naming.context.java.comp.EJB2examples-cmp-simple.EJB2examples-cmp-simple.SimpleCMPEntity.Validator is missing [jboss.naming.context.java.comp.EJB2examples-cmp-simple.EJB2examples-cmp-simple.SimpleCMPEntity]", "jboss.naming.context.java.comp.EJB2examples-cmp-simple.EJB2examples-cmp-simple.SimpleCMP1Session.ORB is missing [jboss.naming.context.java.comp.EJB2examples-cmp-simple.EJB2examples-cmp-simple.SimpleCMP1Session]", "jboss.naming.context.java.comp.EJB2examples-cmp-simple.EJB2examples-cmp-simple.SimpleCMP1Entity.ORB is missing [jboss.naming.context.java.comp.EJB2examples-cmp-simple.EJB2examples-cmp-simple.SimpleCMP1Entity]", "jboss.naming.context.java.comp.EJB2examples-cmp-simple.EJB2examples-cmp-simple.SimpleCMP1Entity.HandleDelegate is missing [jboss.naming.context.java.comp.EJB2examples-cmp-simple.EJB2examples-cmp-simple.SimpleCMP1Entity]", "jboss.naming.context.java.comp.EJB2examples-cmp-simple.EJB2examples-cmp-simple.SimpleCMPSession.ORB is missing [jboss.naming.context.java.comp.EJB2examples-cmp-simple.EJB2examples-cmp-simple.SimpleCMPSession]", "jboss.naming.context.java.comp.EJB2examples-cmp-simple.EJB2examples-cmp-simple.SimpleCMPEntity.ORB is missing [jboss.naming.context.java.comp.EJB2examples-cmp-simple.EJB2examples-cmp-simple.SimpleCMPEntity]", "jboss.deployment.unit.\"EJB2examples-cmp-simple.jar\".jdbc.store-manager.relations-barrier is missing [jboss.deployment.unit.\"EJB2examples-cmp-simple.jar\".component.SimpleCMP1Entity.jdbc.store-manager.INIT, jboss.deployment.unit.\"EJB2examples-cmp-simple.jar\".component.SimpleCMPEntity.jdbc.store-manager.INIT]" ] } Example app and Logfile with the successful deployment and the restart attached
Created attachment 1139721 [details] Example application Sources available here git+ssh://git.engineering.redhat.com/srv/git/users/wfink/ejb2.1.git/.git used project cmp/simple Same happen if deploy an ear cmp/filedMapper -> need to rename the datasource "ExampleDS"_>"cmpDS"
Created attachment 1139722 [details] Logfile with successful deployment and restart
Verified with EAP 6.4.13.CP.CR1
Released with EAP 6.4.13 on Feb 02 2017.