Cluster cluster = ClusterHelper.getClusterByName(configContext, clusterName);
ServerRef[] sRefs = cluster.getServerRef();
if (sRefs.length == 0)
continue;
String configRef = cluster.getConfigRef();
Config config = ConfigAPIHelper.getConfigByName(configContext, configRef);
com.sun.enterprise.config.serverbeans.GroupManagementService gmsConfig =
config.getGroupManagementService();
// Please note that these GMS property manipulations are a copy of manipulations in admin-ee
// GMSClientMBeanHelper.getGMSConfigProps() and appserv-core-ee GMSLifeCycleImpl.java and need to be kept in sync
props.put(ServiceProviderConfigurationKeys.FAILURE_DETECTION_RETRIES.toString(), gmsConfig.getFdProtocolMaxTries());
props.put(ServiceProviderConfigurationKeys.FAILURE_DETECTION_TIMEOUT.toString(), gmsConfig.getFdProtocolTimeoutInMillis());
props.put(ServiceProviderConfigurationKeys.DISCOVERY_TIMEOUT.toString(), gmsConfig.getPingProtocolTimeoutInMillis());