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

kenneth_suter
30.31.2007 cfb5767d9216efaf0c1738b5ce1ae243630fd8f5
refs
author kenneth_suter <kenneth_suter@localhost>
Monday, April 30, 2007 23:31 +0200
committer kenneth_suter <kenneth_suter@localhost>
Monday, April 30, 2007 23:31 +0200
commitcfb5767d9216efaf0c1738b5ce1ae243630fd8f5
tree e2bd725dafebe331e78e71a795b4c117edacb4d1 tree | zip | gz
parent ecd15ee2d0a13f7dfd14dc8ab1f7915a7f6c6a2d view | diff
This commit is mainly intended to prevent the sort of false positives that occur when the upgrader assumes the server has been upgraded properly but leaves the server in a corrupt state (see issues 1546 and 1559).  The following changes are introduced:

- An additional stipulation is put on successful completion of the upgrade process: early on in the process the server is started to see if it logs and severe messages upon startup. If there are any severe messages the upgrade tool won't run. Later when the upgraded server is being verified, the messages are checked again to see if there are any severe messages. If so the upgrade is aborted and any changes are backed out. The error message are returned from startServer methods in a new class OperationOutput.

- The upgrade tool no longer allows a reversion to an older version and now checks to make sure the current version is older than the proposed version by comparing the major, minor, point, and SVN revision numbers obtained by running start-ds -F and storing the values in a new class BuildInformation.

- The choose version screen now takes web proxy host and port from that standard system properties if they are set.
9 files modified
2 files added
588 ■■■■ changed files
opends/src/quicksetup/org/opends/quicksetup/ApplicationException.java 5 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/BuildInformation.java 205 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/Installation.java 83 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/resources/Resources.properties 5 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/upgrader/RemoteBuildManager.java 5 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/upgrader/UpgradeOracle.java 36 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/upgrader/Upgrader.java 119 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/upgrader/ui/UpgraderReviewPanel.java 3 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/upgrader/ui/WelcomePanel.java 2 ●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/util/OperationOutput.java 76 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/util/ServerController.java 49 ●●●●● diff | view | raw | blame | history