This content has been marked as final.
Show 2 replies
-
1. Re: NameNotFoundException: ejb nt bound
danbar Mar 20, 2003 4:37 AM (in response to danbar)Here's attachment with entire app.
-
2. Re: NameNotFoundException: ejb nt bound
petertje Mar 21, 2003 6:44 AM (in response to danbar)> context.lookup("java:comp/env/ejb/NewsManagerEJB");
Lookup in the ENC (which is the naming context of the calling component, the servlet in your case), won't work because you didn't map any ejb-refs to the servlets ENC.
However, lookup using the global name (ejb/NewsManagerEJB in your case) should always work. Check the jmx-console - JNDIView to see if the bean is correctly bound to that name.
Hth
Peter.