users@glassfish.java.net

Re: Sun GlassFish Enterprise Server v2.1 (9.1.1)- No object ...

From: <forums_at_java.net>
Date: Wed, 13 Jul 2011 11:10:45 -0500 (CDT)

In order to use "java:comp/env/ejb/omNotifierDao" for lookup, you will need
to define a ejb-ref with with @EJB injection , or xml element <ejb-ref>.

@EJB(name="ejb/omNotifierDao")

<ejb-ref>

<ejb-ref-name>ejb/omNotifierDao</ejb-ref-name>

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