• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with LocateRegistry.createRegistry(int port)

 
Sowjanya Raghu
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a problem with the LocateRegistry.createRegistry(int port) method.
The registry starts of fine with no problem with the first passed port number but later if I try to start the registry again with another port number, I get the exception
"Exception in LocateRegistry.createRegistry --internal error: ObjID already in use"
Is there a way to clear the ObjectID so that it can be used again ?
Thanks,
Rgds,
S
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!