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

jvergara
28.35.2007 94146a7d114384a521d36077f4f97c8e07b524c1
refs
author jvergara <jvergara@localhost>
Wednesday, February 28, 2007 12:35 +0100
committer jvergara <jvergara@localhost>
Wednesday, February 28, 2007 12:35 +0100
commit94146a7d114384a521d36077f4f97c8e07b524c1
tree 631e42432b9b0962970b6bc931220067a8726048 tree | zip | gz
parent befe6ff3ae8ae162bddad5ab7092cead984197db view | diff
Fix for issue 1285.

The problem was caused because in the class InstallDS the check for the port was not performed when the user already provided the port through the command line (see first diffs in InstallDS).

The rest of the diffs consist of factorization of code to be shared between the quicksetup classes and the class org.opends.server.tools.InstallDS. Some methods from the Utils class of quicksetup have been moved to the SetupUtils class; these methods allow to know if a given port is priviledged or not, if we can use it to configure the server and to know in which Operating System the JVM is running. The operating system methods use the enumeration OperatingSystem (which has been slightly modified to not have dependencies on other classes and to be included in quicksetup.jar).

Extra: use the class LockFileManager to know if the server is running or not. The use of this class does not impact the Web Start Installer as we only want to know if the server is running or not once we have tried to start it (and so OpenDS.jar has already been loaded by the class loader).
11 files modified
391 ■■■■ changed files
opendj-sdk/opends/build.xml 4 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/CurrentInstallStatus.java 38 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/uninstaller/Uninstaller.java 4 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/Utils.java 135 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/InstallDS.java 71 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/types/OperatingSystem.java 15 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/SetupUtils.java 105 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/statuspanel/org/opends/statuspanel/ServerStatusPooler.java 3 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/statuspanel/org/opends/statuspanel/StatusCli.java 6 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/statuspanel/org/opends/statuspanel/StatusPanelController.java 7 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/statuspanel/org/opends/statuspanel/ui/LoginDialog.java 3 ●●●● diff | view | raw | blame | history