From 7dcfe7d4a01dbd82eef99ecd47de97e07fc27b34 Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Tue, 29 May 2007 10:04:40 +0000
Subject: [PATCH] Fix for 1323 : Error message on startup with synchronization enabled
---
opendj-sdk/opends/src/server/org/opends/server/messages/ReplicationMessages.java | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 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 68bcf69..cd5fe07 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
@@ -381,6 +381,20 @@
public static final int MSGID_READER_EXCEPTION =
CATEGORY_MASK_SYNC | SEVERITY_MASK_NOTICE | 53;
+ /**
+ * A replication server received a null messsage from
+ * another server.
+ */
+ public static final int MSGID_DUPLICATE_SERVER_ID =
+ CATEGORY_MASK_SYNC | SEVERITY_MASK_SEVERE_ERROR | 54;
+
+ /**
+ * A server disconnected from the replication server.
+ * (this is an informational message)
+ */
+ public static final int MSGID_DUPLICATE_REPLICATION_SERVER_ID =
+ CATEGORY_MASK_SYNC | SEVERITY_MASK_SEVERE_ERROR | 55;
+
/**
@@ -520,6 +534,10 @@
"The provider class does not allow the operation requested");
registerMessage(MSGID_COULD_NOT_SOLVE_HOSTNAME,
"The hostname %s could not be resolved as an IP address");
+ registerMessage(MSGID_DUPLICATE_SERVER_ID,
+ "Servers %s and %s have the same ServerId : %d");
+ registerMessage(MSGID_DUPLICATE_REPLICATION_SERVER_ID,
+ "Replication Servers %s and %s have the same ServerId : %d");
registerMessage(MSGID_READER_NULL_MSG,
"Received a Null Msg from %s");
registerMessage(MSGID_READER_EXCEPTION,
--
Gitblit v1.10.0