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

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

Thanks for having a look into this.

Ok in your log file everything is fine, all beans of both ears are registered 
at the jndi. Tomorrow I can add some of my log files (logfile for each ear 
seperate deployed and logfile for both ears together). But it seems that you 
are running tomee in standalone (trunk version) and we are just running openejb 
embedded (4.0.0). Isn't that a difference?

I do not completely understand what you mean by "maybe your ejb-jar.xml 
re-define the same bean than the annotation".Do you think I defined the ejb by 
adding an annotation AND adding it to the ejb-jar.xml at the same time?
Thanks again.
                
> 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