File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss and the fly likes javax.naming.NameNotFoundException Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » JBoss
Reply 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: 8141
    
  52

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

 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: javax.naming.NameNotFoundException
 
Similar Threads
javax.naming.NameNotFoundException: javax.transaction.UserTransaction not bound
Problem deploying sample HelloWorld Bean in JBoss 4.2.1 GA
Error: javax.naming.NameNotFoundException: SignOn not bound
Jboss rar JNDI lookup
Stuck In the Mud with First EJB