3 Replies Latest reply on Apr 7, 2004 9:47 AM by Adrian Brock

    env not bound

    Adrian Wilford Newbie

      Hello!

      I'm launching an EJB from dispatcher, but at runtime I obtain a NamingException error:

      env not bound

      My source code is something like that:

      InitialContext ic = new InitialContext();
      Object objRef = ic.lookup ("java:comp/env/ejb/myEJB");

      Somebody knows how I can solve it? Why MBean can`t locate "env"?

      Thanks