From 5be072c20e46f0921bb00401ff26d0defb3e8991 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Tue, 05 Dec 2006 21:41:50 +0000
Subject: [PATCH] Update the base DN registration process to address a number of issues:

---
 opends/src/server/org/opends/server/messages/ConfigMessages.java |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/messages/ConfigMessages.java b/opends/src/server/org/opends/server/messages/ConfigMessages.java
index 237e237..744d98b 100644
--- a/opends/src/server/org/opends/server/messages/ConfigMessages.java
+++ b/opends/src/server/org/opends/server/messages/ConfigMessages.java
@@ -6153,6 +6153,17 @@
 
 
   /**
+   * The message ID for the message that will be used if an error occurs while
+   * attempting to register a backend with the Directory Server.  This takes two
+   * arguments, which are the backend ID and a string representation of the
+   * exception that was caught.
+   */
+  public static final int MSGID_CONFIG_BACKEND_CANNOT_REGISTER_BACKEND =
+       CATEGORY_MASK_CONFIG | SEVERITY_MASK_SEVERE_WARNING | 572;
+
+
+
+  /**
    * Associates a set of generic messages with the message IDs defined in this
    * class.
    */
@@ -7020,6 +7031,9 @@
                     "lock for backend %s:  %s.  This may interfere with " +
                     "operations that require exclusive access, including " +
                     "LDIF import and restoring a backup.");
+    registerMessage(MSGID_CONFIG_BACKEND_CANNOT_REGISTER_BACKEND,
+                    "An error occurred while attempting to register backend " +
+                    "%s with the Directory Server:  %s.");
     registerMessage(MSGID_CONFIG_BACKEND_CLASS_NOT_BACKEND,
                     "The class %s specified in configuration entry %s does " +
                     "not contain a valid Directory Server backend " +

--
Gitblit v1.10.0