3 Replies Latest reply on May 26, 2003 6:59 PM by Adrian Brock

    Problem deploying entity bean

    Todd Pratt Newbie

      Hi,

      I am new to jboss, and got the "HelloWorld" session bean deployed on the server and ran the client with no problems. I also got it to return results from a mysql db in the hello method. But now I am working on a project and ran into a problem deploying an entity bean to the server. The output said it deployed the package but no output to indicate that it deployed the bean. It is an BMP entity bean.

      Here's my ejb-jar file, and I know my bean's ok.

      *******************************************

      <?xml version="1.0"?>
      <!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>
      CCWApplication
      <display-name>CCWApplication</display-name>
      <enterprise-beans>

      Version 1
      <display-name>Applicant</display-name>
      <ejb-name>Applicant</ejb-name>
      ApplicantHome
      Applicant
      <ejb-class>ApplicantBean</ejb-class>
      <persistence-type>Bean</persistence-type>
      <prim-key-class>java.lang.Integer</prim-key-class>
      False

      </enterprise-beans>
      <assembly-descriptor>
      <container-transaction>

      <ejb-name>Applicant</ejb-name>
      <method-name>"*"</method-name>

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

      *******************************************

      Thanks for any help, Todd