1
Weblogic 10.3에서 Weblogic 12c.c로 프로젝트를 이전 중입니다. 다음과 같이 다른 EJB (EJB 2.1)를 참조하는 MDB가 있습니다.<ejb-link> Weblogic 12c에서 고유 한 EJB를 제공하지 않음 - jndi 이름 충돌이 발생합니다.
<ejb-local-ref>
<ejb-ref-name>ejb/WorkerSBLocalHome</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local-home>test.WorkerSBLocalHome</local-home>
<local>test.WorkerSBLocal</local>
<ejb-link>WorkerEJB.jar#WorkerSB</ejb-link>
</ejb-local-ref>
예외 아래 얻기
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.
편집 : 웹 로직의 웹 로직 - EJB-jar.xml의 지역-JNDI 이름을 가지고 있으며 웹 로직 JNDI 트리에 등록지고