GeeCON Prague 2014*
The moose likes BEA/Weblogic and the fly likes [EJB:011055] You must set a different JNDI name in the weblogic-ejb-jar.xml deployment descriptor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "[EJB:011055] You must set a different JNDI name in the weblogic-ejb-jar.xml deployment descriptor" Watch "[EJB:011055] You must set a different JNDI name in the weblogic-ejb-jar.xml deployment descriptor" New topic
Author

[EJB:011055] You must set a different JNDI name in the weblogic-ejb-jar.xml deployment descriptor

Nishka rao
Greenhorn

Joined: Mar 12, 2014
Posts: 1
Hi All,

I need an urgent solution to my issue with weblogic deployment.
I have one ear E1 deployed in my weblogic cluser C1 and it is using jar J1 which is using an EJb1 . Now i am going to deploy another Ear E2 with jar J2 which is using same ejb1 and same jndi name.
when i am trying to depoy second ear i am getting followinf error -

[wldeploy] [EJB:011055]Error deploying the EJB 'RBRMRuleServiceSessionEJB(Application: rbrm-trades-batch-14L1.1.2-14.1.0.6.1, EJBComponent: rbrm-rulesmgmt-14L1.1.2-14.1.0.6.jar)', the JNDI name 'com/jpmorgan/gcrm/rbrm/rulesmgmt/RBRMRuleServiceSessionEJB' is already in use. You must set a different JNDI name in the weblogic-ejb-jar.xml deployment descriptor or corresponding annotation for this EJB before it can be deployed.
[wldeploy] at weblogic.ejb.container.deployer.ClientDrivenBeanInfoImpl.prepare(ClientDrivenBeanInfoImpl.java:1051)
[wldeploy] at weblogic.ejb.container.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:1001)
[wldeploy] at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1275)
[wldeploy] at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:427)
[wldeploy] at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)


please help what could be the solution as i have to keep that ejb in both ear file.

German Gonzalez-Morris
Ranch Hand

Joined: Nov 16, 2009
Posts: 173

If you are deploying to a cluster then both ejb must have different jndi names.

It is correct the error you are facing.


http://devwebcl.blogspot.com/
 
GeeCON Prague 2014
 
subject: [EJB:011055] You must set a different JNDI name in the weblogic-ejb-jar.xml deployment descriptor