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.