From bd33c8d0ad24667483866e700965ae983fc80ba7 Mon Sep 17 00:00:00 2001
From: ludovicp <ludovicp@localhost>
Date: Fri, 25 Jun 2010 10:19:52 +0000
Subject: [PATCH] Fix issue 4524, updates to the Group cache are now handled by a post-op through internal API rather than the Change Listener API.

---
 opends/src/server/org/opends/server/core/DirectoryServer.java |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/opends/src/server/org/opends/server/core/DirectoryServer.java b/opends/src/server/org/opends/server/core/DirectoryServer.java
index a5a22c4..1cf51cf 100644
--- a/opends/src/server/org/opends/server/core/DirectoryServer.java
+++ b/opends/src/server/org/opends/server/core/DirectoryServer.java
@@ -2654,7 +2654,20 @@
   public void initializeGroupManager()
          throws ConfigException, InitializationException
   {
-    groupManager = new GroupManager();
+    try
+    {
+      groupManager = new GroupManager();
+    }
+    catch (DirectoryException de)
+    {
+      if (debugEnabled())
+      {
+        TRACER.debugCaught(DebugLogLevel.ERROR, de);
+      }
+
+      throw new InitializationException(de.getMessageObject());
+    }
+
     groupManager.initializeGroupImplementations();
 
     // The configuration backend has already been registered by this point

--
Gitblit v1.10.0