3 Replies Latest reply on Oct 16, 2002 12:27 PM by Mark Mescher

    DeploymentException:Bean ... not found within this applicati

    Mark Mescher Newbie

      Hi out there!
      I am new to Jboss and just testing EJBs. CMPs were no problem, I have already deployed some of them and used them with a simple command-line client. Now I wanted to use the Beans with a session Bean.
      My entity is called Ship. My definition of the session-bean in the ejb-jar.xml is the following:


      <ejb-name>Manager</ejb-name>
      realtor.ManagerHome
      realtor.Manager
      <ejb-class>realtor.ManagerBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Container</transaction-type>
      <ejb-ref>
      <ejb-ref-name>Ship</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      realtor.ShipRemoteHome
      realtor.ShipRemote
      <ejb-link>realtor.ShipBean</ejb-link>

      </ejb-ref>


      All Beans are in the same package. Now I get the following Error:
      DeploymentException:Bean ShipBean not found within this application
      I think the error occurs because of a wrong <ejb-link>-tag.
      Perhaps someone can help me to solve this problem?
      thx...
      Mark