0 Replies Latest reply on Jun 30, 2005 6:53 AM by Ivan Vuckovic

    Cannot deploy simple session ejb

    Ivan Vuckovic Newbie

      Hi!

      I am having a problem deploying a simple session bean. I cannot see it in JNDI view and I see nothing in the output when I start up JBoss. Is there anything that I should see in an output of JBoss? I am using JUnit to test this EJB but I keep getting javax.naming.NameNotFoundException: ejb not found. I have used XDoclet to generate ejb stuff below. Unfortunately I don't have lot of experience with it.
      My Jboss.xml is as follows :


      <enterprise-beans>

      <!--
      To add beans that you have deployment descriptor info for, add
      a file to your XDoclet merge directory called jboss-beans.xml that contains
      the , and <message-driven></message-driven>
      markup for those beans.
      -->


      <ejb-name>Rate</ejb-name>
      <jndi-name>ejb/Rate</jndi-name>
      <local-jndi-name>RateLocal</local-jndi-name>



      </enterprise-beans>

      <resource-managers>
      </resource-managers>



      My ejb is as follows :
      <enterprise-beans>

      <!-- Session Beans -->

      <![CDATA[Description for Rate]]>
      <display-name>RateBean</display-name>

      <ejb-name>Rate</ejb-name>

      interfaces.RateHome
      interfaces.Rate
      <local-home>interfaces.RateLocalHome</local-home>
      interfaces.RateLocal
      <ejb-class>ejb.RateBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Container</transaction-type>