// Change -- do not throw an Exception if it is not "running"
boolean wasRunning = InstanceStatus.getInstance().updateStatusIfRunning(
instanceName, Status.kInstanceStoppingCode);
if (!wasRunning) {
StringManagerBase sm = StringManagerBase.getStringManager(
getLogger().getResourceBundleName());
String msg = sm.getString(
"nodeagent.couldNotStopInstance", instanceName,
InstanceStatus.getInstance().getStatus(
instanceName).getStatus().getStatusString());
getLogger().log(Level.WARNING, msg);
//throw new AgentException(msg);