0 Replies Latest reply on May 25, 2003 11:41 PM by tapratt

    Problem deploying Entity Bean

    tapratt

      Hi
      I am new to Jboss and I did the simple Jboss "HelloWorld" example and deployed the jar file on the server with out any problem. I also ran the client and had no problem. I am starting my project and ran into a problem deploying my entity bean on the server, it's just a simple BMP entity bean. The server out put said it deployed the package but that was it, it didn't say it deployed the bean and when I run the client the bean was not bound. Here's my ejb-jar file, and I know my bean is 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>
      <description>ApplicationExample</description>
      <display-name>ApplicationExample</display-name>
      <enterprise-beans>
      <entity>
      <description>Version 1</description>
      <display-name>Applicant</display-name>
      <ejb-name>Applicant</ejb-name>
      <home>ApplicantHome</home>
      <remote>Applicant</remote>
      <ejb-class>ApplicantBean</ejb-class>
      <persistence-type>Bean</persistence-type>
      <prim-key-class>java.lang.Integer</prim-key-class>
      <reentrant>False</reentrant>
      </entity>
      </enterprise-beans>
      <assembly-descriptor>
      <container-transaction>
      <method>
      <ejb-name>Applicant</ejb-name>
      <method-name>"*"</method-name>
      </method>
      <trans-attribute>Required</trans-attribute>
      </container-transaction>
      </assembly-descriptor>
      </ejb-jar>

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

      Thanks for any help, Todd