Naming Exception in Servlet

Discussions

EJB programming & troubleshooting: Naming Exception in Servlet

  1. Naming Exception in Servlet (2 messages)

    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?
    Thanks in advance

    Threaded Messages (2)

  2. Naming Exception in Servlet[ Go to top ]

    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
    http://parasoft.com/psftp
    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)?
  3. Naming Exception in Servlet[ Go to top ]

    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).