| 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
|
|
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).
|
 |
 |
|
|
subject: @EJB annotation is not working in weblogic 10.3
|
|
|