2 Replies Latest reply on Jan 29, 2002 7:51 AM by darrin

    DeploymentException. bean Term not found in this application

    darrin Newbie

      Hi

      I know there are a number of posts already regarding this problem but I still cant solve the problem.

      I am getting a deploymentexception error when deploying a stateless session bean with a reference to an entity bean.

      The ejb-jar.xml file for the session bean is as follows...

      <?xml version="1.0"?>
      <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN' 'http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'>
      <ejb-jar>
      <enterprise-beans>


      <ejb-name>TermManager</ejb-name>
      com.masthesauri.termmanager.TermManagerHome
      com.masthesauri.termmanager.TermManager
      <ejb-class>com.masthesauri.termmanager.TermManagerEJB</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Container</transaction-type>
      <ejb-ref>
      <ejb-ref-name>ejb/Term</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      com.masthesauri.term.TermHome
      com.masthesauri.term.Term
      <ejb-link>Term</ejb-link>
      </ejb-ref>

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

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

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

      The beans are in separate jar files in the \deploy directory.
      I am using jboss 2.4.4 under win2000.
      I am as green as I am cabbage-looking so please dont blind me with science if possible.

      Thanks.