3 Replies Latest reply on Jul 9, 2002 12:42 PM by Dain Sundstrom

    jndi-name

    Tung Dang Novice

      Hi!

      I have the following problem:

      In the file jboss.xml I have map the bean name under the jndi-name. Here is the jboss.xml file:


      ...
      <enterprise-beans>

      <ejb-name>FunctionBean</ejb-name>
      <jndi-name>FunctionBean</jndi-name>
      <configuration-name></configuration-name>

      </enterprise-beans>
      ...


      and in the ejb-jar.xml

      <ejb-jar>
      ...

      <enterprise-beans>

      ...
      <ejb-name>FunctionBean</ejb-name>
      ...

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

      After the jboss server started, I got the other jndi-name from the server. In this case the jndi-name of my bean is local/FunctionBean.

      How can I solve the problem?

      Regards.