Originally posted by I Ritchie:
I thought I could start two instances of rmiregistry, on in each location, but it wont let me!
I am not sure what you are trying but in general, you can actually start two instance of RMIRegistry on different unused ports. But you can run only one rmiregistry per JVM (bcos rmiregistry uses a hard coded ObjID, whic is assigned to each remote object) and you will get a ExportException, this normally happens when you programatically start the registry using
LocateRegistry.createRegistry(port).