dcsimg
How is it possible to know whether there is an instance...
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Premanand_C
Posted On:   Thursday, March 1, 2001 10:09 AM

How is it possible to know whether there is an instance of the RMI registry already running at a specific port.

For example,

java.rmi.Registry registry = LocateRegistry.getRegistry(port);

returns an instance of the registry even if there is no instance running at the specified port instead of null. And when one attempts to access such an instance it results in problems.

A clarification will be of help.
Thanks.

About | Sitemap | Contact