//create the health checker
clusterRefConfig.createHealthCheckerConfig(healthCheckerUrl,
healthCheckerInterval, healthCheckerTimeout);
}else{
//create the server-ref
ServerRefConfig serverRefConfig = lbConfig.createServerRefConfig(target,"30",true,true);
//create the health checker
serverRefConfig.createHealthCheckerConfig(healthCheckerUrl,
healthCheckerInterval, healthCheckerTimeout);
}
//lb-enable all the instances in the target
if (enableAllInstances)
setServerStatus(target, 0,true, true);