• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

 
Ranch Hand
Posts: 376
2
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you are deploying to a cluster then both ejb must have different jndi names.

It is correct the error you are facing.
reply
    Bookmark Topic Watch Topic
  • New Topic