adds rmiRegistryHost and rmiServerHost