users@glassfish.java.net

Re: GF 3.0.1 Bug: JavaMail Rsource Injection fails but JNDI lookup works!

From: <glassfish_at_javadesktop.org>
Date: Fri, 08 Oct 2010 10:56:37 PDT

In which class are you doing the injection? The target class needs to be a Java EE managed component type to be able to take @Resource or other injections.
[Message sent by forum member 'cf126330']

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