Originally posted by Wickes Potgieter:
Is it possible to change the RMI Registry port number during runtime?
I tried many different approaches to this after searching the Sun
Java RMI forum on the topic. It appears that you cannot change the port once its open, you will have to shut down your server and restart after making the change. You can get past the ObjID problem, but the new registry does not work.
You could use Runtime.exec to start the registry, but that opens up a whole different can of worms.
I reread my project instructions and I can see no need to change the port, you either can create a registry on 1099 or you can get one. If you can't do either of those, then
you should "contact your network administrator".
I don't actually let my server do any configuration, and it has no GUI. the only configuration available is the database file name and the user can use the standalone client GUI to configure and
test this.