This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
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 ?