Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2010-09-22 18:09:23 +0000
committerEike Stepper2010-09-22 18:09:23 +0000
commitc795a745218d950d8172b43ce0f6eba9c111c426 (patch)
tree55e6518900745158de05e50238898ba006c56be1
parent53d409b313b5c30a320fd655b09a9e83165a8ba8 (diff)
downloadcdo-c795a745218d950d8172b43ce0f6eba9c111c426.tar.gz
cdo-c795a745218d950d8172b43ce0f6eba9c111c426.tar.xz
cdo-c795a745218d950d8172b43ce0f6eba9c111c426.zip
[325928] Provide FailoverMonitor server and FailoverAgents to coordinate fail-over scenarios
https://bugs.eclipse.org/bugs/show_bug.cgi?id=325928
-rw-r--r--plugins/org.eclipse.emf.cdo.examples/src/org/eclipse/emf/cdo/examples/server/FailoverExample.java1
-rw-r--r--plugins/org.eclipse.emf.cdo.server.net4j/src/org/eclipse/emf/cdo/server/net4j/FailoverMonitor.java1
2 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.examples/src/org/eclipse/emf/cdo/examples/server/FailoverExample.java b/plugins/org.eclipse.emf.cdo.examples/src/org/eclipse/emf/cdo/examples/server/FailoverExample.java
index ae62aafa44..d6a4809c45 100644
--- a/plugins/org.eclipse.emf.cdo.examples/src/org/eclipse/emf/cdo/examples/server/FailoverExample.java
+++ b/plugins/org.eclipse.emf.cdo.examples/src/org/eclipse/emf/cdo/examples/server/FailoverExample.java
@@ -91,7 +91,6 @@ public abstract class FailoverExample
public static IManagedContainer createContainer()
{
IManagedContainer container = ContainerUtil.createContainer();
- ContainerUtil.prepareContainer(container); // Register general stuff
Net4jUtil.prepareContainer(container); // Register Net4j factories
TCPUtil.prepareContainer(container); // Register TCP factories
CDONet4jUtil.prepareContainer(container); // Register CDO client factories
diff --git a/plugins/org.eclipse.emf.cdo.server.net4j/src/org/eclipse/emf/cdo/server/net4j/FailoverMonitor.java b/plugins/org.eclipse.emf.cdo.server.net4j/src/org/eclipse/emf/cdo/server/net4j/FailoverMonitor.java
index c651c6d344..31f71debe7 100644
--- a/plugins/org.eclipse.emf.cdo.server.net4j/src/org/eclipse/emf/cdo/server/net4j/FailoverMonitor.java
+++ b/plugins/org.eclipse.emf.cdo.server.net4j/src/org/eclipse/emf/cdo/server/net4j/FailoverMonitor.java
@@ -353,6 +353,7 @@ public class FailoverMonitor extends Container<AgentProtocol>
protected void indicating(ExtendedDataInputStream in) throws Exception
{
String group = in.readString();
+ System.out.println("group: " + group);
failoverMonitor = failoverMonitorProvider.getFailoverMonitor(group);
if (failoverMonitor == null)
{

Back to the top