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

el_kaboing
11.03.2006 559f171dc5652fa8569ce04073d75d93c7859748
opends/tests/integration-tests-testng/src/server/org/opends/server/OpenDSAdmin.java
@@ -27,17 +27,18 @@
package org.opends.server;
import java.io.*;
//import org.opends.server.core.OpenDS;
import org.opends.server.tools.StopDS;
public class OpenDSAdmin
       extends Thread
{
  private String dsee_home;
  private String port;
  public OpenDSAdmin(String in_dsee_home)
  public OpenDSAdmin(String in_dsee_home, String in_port)
  {
    dsee_home = in_dsee_home;
    port = in_port;
  }
  public void run()
@@ -62,7 +63,7 @@
  public void stopDS() throws Exception
  {
    String exec_cmd = dsee_home + "/bin/stop-ds.sh";
    String exec_cmd = dsee_home + "/bin/stop-ds.sh -p " + port;
    Runtime rtime = Runtime.getRuntime();
    Process child = rtime.exec(exec_cmd);
    child.waitFor();