1 Reply Latest reply on Nov 1, 2003 3:46 PM by Juha Lindfors

    NamingNotFoundException

    srikanth.d Newbie

      I am working on BMP.
      I write ejb-jar for jndiname like this.
      <ejb-name>disableNotification</ejb-name>
      <ejb-ref>
      <jndi-name>ejb/disableNotification</jndi-name>
      <local-jndi-name>ejb/disableNotificationLocal</local-jndi-name>
      </ejb-ref>


      My client program is like
      InitialContext jndiContext = new InitialContext();
      Object ref = jndiContext.lookup("ejb/disableNotification");


      when i runnig my Client program i got the error like this.
      javax.naming.NameNotFoundException: disableNotification not bound


      Please Help.i unable to overcome this.i tried a lot. i need this urjently.

      Regards,
      Sathish