| | |
| | | |
| | | import javax.swing.table.TableModel; |
| | | |
| | | import org.opends.quicksetup.CurrentInstallStatus; |
| | | import org.opends.quicksetup.util.Utils; |
| | | |
| | | import org.opends.server.core.DirectoryServer; |
| | |
| | | } |
| | | 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. |
| | | */ |
| | |
| | | ServerStatusDescriptor desc = new ServerStatusDescriptor(); |
| | | desc.setAuthenticated((dn != null) && (pwd != null)); |
| | | |
| | | if (Utils.isServerRunning(Utils.getInstallPathFromClasspath())) |
| | | if (CurrentInstallStatus.isServerRunning()) |
| | | { |
| | | desc.setStatus(ServerStatusDescriptor.ServerStatus.STARTED); |
| | | } |