This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 132

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.
 
Consider Paul's rocket mass heater.
 
subject: Error while running Ejb client with netbeans