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

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

It seems that even ejbs I have on the classpath get deployed twice:

INFO - 
Jndi(name=global/Application_ID/ear-scoped-cdi-beans/GroupService!com.retail_sc.test.ejb.GroupServiceLocal)
 --> Ejb(deployment-id=Application_ID/ear-scoped-cdi-beans/GroupService)

INFO - 
Jndi(name=webshop-product-facade-deployment-3.0.4/ear-scoped-cdi-beans/GroupServiceLocal)
 --> 
Ejb(deployment-id=webshop-product-facade-deployment-3.0.4/ear-scoped-cdi-beans/GroupService)

GroupService is in none of the both ears, it is deployed on the classpath 
(unpackaged) using the openejb embedded mechanism. I would assume this ejb 
should be deployed under "classpath.ear".
                
> 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