[ 
https://issues.apache.org/jira/browse/OPENEJB-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13402107#comment-13402107
 ] 

Marcel Urbanek commented on OPENEJB-1847:
-----------------------------------------

Sorry i copied the wrong log output:

DEBUG - bound ejb at name: 
openejb/Deployment/webshop-product-facade-deployment-3.0.4/ear-scoped-cdi-beans/GroupService/com.retail_sc.test.ejb.GroupServiceLocal,
 ref: org.apache.openejb.core.ivm.naming.BusinessLocalReference@1940be55

DEBUG - bound ejb at name: 
openejb/Deployment/Application_ID/ear-scoped-cdi-beans/GroupService/com.retail_sc.test.ejb.GroupServiceLocal,
 ref: org.apache.openejb.core.ivm.naming.BusinessLocalReference@4de17cff

Here the same bean is deployed two times, the only difference is the appId 
("webshop-product-facade-deployment-3.0.4" versus "Application_ID"). Note: the 
Bean GroupServiceLocal is in none of the both ears, instead it is deployed on 
the classpath (embedded/unpackaged).
                
> When deploying two ear files in openejb only the first one gets deployed 
> correctly
> ----------------------------------------------------------------------------------
>
>                 Key: OPENEJB-1847
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1847
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: deployment
>    Affects Versions: 4.0.0
>            Reporter: Marcel Urbanek
>         Attachments: TestEJB3EA.ear, aTestEJBAnnotaitionEA.ear
>
>
> I deployed two ear files in open ejb by copying them to the "apps" directory. 
> While each of the ear files is deployed correctly when deployed alone, when 
> deploying them together open ejb will correctly find the ejbs in the second 
> ear (log:"Auto-deploying ejb"), but it fails to register them in the jndi 
> (log:"INFO: Jndi(name=...) --> Ejb(deployment-id=...)" is missing).
> I can reproduce this behaviour with any two ear files, even the most trivial 
> ones.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to