• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can't show my name/remote object bindings  RSS feed

Karl Fu
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using the LocateRegistry to create registry in the server and get registry reference in my client app. (I did not use web server for my testing)
My rmi works fine when files are placed in a Client folder and Server folder. They are also working when I add a download folder using the dynamic class loading.
But when i try to show my current binding of my registry. Nothing is shown and as if there is no binding at all.
<<using local host and default port>>
Registry reg = LocateRegistry.createRegistry() ;
reg.rebind("RemoteDbObj", remoteObj);
String [] = reg.list();
print String[]............
Registry reg = LocateRegistry.getRegistry();
print String []............
In both server and client...no binding is shown..
Can anyone explain me why ?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!