• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
Bartenders:
  • salvin francis
  • Carey Brown
  • Frits Walraven

javax.naming.NameNotFoundException

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

+- 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?
 
Yogesh Mashalkar
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Below is the entire Global JNDI Namespace:

 
Hey, check out my mega multi devastator cannon. It's wicked. It makes this tiny ad look weak:
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic