1 Reply Latest reply on Jun 10, 2004 6:43 AM by Darran Lofthouse

    EntityBeans whith local interfaces. JNDI Problem

    Alexey Pismenskiy Newbie

      have two .jar files which contains EntityBeans whith local interfaces.
      In jboss.xml I use JNDI names, which corresponds to Bean names, for example:

      jboss.xml for first .jar file
      ===================
      ....

      <ejb-name>BeanA</ejb-name>
      <local-jndi-name>BeanA</local-jndi-name>

      ...
      ===================

      jboss.xml for second .jar file
      ===================
      ....

      <ejb-name>BeanB</ejb-name>
      <local-jndi-name>BeanB</local-jndi-name>

      ...
      ===================


      But after deployment I see in jmx-conslole the names of my beans like this:

      jndiName=BeanA,service=EJB
      jndiName=local/BeanB,service=EJB

      So, lookup for BeanB is failed.
      What is the reason? Something wrong with descriptors?