private void runRemoteStop() {
try {
// run the remote stop-domain command and throw away the output
// the calling code has already verified the server is running.
// CAREFUL -- intricate code!
RemoteCLICommand cmd = new RemoteCLICommand("_stop-instance", programOpts, env);
cmd.executeAndReturnOutput("_stop-instance", "--force", force.toString());
}
catch (CommandException e) {
// ReST may have thrown an Exception because the server died faster than the
// server could communicate back! The ReST client misinterprets it
// to mean the server is not reachable. This is a special case. And it