From 686bc4c5872eab592839d8647ae95c61c3ae2cc7 Mon Sep 17 00:00:00 2001
From: jcambon <jcambon@localhost>
Date: Thu, 02 Apr 2009 16:11:20 +0000
Subject: [PATCH] Fix for issue #3748 : Some admin tools don't use 4444 as default admin port
---
opends/src/server/org/opends/server/tools/StopDS.java | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/opends/src/server/org/opends/server/tools/StopDS.java b/opends/src/server/org/opends/server/tools/StopDS.java
index a4d61e2..863e1a8 100644
--- a/opends/src/server/org/opends/server/tools/StopDS.java
+++ b/opends/src/server/org/opends/server/tools/StopDS.java
@@ -22,7 +22,7 @@
* CDDL HEADER END
*
*
- * Copyright 2006-2008 Sun Microsystems, Inc.
+ * Copyright 2006-2009 Sun Microsystems, Inc.
*/
package org.opends.server.tools;
import org.opends.messages.Message;
@@ -41,6 +41,7 @@
import java.util.concurrent.atomic.AtomicInteger;
import javax.net.ssl.SSLException;
+import org.opends.server.admin.AdministrationConnector;
import org.opends.server.controls.ProxiedAuthV2Control;
import org.opends.server.core.DirectoryServer;
import org.opends.server.core.LockFileManager;
@@ -255,7 +256,9 @@
port = new IntegerArgument(
"port", OPTION_SHORT_PORT,
OPTION_LONG_PORT, false, false, true,
- INFO_PORT_PLACEHOLDER.get(), 389, null, true, 1,
+ INFO_PORT_PLACEHOLDER.get(),
+ AdministrationConnector.DEFAULT_ADMINISTRATION_CONNECTOR_PORT,
+ null, true, 1,
true, 65535, INFO_STOPDS_DESCRIPTION_PORT.get());
port.setPropertyName(OPTION_LONG_PORT);
argParser.addArgument(port);
--
Gitblit v1.10.0