private static void addDefaultCluster(final ConfigContext acc) throws ConfigException {
final Domain domain = ConfigAPIHelper.getDomainConfigBean(acc);
Clusters clusters = domain.getClusters();
Cluster cl = new Cluster();
cl.setName(DEFAULT_CLUSTER);
cl.setConfigRef(DEFAULT_CLUSTER_CONFIG);
cl.setHeartbeatEnabled(true);
cl.setHeartbeatPort(Integer.toString((new Long(Math.round(Math.random()*45556))).intValue()));
cl.setHeartbeatAddress("228.8.7.9");
ResourceRef rref = new ResourceRef();
rref.setEnabled(true);
rref.setRef("jdbc/__CallFlowPool");
ApplicationRef aref = new ApplicationRef();
aref.setEnabled(true);
aref.setDisableTimeoutInMinutes("30");
aref.setLbEnabled(false);
aref.setRef("SipContainerLifecycle");
cl.addResourceRef(rref);
cl.addApplicationRef(aref);
clusters.addCluster(cl);
}