Hi,
I wanted to access EJBContext from a utility method and tried to use JNDI
lookup :
| new InitialContext().lookup("java:comp/EJBContext")
|
This throws NameNotFoundException.
I get the same exception when I move the code to a @PostConstruct method inside
a Stateless bean.
Isn't this supposed to work (according to the PFD section 15.5) ?
I am using 4.0.3SP1 with EJB3 RC5.
Thanks,
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923894#3923894
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923894
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user