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.
| | |
| | | |
| | | 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"); |