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

jvergara
28.35.2007 856bfa759bec64b3cfc710fa26b755855bcc61c8
opends/src/statuspanel/org/opends/statuspanel/StatusCli.java
@@ -37,6 +37,7 @@
import javax.swing.table.TableModel;
import org.opends.quicksetup.CurrentInstallStatus;
import org.opends.quicksetup.util.Utils;
import org.opends.server.core.DirectoryServer;
@@ -231,8 +232,7 @@
    }
    else
    {
      boolean isServerRunning =
        Utils.isServerRunning(Utils.getInstallPathFromClasspath());
      boolean isServerRunning = CurrentInstallStatus.isServerRunning();
      /* This is required to retrieve the ldap url to be used by the
       * ConfigFromLDAP class.
       */
@@ -355,7 +355,7 @@
    ServerStatusDescriptor desc = new ServerStatusDescriptor();
    desc.setAuthenticated((dn != null) && (pwd != null));
    if (Utils.isServerRunning(Utils.getInstallPathFromClasspath()))
    if (CurrentInstallStatus.isServerRunning())
    {
      desc.setStatus(ServerStatusDescriptor.ServerStatus.STARTED);
    }