我正在从Weblogic 11g升级到12c,在部署过程中遇到以下错误:
我的web.xml文件如下:
BizAgi-ejb.jar是ear文件(BizAgi-ear-Weblogic.ear)内的一个模块。
请问如何正确部署我的应用程序?
Caused by: weblogic.application.naming.ReferenceResolutionException: [J2EE:160199]Error resolving ejb-ref "ejb/BizRuleFacade" from module "BizAgi-ejb.jar" of application "BizAgi-ear-Weblogic". The ejb-ref does not have an ejb-link and the JNDI name of the target bean has not been specified. Attempts to automatically link the ejb-ref to its target bean failed because multiple EJBs in the application were found to implement the "BizAgi.bpm.rules.entities.BizRuleFacade" interface, including BizAgi-war.war/BizRuleFacadeBean, BizAgi-ejb.jar/BizRuleFacadeBean. Specify a qualified ejb-link for this ejb-ref to indicate which EJB is the target of this ejb-ref.
我的web.xml文件如下:
<ejb-local-ref>
<ejb-ref-name>ejb/BAScopeLogFacade</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local>BizAgi.PAL.historylog.entities.BAScopeLogFacade</local>
<ejb-link>BizAgi-ejb.jar#BAScopeLogFacadeBean</ejb-link>
</ejb-local-ref>
BizAgi-ejb.jar是ear文件(BizAgi-ear-Weblogic.ear)内的一个模块。
请问如何正确部署我的应用程序?
<session>
标签吗?可能还有其他问题。这个链接也许会有帮助:http://www.coderanch.com/t/451012/EJB-JEE/java/EJB-Local-Lookup-working-Weblogic - Display Name is missing