* This method will call a utility method instead of coding the logic here. TBD
*/
private boolean isServerRunning(String server) throws InstanceException {
try {
ServerRuntimeMBean serverMBean = InstanceProxy.getInstanceProxy(server);
Status status = serverMBean.getRuntimeStatus().getStatus();
if (status.getStatusCode() == Status.kInstanceRunningCode) {
return true;
}
} catch(Exception e) {
//return false; //FIXME: what else to do??
}