• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NotBoundException in RMI (HELP!)

 
Ricardo Polero
Ranch Hand
Posts: 128
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 132
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Was the problem ever found?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic