users@glassfish.java.net

Re: lookup of env-entry from MDB

From: <glassfish_at_javadesktop.org>
Date: Mon, 14 Jul 2008 07:43:36 PDT

Hi Chris,

Are you sure the section of the ejb-jar.xml in which the env-entry is defined has the same ejb-name
as the MDB in which you are performing the lookup? Is your MDB component defined only using
ejb-jar.xml or with a combination of annotations/ejb-jar.xml? In the combination case, the two are
associated based on ejb-name. Using @MessageDriven, the name() field is used to specify the
ejb-name. If name() is empty, the default ejb-name is the *un*qualified bean class name.

AFAIK the admin tool doesn't show the contents of each private component namespace, only the
global JNDI namespace.
[Message sent by forum member 'ksak' (ksak)]

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