6 Replies Latest reply on Feb 12, 2003 1:32 PM by kumar

    Interest Example --- Please Help

    kumar Newbie

      Hi All
      I have downloaded jboss-3.0.4_tomcat-4.1.12 and tried to run Interest example. I followed tutorial on jboss site.

      1. when i deploy the bean by calling "ant intro-interest-deploy" the interest.jar is copied to the deploy directory but there are no messages on the server console as the tutorial says that the bean is deployed.
      2. when i run the client I get a message saying
      interest-client:
      [java] Got context
      [java] javax.naming.NameNotFoundException: interest not bound
      3. I thought there might be some bug in the server and downloaded jboss-3.0.4, but i get the same behaviour.

      What could be going wrong.

      jboss.xml
      ---------
      <?xml version="1.0" encoding="UTF-8"?>

      <enterprise-beans>

      <ejb-name>Interest</ejb-name>
      <jndi-name>interest/Interest</jndi-name>

      </enterprise-beans>



      ejb-jar.xml
      -----------
      <?xml version="1.0" encoding="UTF-8"?>

      <ejb-jar>
      JBoss Interest Sample Application
      <display-name>Interest EJB</display-name>
      <enterprise-beans>

      <ejb-name>Interest</ejb-name>
      org.jboss.docs.interest.InterestHome
      org.jboss.docs.interest.Interest
      <ejb-class>org.jboss.docs.interest.InterestBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Bean</transaction-type>

      </enterprise-beans>
      </ejb-jar>


      Please respond