File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes ejb injection in weblogic 11g fails Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "ejb injection in weblogic 11g fails" Watch "ejb injection in weblogic 11g fails" New topic
Author

ejb injection in weblogic 11g fails

Sarah Timberlake
Greenhorn

Joined: Apr 08, 2011
Posts: 8
Hi ,
My problem is more vendor dependent . I am trying to inject EJB (weblogic 11g ) onto JSF 2.0 managedbean using annotation. However, the deployment fails complaining ejb link not working . It works fine when tried with Glassfish v3 though. Somewhere in a blog , I read that including wls.jsf.di.jar will solve the problem of ejb injection in weblogic but it hasn't helped me so far.
Any direction would be appreciated.

Thanks
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 14456
    
    7

This was probably a question better asked in the WebLogic forum. Most purely JSF people won't have a clue.

JSF works in conjunction with EL. The default EL variable resolver, however, only knows how to resolve a limited set of objects. Primarily the JSF managed beans. So to add objects from outside the JSF universe to the set of objects that can be resolved, you have to chain in a resolver suitable for that external set of objects. For example, I'm using Spring for my persistence layer, so I added an Spring EL Resolver definition to faces-config.xml:


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: ejb injection in weblogic 11g fails
 
Similar Threads
JAXB 1.0 support in Weblogic 11g
EJB injection on JSF 2.0 fails
weblogic workshop generated .ear file working in weblogic8.1 needs to upgrade to weblogic11g. HELP
Jsp source not found
how to lookup local interfaces?