aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes EJB injection on JSF 2.0 fails Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB injection on JSF 2.0 fails" Watch "EJB injection on JSF 2.0 fails" New topic
Author

EJB injection on JSF 2.0 fails

Sarah Timberlake
Greenhorn

Joined: Apr 08, 2011
Posts: 8
Hi,
I am trying to inject EJB (weblogic 11g) onto jsf 2.0 managed beans. The deployment fails complaining -- "the ejb-ref does not have an ejb-link and the JNDI name of the target bean has not been specified. Attempts to automatically link the ejb-ref to its target bean failed because no EJBs in the application were found to implement the XXXXX interface. "
The same thing works with glassfish v3 though.
Somewhere in a blog, I read that including wls.jsf.di.jar in the library would fix the problem . However, it hasn't helped me so far.
Any direction would be appreciated.

Thanks
 
wood burning stoves
 
subject: EJB injection on JSF 2.0 fails