Bug 1320709 - (6.4.z) A deployment jar with EJB2 SLSB and CMP Entities will not start correctly
Summary: (6.4.z) A deployment jar with EJB2 SLSB and CMP Entities will not start corre...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: EJB
Version: 6.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: CR1
: EAP 6.4.13
Assignee: jboss-set
QA Contact: Jan Martiska
Dominik Pospisil
URL:
Whiteboard:
Depends On:
Blocks: eap6413-payload
TreeView+ depends on / blocked
 
Reported: 2016-03-23 19:10 UTC by wfink
Modified: 2017-02-03 16:43 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-03 16:43:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Example application (28.80 KB, application/zip)
2016-03-23 19:13 UTC, wfink
no flags Details
Logfile with successful deployment and restart (52.04 KB, text/plain)
2016-03-23 19:14 UTC, wfink
no flags Details

Description wfink 2016-03-23 19:10:37 UTC
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

Comment 1 wfink 2016-03-23 19:13:26 UTC
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"

Comment 2 wfink 2016-03-23 19:14:12 UTC
Created attachment 1139722 [details]
Logfile with successful deployment and restart

Comment 11 Jiří Bílek 2017-01-09 14:26:28 UTC
Verified with EAP 6.4.13.CP.CR1

Comment 12 Petr Penicka 2017-02-03 16:43:46 UTC
Released with EAP 6.4.13 on Feb 02 2017.


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