This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes @EJB annotation is not working in weblogic 10.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » BEA/Weblogic
Reply Bookmark "@EJB annotation is not working in weblogic 10.3" Watch "@EJB annotation is not working in weblogic 10.3" New topic
Author

@EJB annotation is not working in weblogic 10.3

murali kankanala
Ranch Hand

Joined: Nov 15, 2004
Posts: 110
Hi Friends,

I have created a simple stateless session bean in EJB 3.0 by using annotations. The deployment is successful. Even i am able to do the lookup by using JNDI look up.
But the problem is when i use @EJB annotaion to lookup for the bean its giving NullPointerException ( not able to find the bean). My Session Bean and WebApp(client) are running in the same Weblogic server.

Any help to resolve this issue ?


Thanks,
Murali
murali kankanala
Ranch Hand

Joined: Nov 15, 2004
Posts: 110
Why no one is replying to my post. Is this not a Weblogic forum?
Mainak Goswami
Ranch Hand

Joined: May 21, 2006
Posts: 50

Hi Murali,

Unfortunately I am facing the same problem in Weblogic 11g version. Not very sure. Just in case you have resolved this issue kindly let me know.

------------------------------------
Mainak
idiotechie
------------------------------------
James Boswell
Ranch Hand

Joined: Nov 09, 2011
Posts: 657
    
    2

murali

I think it would helpful if you provided a little extra info here. Like, show the code which works (using JNDI) and the code which doesn't (using annotation).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: @EJB annotation is not working in weblogic 10.3
 
Similar Threads
how to call an ejb from ejb in Weblogic 7
EJB lookup and Jboss SEAM
iPlanet 4.1 Enterprise Edition SP9 unable to lookup EJB on Weblogic 5.1
Lookup EJB3 from web app in weblogic
EJB lookup and Jboss SEAM