mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

boli
02.48.2007 061e0172510debb6cd8920caa717c29a10e1b233
opends/src/server/org/opends/server/core/BackendConfigManager.java
@@ -59,7 +59,7 @@
import org.opends.server.types.WritabilityMode;
import static org.opends.server.config.ConfigConstants.*;
import static org.opends.server.loggers.debug.DebugLogger.debugCought;
import static org.opends.server.loggers.debug.DebugLogger.debugCaught;
import static org.opends.server.loggers.debug.DebugLogger.debugEnabled;
import org.opends.server.types.DebugLogLevel;
import static org.opends.server.loggers.Error.*;
@@ -131,7 +131,7 @@
    {
      if (debugEnabled())
      {
        debugCought(DebugLogLevel.ERROR, e);
        debugCaught(DebugLogLevel.ERROR, e);
      }
      int    msgID   = MSGID_CONFIG_BACKEND_CANNOT_GET_CONFIG_BASE;
@@ -189,7 +189,7 @@
      {
        if (debugEnabled())
        {
          debugCought(DebugLogLevel.ERROR, e);
          debugCaught(DebugLogLevel.ERROR, e);
        }
        int msgID = MSGID_CONFIG_BACKEND_ERROR_INTERACTING_WITH_BACKEND_ENTRY;
@@ -238,7 +238,7 @@
      {
        if (debugEnabled())
        {
          debugCought(DebugLogLevel.ERROR, e);
          debugCaught(DebugLogLevel.ERROR, e);
        }
        msgID = MSGID_CONFIG_BACKEND_UNABLE_TO_DETERMINE_ENABLED_STATE;
@@ -290,7 +290,7 @@
      {
        if (debugEnabled())
        {
          debugCought(DebugLogLevel.ERROR, e);
          debugCaught(DebugLogLevel.ERROR, e);
        }
        msgID = MSGID_CONFIG_BACKEND_UNABLE_TO_DETERMINE_BACKEND_ID;
@@ -347,7 +347,7 @@
      {
        if (debugEnabled())
        {
          debugCought(DebugLogLevel.ERROR, e);
          debugCaught(DebugLogLevel.ERROR, e);
        }
        msgID = MSGID_CONFIG_BACKEND_UNABLE_TO_DETERMINE_WRITABILITY;
@@ -389,7 +389,7 @@
      {
        if (debugEnabled())
        {
          debugCought(DebugLogLevel.ERROR, e);
          debugCaught(DebugLogLevel.ERROR, e);
        }
        msgID = MSGID_CONFIG_BACKEND_UNABLE_TO_DETERMINE_BASE_DNS;
@@ -432,7 +432,7 @@
      {
        if (debugEnabled())
        {
          debugCought(DebugLogLevel.ERROR, e);
          debugCaught(DebugLogLevel.ERROR, e);
        }
        msgID = MSGID_CONFIG_BACKEND_CANNOT_GET_CLASS;
@@ -454,7 +454,7 @@
      {
        if (debugEnabled())
        {
          debugCought(DebugLogLevel.ERROR, e);
          debugCaught(DebugLogLevel.ERROR, e);
        }
        msgID = MSGID_CONFIG_BACKEND_CANNOT_INSTANTIATE;
@@ -502,7 +502,7 @@
      {
        if (debugEnabled())
        {
          debugCought(DebugLogLevel.ERROR, e);
          debugCaught(DebugLogLevel.ERROR, e);
        }
        msgID = MSGID_CONFIG_BACKEND_CANNOT_ACQUIRE_SHARED_LOCK;
@@ -524,7 +524,7 @@
      {
        if (debugEnabled())
        {
          debugCought(DebugLogLevel.ERROR, e);
          debugCaught(DebugLogLevel.ERROR, e);
        }
        msgID = MSGID_CONFIG_BACKEND_CANNOT_INITIALIZE;
@@ -552,7 +552,7 @@
        {
          if (debugEnabled())
          {
            debugCought(DebugLogLevel.ERROR, e2);
            debugCaught(DebugLogLevel.ERROR, e2);
          }
          msgID = MSGID_CONFIG_BACKEND_CANNOT_RELEASE_SHARED_LOCK;
@@ -584,7 +584,7 @@
      {
        if (debugEnabled())
        {
          debugCought(DebugLogLevel.ERROR, e);
          debugCaught(DebugLogLevel.ERROR, e);
        }
        msgID = MSGID_CONFIG_BACKEND_CANNOT_REGISTER_BACKEND;
@@ -641,7 +641,7 @@
    {
      if (debugEnabled())
      {
        debugCought(DebugLogLevel.ERROR, e);
        debugCaught(DebugLogLevel.ERROR, e);
      }
      int msgID = MSGID_CONFIG_BACKEND_ERROR_INTERACTING_WITH_BACKEND_ENTRY;
@@ -675,7 +675,7 @@
    {
      if (debugEnabled())
      {
        debugCought(DebugLogLevel.ERROR, e);
        debugCaught(DebugLogLevel.ERROR, e);
      }
      msgID = MSGID_CONFIG_BACKEND_UNABLE_TO_DETERMINE_ENABLED_STATE;
@@ -707,7 +707,7 @@
    {
      if (debugEnabled())
      {
        debugCought(DebugLogLevel.ERROR, e);
        debugCaught(DebugLogLevel.ERROR, e);
      }
      msgID = MSGID_CONFIG_BACKEND_UNABLE_TO_DETERMINE_BACKEND_ID;
@@ -744,7 +744,7 @@
    {
      if (debugEnabled())
      {
        debugCought(DebugLogLevel.ERROR, e);
        debugCaught(DebugLogLevel.ERROR, e);
      }
      msgID = MSGID_CONFIG_BACKEND_UNABLE_TO_DETERMINE_WRITABILITY;
@@ -809,7 +809,7 @@
          {
            if (debugEnabled())
            {
              debugCought(DebugLogLevel.ERROR, de);
              debugCaught(DebugLogLevel.ERROR, de);
            }
            unacceptableReason.append(de.getMessage());
@@ -827,7 +827,7 @@
          {
            if (debugEnabled())
            {
              debugCought(DebugLogLevel.ERROR, de);
              debugCaught(DebugLogLevel.ERROR, de);
            }
            unacceptableReason.append(de.getMessage());
@@ -840,7 +840,7 @@
    {
      if (debugEnabled())
      {
        debugCought(DebugLogLevel.ERROR, e);
        debugCaught(DebugLogLevel.ERROR, e);
      }
      msgID = MSGID_CONFIG_BACKEND_UNABLE_TO_DETERMINE_BASE_DNS;
@@ -879,7 +879,7 @@
    {
      if (debugEnabled())
      {
        debugCought(DebugLogLevel.ERROR, e);
        debugCaught(DebugLogLevel.ERROR, e);
      }
      msgID = MSGID_CONFIG_BACKEND_CANNOT_GET_CLASS;
@@ -904,7 +904,7 @@
    {
      if (debugEnabled())
      {
        debugCought(DebugLogLevel.ERROR, e);
        debugCaught(DebugLogLevel.ERROR, e);
      }
      msgID = MSGID_CONFIG_BACKEND_CANNOT_INSTANTIATE;
@@ -962,7 +962,7 @@
    {
      if (debugEnabled())
      {
        debugCought(DebugLogLevel.ERROR, e);
        debugCaught(DebugLogLevel.ERROR, e);
      }
      int msgID = MSGID_CONFIG_BACKEND_ERROR_INTERACTING_WITH_BACKEND_ENTRY;
@@ -1043,7 +1043,7 @@
          {
            if (debugEnabled())
            {
              debugCought(DebugLogLevel.ERROR, e2);
              debugCaught(DebugLogLevel.ERROR, e2);
            }
            msgID = MSGID_CONFIG_BACKEND_CANNOT_RELEASE_SHARED_LOCK;
@@ -1067,7 +1067,7 @@
    {
      if (debugEnabled())
      {
        debugCought(DebugLogLevel.ERROR, e);
        debugCaught(DebugLogLevel.ERROR, e);
      }
      msgID = MSGID_CONFIG_BACKEND_UNABLE_TO_DETERMINE_ENABLED_STATE;
@@ -1107,7 +1107,7 @@
    {
      if (debugEnabled())
      {
        debugCought(DebugLogLevel.ERROR, e);
        debugCaught(DebugLogLevel.ERROR, e);
      }
      msgID = MSGID_CONFIG_BACKEND_UNABLE_TO_DETERMINE_BACKEND_ID;
@@ -1164,7 +1164,7 @@
    {
      if (debugEnabled())
      {
        debugCought(DebugLogLevel.ERROR, e);
        debugCaught(DebugLogLevel.ERROR, e);
      }
      msgID = MSGID_CONFIG_BACKEND_UNABLE_TO_DETERMINE_WRITABILITY;
@@ -1206,7 +1206,7 @@
    {
      if (debugEnabled())
      {
        debugCought(DebugLogLevel.ERROR, e);
        debugCaught(DebugLogLevel.ERROR, e);
      }
      msgID = MSGID_CONFIG_BACKEND_UNABLE_TO_DETERMINE_BASE_DNS;
@@ -1248,7 +1248,7 @@
    {
      if (debugEnabled())
      {
        debugCought(DebugLogLevel.ERROR, e);
        debugCaught(DebugLogLevel.ERROR, e);
      }
      msgID = MSGID_CONFIG_BACKEND_CANNOT_GET_CLASS;
@@ -1299,7 +1299,7 @@
        {
          if (debugEnabled())
          {
            debugCought(DebugLogLevel.ERROR, e);
            debugCaught(DebugLogLevel.ERROR, e);
          }
          msgID = MSGID_CONFIG_BACKEND_CANNOT_INSTANTIATE;
@@ -1367,7 +1367,7 @@
      {
        if (debugEnabled())
        {
          debugCought(DebugLogLevel.ERROR, e);
          debugCaught(DebugLogLevel.ERROR, e);
        }
        msgID = MSGID_CONFIG_BACKEND_CANNOT_ACQUIRE_SHARED_LOCK;
@@ -1393,7 +1393,7 @@
      {
        if (debugEnabled())
        {
          debugCought(DebugLogLevel.ERROR, e);
          debugCaught(DebugLogLevel.ERROR, e);
        }
        msgID = MSGID_CONFIG_BACKEND_CANNOT_INITIALIZE;
@@ -1420,7 +1420,7 @@
        {
          if (debugEnabled())
          {
            debugCought(DebugLogLevel.ERROR, e2);
            debugCaught(DebugLogLevel.ERROR, e2);
          }
          msgID = MSGID_CONFIG_BACKEND_CANNOT_RELEASE_SHARED_LOCK;
@@ -1453,7 +1453,7 @@
      {
        if (debugEnabled())
        {
          debugCought(DebugLogLevel.ERROR, e);
          debugCaught(DebugLogLevel.ERROR, e);
        }
        msgID = MSGID_CONFIG_BACKEND_CANNOT_REGISTER_BACKEND;
@@ -1528,7 +1528,7 @@
    {
      if (debugEnabled())
      {
        debugCought(DebugLogLevel.ERROR, e);
        debugCaught(DebugLogLevel.ERROR, e);
      }
      int msgID = MSGID_CONFIG_BACKEND_ERROR_INTERACTING_WITH_BACKEND_ENTRY;
@@ -1562,7 +1562,7 @@
    {
      if (debugEnabled())
      {
        debugCought(DebugLogLevel.ERROR, e);
        debugCaught(DebugLogLevel.ERROR, e);
      }
      msgID = MSGID_CONFIG_BACKEND_UNABLE_TO_DETERMINE_ENABLED_STATE;
@@ -1605,7 +1605,7 @@
    {
      if (debugEnabled())
      {
        debugCought(DebugLogLevel.ERROR, e);
        debugCaught(DebugLogLevel.ERROR, e);
      }
      msgID = MSGID_CONFIG_BACKEND_UNABLE_TO_DETERMINE_BACKEND_ID;
@@ -1642,7 +1642,7 @@
    {
      if (debugEnabled())
      {
        debugCought(DebugLogLevel.ERROR, e);
        debugCaught(DebugLogLevel.ERROR, e);
      }
      msgID = MSGID_CONFIG_BACKEND_UNABLE_TO_DETERMINE_WRITABILITY;
@@ -1679,7 +1679,7 @@
    {
      if (debugEnabled())
      {
        debugCought(DebugLogLevel.ERROR, e);
        debugCaught(DebugLogLevel.ERROR, e);
      }
      msgID = MSGID_CONFIG_BACKEND_UNABLE_TO_DETERMINE_BASE_DNS;
@@ -1718,7 +1718,7 @@
    {
      if (debugEnabled())
      {
        debugCought(DebugLogLevel.ERROR, e);
        debugCaught(DebugLogLevel.ERROR, e);
      }
      msgID = MSGID_CONFIG_BACKEND_CANNOT_GET_CLASS;
@@ -1738,7 +1738,7 @@
    {
      if (debugEnabled())
      {
        debugCought(DebugLogLevel.ERROR, e);
        debugCaught(DebugLogLevel.ERROR, e);
      }
      msgID = MSGID_CONFIG_BACKEND_CANNOT_INSTANTIATE;
@@ -1849,7 +1849,7 @@
    {
      if (debugEnabled())
      {
        debugCought(DebugLogLevel.ERROR, e);
        debugCaught(DebugLogLevel.ERROR, e);
      }
      int msgID = MSGID_CONFIG_BACKEND_ERROR_INTERACTING_WITH_BACKEND_ENTRY;
@@ -1901,7 +1901,7 @@
    {
      if (debugEnabled())
      {
        debugCought(DebugLogLevel.ERROR, e);
        debugCaught(DebugLogLevel.ERROR, e);
      }
      msgID = MSGID_CONFIG_BACKEND_UNABLE_TO_DETERMINE_ENABLED_STATE;
@@ -1952,7 +1952,7 @@
    {
      if (debugEnabled())
      {
        debugCought(DebugLogLevel.ERROR, e);
        debugCaught(DebugLogLevel.ERROR, e);
      }
      msgID = MSGID_CONFIG_BACKEND_UNABLE_TO_DETERMINE_BACKEND_ID;
@@ -2009,7 +2009,7 @@
    {
      if (debugEnabled())
      {
        debugCought(DebugLogLevel.ERROR, e);
        debugCaught(DebugLogLevel.ERROR, e);
      }
      msgID = MSGID_CONFIG_BACKEND_UNABLE_TO_DETERMINE_WRITABILITY;
@@ -2052,7 +2052,7 @@
    {
      if (debugEnabled())
      {
        debugCought(DebugLogLevel.ERROR, e);
        debugCaught(DebugLogLevel.ERROR, e);
      }
      msgID = MSGID_CONFIG_BACKEND_UNABLE_TO_DETERMINE_BASE_DNS;
@@ -2094,7 +2094,7 @@
    {
      if (debugEnabled())
      {
        debugCought(DebugLogLevel.ERROR, e);
        debugCaught(DebugLogLevel.ERROR, e);
      }
      msgID = MSGID_CONFIG_BACKEND_CANNOT_GET_CLASS;
@@ -2115,7 +2115,7 @@
    {
      if (debugEnabled())
      {
        debugCought(DebugLogLevel.ERROR, e);
        debugCaught(DebugLogLevel.ERROR, e);
      }
      msgID = MSGID_CONFIG_BACKEND_CANNOT_INSTANTIATE;
@@ -2159,7 +2159,7 @@
    {
      if (debugEnabled())
      {
        debugCought(DebugLogLevel.ERROR, e);
        debugCaught(DebugLogLevel.ERROR, e);
      }
      msgID = MSGID_CONFIG_BACKEND_CANNOT_ACQUIRE_SHARED_LOCK;
@@ -2186,7 +2186,7 @@
    {
      if (debugEnabled())
      {
        debugCought(DebugLogLevel.ERROR, e);
        debugCaught(DebugLogLevel.ERROR, e);
      }
      msgID = MSGID_CONFIG_BACKEND_CANNOT_INITIALIZE;
@@ -2213,7 +2213,7 @@
      {
        if (debugEnabled())
        {
          debugCought(DebugLogLevel.ERROR, e2);
          debugCaught(DebugLogLevel.ERROR, e2);
        }
        msgID = MSGID_CONFIG_BACKEND_CANNOT_RELEASE_SHARED_LOCK;
@@ -2246,7 +2246,7 @@
    {
      if (debugEnabled())
      {
        debugCought(DebugLogLevel.ERROR, e);
        debugCaught(DebugLogLevel.ERROR, e);
      }
      msgID = MSGID_CONFIG_BACKEND_CANNOT_REGISTER_BACKEND;
@@ -2358,7 +2358,7 @@
      {
        if (debugEnabled())
        {
          debugCought(DebugLogLevel.ERROR, e);
          debugCaught(DebugLogLevel.ERROR, e);
        }
      }