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.
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.