users@glassfish.java.net

Re: Cannot lookup an EJB in JNDI from a servlet.

From: <glassfish_at_javadesktop.org>
Date: Tue, 22 May 2007 11:14:26 PDT

Here it is:

<web-app version="2.4"
                 xmlns="http://java.sun.com/xml/ns/j2ee"
                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                 xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
        <welcome-file-list>
                <welcome-file>log.jsp</welcome-file>
        </welcome-file-list>
</web-app>

Do you mean the problem is I didn't declared references to the EJB? If you do then I have two concerns:
1. Where is the requirement to declare a reference to an EJB specified?
2. Weblogic server allows me to access global JNDI namespace, to which I want to deploy the bean.

Thoughts?
Thanks, Vince!
[Message sent by forum member 'danissimo' (danissimo)]

http://forums.java.net/jive/thread.jspa?messageID=218393