1 Reply Latest reply on Jun 5, 2008 10:56 AM by peterj

    NameNotFoundException

      Dear All ,
      I am very new to EJB 3.0. And trying to call a remote statefull sesssion bean. Will u please give me the sample code to lookup the bean. And necessary jars that i need to put in my client code classpath.




      I have tried all the things to look up the bean that have been posted on jboss forum . Always i am getting the exception as a "Name Not Found Exception ".

      Even InitialContext ic ;
      ic.list(ejb);

      is giving the same exception. By using the above method i am trying to get the JNDI names bound in JNDI tree.



      Please help me. I am using Jboss 4.2.0GA.

      Thanks in advance.