if((serverMachines != null) &&(serverMachines.length > 0)) {
for (int i = 0; i < serverMachines.length; i++) {
OracleAgent oracleAgent = (OracleAgent) allAgents.get(serverMachines[i]);
try {
if(oracleAgent != null) {
oracleAgent.kill();
logger.fine("killed OracleAgent on " + serverMachines[i] );
}
else {
logger.severe("Unable to kill OracleAgent on " + serverMachines[i] + " OracleAgent is null");
}