2

I am receiving the following error. What does this mean and how to fix it?

       Unable to deploy EJB : xxxEJB from xx.JAR
    Error deployin gthe EJB 'xxxEJB, the JNDI name 'xxxEJB' is already in use. 
You must set a different JNDI name in weblogic-ejb-jar.xml deployment descriptor or corresponding annotation for this EJB before it can be deployed.

Thanks for the help.

Mike
  • 725
  • 2
  • 11
  • 21
  • 1
    Have you tried to remove cache from %BEA_HOME\user_projects\domains\yourdomain\servers\yourserver\tmp ? If you are using eclipse, try to clean project also. – iskramac Aug 23 '13 at 18:26
  • The error is clear. The JNDI name is made of EJB's mappedName + the name of its remote interface. "Weblogic-ejb-jar.xml" overwrites this (if you have any). Have you deployed this EJB in a jar file with a different name? – Amir Keibi Aug 31 '13 at 06:37
  • If you are using Weblogic + Eclipse, check the Published Modules under your Weblogic Server. Remove conflicting ear if there is one. – ceklock Sep 12 '16 at 13:40

0 Answers0