We have multiple RMI registries running in production on a single computer here at work. Naturally they all run in separate JVMs and they all listen at different ports. And yes, we can terminate any of them at any time by killing the JVM in which they are running.
(... posted for people who weren't already entirely clear on how RMI registries work.)
Joined: Apr 08, 2004
we can terminate any of them at any time by killing the JVM in which they are running.
So only way to stop/kill the RMI registry is exit/killing the JVM. We are running bunch of TestNGtest cases on the same JVM using same port. If i use different ports for different tests, i do not see any problem in the same JVM. Is there a way to stop the RMI registry programatically ?