2 Replies Latest reply on Jun 3, 2005 1:20 AM by golubec

    ejb not bound

    golubec

      Hi , i've deployed my cmp ejb .The service JNDIView at JMX console shows me next :

      Ejb Module: configstore.jar
      java:comp namespace of the ConfigStore bean:

      +- HandleDelegate (class: org.jboss.proxy.ejb.handle.HandleDelegateImpl)
      +- ORB (class: org.jacorb.orb.ORB)
      +- env (class: org.jnp.interfaces.NamingContext)
      | +- ejb (class: org.jnp.interfaces.NamingContext)
      | | +- ConfigStore[link -> null] (class: javax.naming.LinkRef)

      and when i try to lookup through initialcontext to java:/comp/env/ejb/ConfigStore ... i get exception : ejb not bound ...

      what's wrong and how "bound" ejb ?

        • 1. Re: ejb not bound

          golubec;

          Try looking up

          java:comp/env/ejb/ConfigStore


          Also, you can only look this up from the ConfigStore ejb....

          //Nicholas

          • 2. Re: ejb not bound
            golubec

            thanks , but i have already solved this problem. At JNDIView in JBOSS i found that my ejb can be accessed one can say - globally , as "ConfigStore" . But this name come from deployment file : ejb-jar.xml. So i don't try to use "java:/comp/env" anymore because dont' see any sense.