From 770b01af54bdb4f6683bfda4253033f021090baa Mon Sep 17 00:00:00 2001
From: sin <sin@localhost>
Date: Tue, 17 Jul 2007 20:42:40 +0000
Subject: [PATCH] Bug# 1953 Bug Desc: Handle RunRecoveryException thrown by Sleepycat with Administrative Alerts

---
 opends/src/server/org/opends/server/util/ServerConstants.java |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/util/ServerConstants.java b/opends/src/server/org/opends/server/util/ServerConstants.java
index 0db5653..4e97869 100644
--- a/opends/src/server/org/opends/server/util/ServerConstants.java
+++ b/opends/src/server/org/opends/server/util/ServerConstants.java
@@ -1590,6 +1590,28 @@
 
 
   /**
+   * The description for the alert type that will be used for the alert
+   * notification generated when the JE Environment needs to be reopened
+   * after a RunRecoveryException is thrown.
+   */
+  public static final String ALERT_DESCRIPTION_BACKEND_ENVIRONMENT_UNUSABLE =
+      "This alert type will be used to provide notification that the " +
+      "JE backend throws a RunRecoveryException and Directory Server " +
+          "needs to be restarted.";
+
+
+
+  /**
+   * The alert type string that will be used for the alert notification
+   * generated when the JE Environment needs to be reopened by restarting
+   * the Directory Server.
+   */
+  public static final String ALERT_TYPE_BACKEND_ENVIRONMENT_UNUSABLE =
+       "org.opends.server.BackendRunRecovery";
+
+
+
+  /**
    * The name of the default password storage scheme that will be used for new
    * passwords.
    */

--
Gitblit v1.10.0