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

jvergara
26.21.2009 41ea4d535a9e766fd6e36569caba9fb00002eaff
Fix for issue 3903 (upgrade using QuickSetup: "Start Server when the Upgrade has Completed" option doesn't work)

Only initialize the value of the startServer property in the user data when we are in CLI mode. The Web Start version of the upgrader already updates it properly.
1 files modified
8 ■■■■ changed files
opends/src/quicksetup/org/opends/quicksetup/upgrader/Upgrader.java 8 ●●●● patch | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/upgrader/Upgrader.java
@@ -813,8 +813,14 @@
      checkAbort();
      getUserData().setStartServer(
      if (!Utils.isWebStart())
      {
        // The command-line upgrade has not the option of leaving the server
        // started or stopped, so we must leave it as it was at the beginning of
        // the upgrade.
        getUserData().setStartServer(
          getInstallation().getStatus().isServerRunning());
      }
      try {
        LOG.log(Level.INFO, "initializing upgrade");