jndi reference error in ejb3.0

Posted by Nila on Stack Overflow See other posts from Stack Overflow or by Nila
Published on 2010-06-09T07:10:59Z Indexed on 2010/06/09 7:12 UTC
Read the original article Hit count: 311

Filed under:
|
|

Hi!

I'm trying to implement a stateless session bean in ejb3 using glassfish server v2 and netbeans as the editor. I'm using jndi lookup for calling bean class. When I tried to deploy the war file where I'm calling the bean class through servlet, it is showing the following error:

This web app [C:\Documents and Settings\Test-war\build\web] has no ejb reference by the name of [TestingBean] deployed with moduleid = Test-war

I manually created glassfish deployment descriptor for ejb and edited sun-web xml file in war. How to solve this jndi reference problem. Where I'm missing?

Thanks in advance

© Stack Overflow or respective owner

Related posts about glassfish

Related posts about ejb3