If I programatically create an RMI Registry using LocateRegistry.createRegistry() and spawn child processes (not thread!) from the main process, the child processes are not able to bind objects into the Registry created by the main process. Why? It works only when I start the registry as a stand-alone process from a different window.
Created May 4, 2012
Sameer Tyagi The LocateRegistry.createRegistry() method takes a certain time to complete. Your child processes may have to introduce a delay in order to allow the registry to be created and installed by the main process.