3 Replies Latest reply on Sep 11, 2003 11:14 AM by adrian.brock

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

    wkwolf

      I create a new *.jar file via jbuilder that can successfully deploye on weblogic 7.0. but don't do it in jboss.so i need help.
      thanks

        • 1. Re: How to deploy Ejb (including one stateless bean and MDB)
          darranl

          Which JBoss version?

          What is the error?

          Can you provide a stack trace of the error?

          Post your deployment descriptors.

          Have you read the free quick start guides available from the 'Buy JBoss doco' link to the right.

          • 2. Re: How to deploy Ejb (including one stateless bean and MDB)
            wkwolf

            jboss version is: 4.0.0

            error imformation :

            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>

            • 3. Re: How to deploy Ejb (including one stateless bean and MDB)

              And what do you see when you "see above for error messages"

              Regards,
              Adrian