aspose file tools*
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 Spring in Action this week in the Spring 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: 10207
    
166

+- 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:

 
Consider Paul's rocket mass heater.
 
subject: javax.naming.NameNotFoundException