I am trying to access a bean from a servlet, and I get a Naming Exception(Unable to resolve name), when I do an InitialContext.lookup() call. The same code works in a WebSphere environment, but throws an exception in the WebSphere Test Environment from VisualAge. I have the classpath correctly for the servlet engine. Does anyone know why and how to solve this?
- Posted by: Usha Iengar
- Posted on: February 08 2002 09:34 EST
Thanks in advance
call me at 1-888-305-0041 my extension :2250
I have testing tool for all EJBs with the exception of Jsp for now and we have a new release covering Jsp J2EE next week ...
If you want you can download the tool Jtest 4.1 at
and call me to get a key...
we will run the ejb together on line and see what we can do for you.
PS: Are you familiar w/ DBC( design by contract)?
You should start your naming server in WTE before starting your EJB servers.
so that EJB lookup names will be registered in the Naming Server.
(If you start the other way around, it may not work).