File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes NotBoundException in RMI (HELP!) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "NotBoundException in RMI (HELP!)" Watch "NotBoundException in RMI (HELP!)" New topic
Author

NotBoundException in RMI (HELP!)

Ricardo Polero
Ranch Hand

Joined: May 18, 2001
Posts: 128
Dear Friends:
I have a trick problem here:
My server is running
....
LocateRegistry.createRegistry( PORT );
String urlString = "//" + HOST_NAME + ":" + Integer.toString( PORT ) + "/" + "FLY";
Naming.rebind( urlString, sf );
.....
But my client can't find it !
...
String urlString = "//" + HOST_NAME + ":" + Integer.toString( PORT ) + "/" + "FLY";
SessionFactory sf = (SessionFactory)Naming.lookup( urlString );
.....
Trowing a NotBoundException...
When debuging give FLY as a service name !!!
HOW CAN I FIX IT ? PLEASE HELP ME
Jason Hocker
Ranch Hand

Joined: Jul 23, 2003
Posts: 132
Was the problem ever found?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NotBoundException in RMI (HELP!)