This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Distributed Java and the fly likes java.rmi.NotBoundException Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Distributed Java
Reply Bookmark "java.rmi.NotBoundException" Watch "java.rmi.NotBoundException" New topic
Author

java.rmi.NotBoundException

supratim chaudhury
Greenhorn

Joined: Mar 27, 2006
Posts: 6
what are the reasons for this exception and hoe to remove it?
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

The reason for this exception - your program is using Naming.lookup("name"), and there is nothing bound in the rmi registry using that name.

How to fix it - 2 ways - if you are using the same name the server is actually using, then bind the server in the registry before looking it up If you are using a different name than the server is using (watch out for misspellings!) then use the same name


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.rmi.NotBoundException