2 Replies Latest reply on Mar 21, 2003 6:44 AM by Peter Doornbosch

    NameNotFoundException: ejb nt bound

    DanBar Newbie

      I've got simple application which contains 1 web module and 1 ejb module. This app doesn't contain any provider specific descriptors. Deploying seems to be OK, but after running default JSP page (news.jsp), following code:

      InitialContext context = new InitialContext();
      Object o = context.lookup("java:comp/env/ejb/NewsManagerEJB");

      causes exception (see: subject).
      I've tried different jndi names like:

      java:comp/env/ejb/NewsManagerEJB
      ejb/NewsManagerEJB
      NewsManagerEJB

      with no success.

      Any ideas ?

      BTW. I've deployed and run it earlier on Macromedia JRun4 successfully.