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
TestNG test 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 ?