0 Replies Latest reply on Sep 10, 2003 2:24 AM by wkwolf

    How to deploy Ejb (including one stateless bean and MDB) suc

    wkwolf Newbie

      while deploying, the following errors occur:

      16:12:41,250 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-4.0.0DR1_tomcat-4.1.2
      /server/default/deploy/MSCC.jar
      MBeanException: org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed,
      ee above for error messages.
      Cause: org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above
      for error messages.


      my ejb-jar.xml :
      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
      <ejb-jar>
      <enterprise-beans>

      <display-name>Enterprise1</display-name>
      <ejb-name>MCS</ejb-name>
      com.piosan.mmweb.MCSHome
      com.piosan.mmweb.MCS
      <ejb-class>com.piosan.mmweb.MCSBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Container</transaction-type>

      <message-driven>
      <display-name>MMC</display-name>
      <ejb-name>MMC</ejb-name>
      <ejb-class>com.piosan.mmweb.MMCBean</ejb-class>
      <transaction-type>Container</transaction-type>
      <message-driven-destination>
      <destination-type>javax.jms.Queue</destination-type>
      </message-driven-destination>
      </message-driven>
      </enterprise-beans>
      <assembly-descriptor>
      <container-transaction>

      <ejb-name>MCS</ejb-name>
      <method-name>*</method-name>

      <trans-attribute>Required</trans-attribute>
      </container-transaction>
      </assembly-descriptor>
      </ejb-jar>