Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Error while running Ejb client with netbeans  RSS feed

 
Meherdad Bomanbehram
Ranch Hand
Posts: 142
Java Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 325
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!