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

kenneth_suter
20.39.2007 5985bc96f0803380eef128d4febd00080314e985
the addition of the new DS environment config means that client tools need to speicfy the server root for DirectoryServer operations (issue 2121)
1 files modified
6 ■■■■■ changed files
opends/src/quicksetup/org/opends/quicksetup/util/InProcessServerController.java 6 ●●●●● patch | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/util/InProcessServerController.java
@@ -309,6 +309,12 @@
      // more than once since it leave the server corrupted.  Restart
      // is the correct choice in this case.
      if (!serverHasBeenStarted) {
        // Set the root of the directory server so that the server
        // code will be able to derive its filesystem paths etc.
        DirectoryServer.getEnvironmentConfig().setServerRoot(
                installation.getRootDirectory());
        DirectoryServer directoryServer = DirectoryServer.getInstance();
        // Bootstrap and start the Directory Server.