From f8372f9b8f798114d0b4fa896abeac187c074480 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Fri, 16 Nov 2007 16:41:24 +0000
Subject: [PATCH] Fix for issue 1618 unable to install to folder with DN syntax.
---
opends/src/quicksetup/org/opends/quicksetup/util/ServerController.java | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/util/ServerController.java b/opends/src/quicksetup/org/opends/quicksetup/util/ServerController.java
index f3d4c99..53e15f5 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/util/ServerController.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/util/ServerController.java
@@ -124,7 +124,8 @@
LOG.log(Level.INFO, "stopping server");
ArrayList<String> argList = new ArrayList<String>();
- argList.add(Utils.getPath(installation.getServerStopCommandFile()));
+ argList.add(Utils.getScriptPath(
+ Utils.getPath(installation.getServerStopCommandFile())));
String[] args = new String[argList.size()];
argList.toArray(args);
ProcessBuilder pb = new ProcessBuilder(args);
@@ -285,7 +286,8 @@
LOG.log(Level.INFO, "starting server");
ArrayList<String> argList = new ArrayList<String>();
- argList.add(Utils.getPath(installation.getServerStartCommandFile()));
+ argList.add(Utils.getScriptPath(
+ Utils.getPath(installation.getServerStartCommandFile())));
String[] args = new String[argList.size()];
argList.toArray(args);
ProcessBuilder pb = new ProcessBuilder(args);
@@ -298,7 +300,6 @@
// when it starts. Since we're just calling the start-ds script
// it will figure out the correct classpath for the server.
env.remove("CLASSPATH");
-
try
{
String startedId = getStartedId();
--
Gitblit v1.10.0