File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Error while running Ejb client with netbeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Error while running Ejb client with netbeans " Watch "Error while running Ejb client with netbeans " New topic
Author

Error while running Ejb client with netbeans

Meherdad Bomanbehram
Ranch Hand

Joined: May 28, 2007
Posts: 137

hi ,
I get this error while running the client (facedeclient.java) to a stateless bean (facedebean.java) can someone guide me as to what is going wrong .
I have attached the facadeclient.java file

I am using Netbeans 6.8 glassfish 3 and jdk 1.6.0_18

deepak adlakha
Ranch Hand

Joined: Jul 27, 2001
Posts: 325
From the following error :-

javax.naming.NamingException: Lookup failed for 'ejb/Facade' in

It looks like client is not able to look up EJB. Please recheck your JNDI name mapping once and see is everything is ok from that front or not.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Error while running Ejb client with netbeans