3 Replies Latest reply on Aug 12, 2002 5:56 PM by Mikael Eriksson

    JNDI question

    Ernst Newbie

      Can somebody help?

      I want to deploy a sample bean under a specific jndi name so that other J2EE components have access to it. Here are the relevant parts of my deployment descriptors:





      when I deploy this jar eveything seems fine except that i don't get any message that says that the bean is bind to the the jndi name SimpleDatabaseBroker. Further, when I use the JNDIView page I see that my bean is deployed under the default (i.e. the <ejb-name> element) DatabaseBrokerEJB and not SimpleDatabaseBroker. Is there something I don't understand or that I'm not doing? Do I need to configure jndi so that it accepts the names indicated in jboss.xml ?

      Thanks for any help.