From 17b52234b0e0033d5fe07870401242bd2699eebb Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Fri, 10 Apr 2009 22:56:07 +0000
Subject: [PATCH] Fix for issue 3925 (dsreplication is broken) Check that the ClassLoaderProvider is not enabled before enabling it.
---
opends/src/guitools/org/opends/guitools/uninstaller/Uninstaller.java | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/opends/src/guitools/org/opends/guitools/uninstaller/Uninstaller.java b/opends/src/guitools/org/opends/guitools/uninstaller/Uninstaller.java
index 3040d85..b51a813 100644
--- a/opends/src/guitools/org/opends/guitools/uninstaller/Uninstaller.java
+++ b/opends/src/guitools/org/opends/guitools/uninstaller/Uninstaller.java
@@ -125,7 +125,7 @@
super();
/* Do some initialization required to use the administration framework
- * classes. Note that this is not done in the installer code because
+ * classes. Note that this is not done in the uninstaller code because
* when the basic configuration of the server is performed (using
* ConfigureDS) this initialization is done.
*/
@@ -133,7 +133,10 @@
// Bootstrap definition classes.
try
{
- ClassLoaderProvider.getInstance().enable();
+ if (!ClassLoaderProvider.getInstance().isEnabled())
+ {
+ ClassLoaderProvider.getInstance().enable();
+ }
}
catch (Throwable t)
{
--
Gitblit v1.10.0