Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
e.g. NCServiceIT
cluster.addNCService(
new File(RESOURCE_DIR, "nc-red.conf"),
new File(LOG_DIR, "nc-red.log")
);
cluster.addNCService(
new File(RESOURCE_DIR, "nc-blue.conf"),
new File(LOG_DIR, "nc-blue.log")
);
try
{ Thread.sleep(2000); } catch (InterruptedException ignored) {
}
// Start CC
cluster.start(
new File(RESOURCE_DIR, "cc.conf"),
new File(LOG_DIR, "cc.log")
);
try
{ Thread.sleep(10000); } catch (InterruptedException ignored) {
}