From e2447ca29d7539529ef05a40a26abc2f7ae35d8c Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Wed, 04 Jul 2007 15:12:04 +0000
Subject: [PATCH] The problem was that the publisher thread is stuck waiting for the window to re-open on a connection that has been closed without notifying the publisher.

---
 opendj-sdk/opends/src/server/org/opends/server/messages/ReplicationMessages.java |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/messages/ReplicationMessages.java b/opendj-sdk/opends/src/server/org/opends/server/messages/ReplicationMessages.java
index 938c941..72f4ad0 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/messages/ReplicationMessages.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/messages/ReplicationMessages.java
@@ -444,6 +444,12 @@
 
 
   /**
+   * The connection to the curent Replication Server has failed.
+   */
+  public static final int MSGID_DISCONNECTED_FROM_CHANGELOG =
+    CATEGORY_MASK_SYNC | SEVERITY_MASK_NOTICE | 63;
+
+  /**
    * Register the messages from this class in the core server.
    *
    */
@@ -607,6 +613,9 @@
         "The Replication is configured for suffix  %s "
         + "but was not able to connect to any Replication Server");
     registerMessage(MSGID_NOW_FOUND_CHANGELOG,
-        "A Replication Server was found for suffix %s");
+        "Replication Server %s now used for Replication Domain %s");
+    registerMessage(MSGID_DISCONNECTED_FROM_CHANGELOG,
+        "The connection to Replication Server %s has been dropped by the "
+        + "Replication Server");
   }
 }

--
Gitblit v1.10.0