jQuery in Action, 2nd edition*
The moose likes JBoss/WildFly and the fly likes javax.naming.NameNotFoundException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "javax.naming.NameNotFoundException" Watch "javax.naming.NameNotFoundException" New topic
Author

javax.naming.NameNotFoundException

Yogesh Mashalkar
Greenhorn

Joined: Sep 20, 2005
Posts: 25
Hi,

I am getting the NameNotFoundException.
In my case my local client code tries to lookup the EJB object on a remote JVM. I have checked the JBoss Global JNDI Namespace on the server and found that the requested EJB name "does" feature in the list. I fail to understand the reason for error now! Remote JVM invocations should not be a problem here, isn't it?

Anybody please help! Thanks

Below is exception in my eclipse console :



Below is the local client code :




Below is the Global JNDI Namespace list :

+- CustomerSessionBean (proxy: $Proxy190 implements interface com.eagle.gps.customer.ejb.sls.CustomerSessionHome,interface javax.ejb.Handle)
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9947
    
161

+- CustomerSessionBean (proxy: $Proxy190 implements interface com.eagle.gps.customer.ejb.sls.CustomerSessionHome,interface javax.ejb.Handle)

My guess is the CustomerSessionBean is the "child" of some parent jndi name. Something like EARName/CustomerSessionBean...

Can you post the entire Global JNDI tree namespace?


[My Blog] [JavaRanch Journal]
Yogesh Mashalkar
Greenhorn

Joined: Sep 20, 2005
Posts: 25
Below is the entire Global JNDI Namespace:

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: javax.naming.NameNotFoundException
 
Similar Threads
Problem deploying sample HelloWorld Bean in JBoss 4.2.1 GA
javax.naming.NameNotFoundException: javax.transaction.UserTransaction not bound
Error: javax.naming.NameNotFoundException: SignOn not bound
Stuck In the Mud with First EJB
Jboss rar JNDI lookup