users@glassfish.java.net

Re: Resolving ambiguous dependencies with ejb-jar.xml (Glassfish v3)

From: <glassfish_at_javadesktop.org>
Date: Mon, 15 Mar 2010 09:11:25 PDT

This looks like a bug in the annotation override processing within the .war. Please file an issue for it. The easiest workaround is to just remove the @EJB annotation from the source file, since the ejb-jar.xml includes the injection information. Of course you can also just directly lookup any EJB reference in the same module using java:module/<ejb-name>. Thanks for reporting this.
[Message sent by forum member 'ksak' (kenneth.saks_at_sun.com)]

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