From 5d6e9428fedead57a9c9438cebe58b485ff476d2 Mon Sep 17 00:00:00 2001 From: matthew_swift <matthew_swift@localhost> Date: Fri, 14 Sep 2007 10:22:17 +0000 Subject: [PATCH] Avoid managed object definition initialization dependency problems. Using features like inherited default values and aggregation properties it is quite straightforward to encounter initialization dependency problems. For example: the global configuration will contain an aggregation property which references the default password policy. This aggregation definition is defined using a managed object path which, when decoded, contains a reference to the root configuration and its "password-policy" relation. This is what happens during initialization of the root configuration: --- opends/src/messages/messages/admin.properties | 21 ++++++++++++++++++++- 1 files changed, 20 insertions(+), 1 deletions(-) diff --git a/opends/src/messages/messages/admin.properties b/opends/src/messages/messages/admin.properties index 3b03a62..c58a1f8 100644 --- a/opends/src/messages/messages/admin.properties +++ b/opends/src/messages/messages/admin.properties @@ -274,4 +274,23 @@ SEVERE_ERR_SERVER_REFINT_CANNOT_DISABLE_118=The %s in entry "%s" \ cannot be disabled because it is referenced by the "%s" property \ of the %s in entry "%s" - +FATAL_ERR_CANNOT_INITIALIZE_ADMIN_FRAMEWORK_119=The administration \ + framework could not be initialized due to the following exception: %s +SEVERE_ERR_CLASS_LOADER_CANNOT_READ_MANIFEST_FILE_120=An unexpected \ + error occurred while reading the manifest file: %s +SEVERE_ERR_CLASS_LOADER_CANNOT_LOAD_CLASS_121=An error occurred while \ + attempting to load class "%s": %s +SEVERE_ERR_CLASS_LOADER_CANNOT_FIND_GET_INSTANCE_METHOD_122=Unable to \ + to find the getInstance() method in the managed object definition \ + class "%s": %s +SEVERE_ERR_CLASS_LOADER_CANNOT_INVOKE_GET_INSTANCE_METHOD_123=Unable to \ + to invoke the getInstance() method in the managed object definition \ + class "%s": %s +SEVERE_ERR_CLASS_LOADER_CANNOT_INITIALIZE_DEFN_124=Unable initialize the \ + "%s" managed object definition in class "%s": %s +SEVERE_ERR_CLASS_LOADER_CANNOT_LOAD_EXTENSION_125=The extension "%s" \ + with manifest file %s cannot be loaded because an unexpected error \ + occurred while trying to initialize it: %s +FATAL_ERR_CLASS_LOADER_CANNOT_LOAD_CORE_126=The core administration \ + classes could not be loaded from manifest file %s because an unexpected \ + error occurred: %s -- Gitblit v1.10.0