ShutdownEvent shutdownEvent = new ShutdownEvent(SERVER_INSTANCE, "true");
getLogger().log(Level.INFO,
"sending notification to server..." +
SERVER_INSTANCE);
AdminEventResult result = rmiClient.sendNotification(shutdownEvent);
getLogger().log(Level.INFO,
"server.shutdown_complete");
} catch(Exception e) {
getLogger().log(Level.SEVERE, "j2eerunner.initError", e);