RE: naming context problem

2000-09-07 Thread Tim Drury
ch application. I've been thinking one application-centric and not multi- application centric with respect to the container. Thanks Nick! -tim > -Original Message- > From: Nick Newman [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 06, 2000 1:08 PM > To: Orion-I

Re: naming context problem

2000-09-06 Thread Nick Newman
The non-bean should "inherit" the naming context of the EJB session bean from which it was called. Are you sure that you have specified the appropriate for the TestDocument1 entity bean in the xml for that session bean? Nick At 12:50 PM 9/6/00 -0400, you wrote: > >I have a servlet that finds/c

naming context problem

2000-09-06 Thread Tim Drury
I have a servlet that finds/creates a session bean. The session bean instantiates a non-bean java object. That java object tries to find an EJB, but fails with the usual: javax.naming.NameNotFoundException: java:comp/env/ejb/TestDocument1 Why? Aren't the servlet, java object, and EJB all runnin