2 Replies Latest reply on Mar 1, 2004 9:04 PM by rolf

    Deploy Message-Driven Bean To JBoss 3.2.2 Error

    dennischuang

      ejb-jar.xml
      <message-driven>
      <display-name>MyTestMDB</display-name>
      <ejb-name>MyTestMDB</ejb-name>
      <ejb-class>ejbtest2.MyTestMDBBean</ejb-class>
      <transaction-type>Container</transaction-type>
      <message-driven-destination>
      <destination-type>javax.jms.Queue</destination-type>
      </message-driven-destination>
      </message-driven>

      jboss.xml
      <message-driven>
      <ejb-name>MyTestMDB</ejb-name>
      <destination-jndi-name>queue/A</destination-jndi-name>
      </message-driven>


      Deploy MDB to JBoss 3.2.2 Error:
      org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile
      d, see above for error messages.
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:491)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy6.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
      tScanner.java:302)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:458)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      doScan(AbstractDeploymentScanner.java:201)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      loop(AbstractDeploymentScanner.java:212)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      run(AbstractDeploymentScanner.java:191)


      How to solve ?

      Thanks !!

        • 1. Re: Deploy Message-Driven Bean To JBoss 3.2.2 Error
          jonlee

          We need the earlier error messages that indicate what part of the verification failed. It could be anything, including incorrect encoding or incorrect DTD reference for the DOCTYPE.

          • 2. Re: Deploy Message-Driven Bean To JBoss 3.2.2 Error
            rolf

            I have got the same problem. Here is the rest of the error message


            02:27:36,884 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
            -3.2.3/server/default/deploy/EJBModuleXMessage.jar
            02:27:38,436 WARN [verifier] EJB spec violation:
            Bean : XMessage
            Method : public void ejbCreate() throws CreateException
            Section: 15.7.3
            Warning: The ejbCreate() method must define no application exceptions.


            Any help is very much appreciated

            Cheers
            Rolf