users@glassfish.java.net

Re: Disable glassfish JNDI names breaks inter-ear injection

From: <forums_at_java.net>
Date: Wed, 22 Jun 2011 07:47:20 -0500 (CDT)

Thanks for the info.

I hadn't specified any global jndi names, it seems Glassfish automatically
looks for the EJB in other EARs for you, but uses the old glassfish jndi
names.

So I'm guessing there is no global way to change the Glassfish behaviour, so
I will need to add these glassfish-ejb-jar.xml files to all our ejb-jars (not
a small task) or from research perhaps add the lookup property to the
@EJB annotation.

 


--
[Message sent by forum member 'geekydiamond']
View Post: http://forums.java.net/node/814679