EJB 3.0 XDoclet ejb-jar.xml生成失败

时间:2018-06-08 09:53:50

标签: migration weblogic ejb-3.0 ejb-2.x xdoclet

在将EJB 2.1项目迁移到EJB 3.0时,我完成了项目所需的所有操作,但是当我尝试构建它时,它无法生成ejb-jar.xml文件,该文件应该是xdoclet工具的佣人。

它在MessageDriven Bean上失败了,可能我没有在这个上做出正确的更改。

sudo

更改 EJB 3.0

之后
            /**
             * 
             * @ejb.bean name="GdmMDBSMBean" 
             *           description="Message Driven Bean Gestionnaire de traitement de notification"
             *           transaction-type="Container" 
             *           acknowledge-mode="Auto-acknowledge"
             *           destination-type="javax.jms.Queue"
             *           destination-jndi-name="Local.QCFPFI"
             * 
             * @weblogic.pool initial-beans-in-free-pool="1" 
             *                max-beans-in-free-pool="1"
             * 
             * @weblogic.message-driven connection-factory-jndi-name="Local.QCFPFI"
             *                          destination-jndi-name="Local.A1833.01.Receive"
             *                          jms-polling-interval-seconds="4"
             * 
             * @weblogic.enable-call-by-reference True
             * 
             * @weblogic.run-as-identity-principal True
             * 
             * @
             */
             public class GdmMDBSMBean {


             }

提前致谢

0 个答案:

没有答案