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

jvergara
28.35.2007 856bfa759bec64b3cfc710fa26b755855bcc61c8
refs
author jvergara <jvergara@localhost>
Wednesday, February 28, 2007 12:35 +0100
committer jvergara <jvergara@localhost>
Wednesday, February 28, 2007 12:35 +0100
commit856bfa759bec64b3cfc710fa26b755855bcc61c8
tree 1916df756aa06658bbdd189f8988563691eb0f38 tree | zip | gz
parent 32d0dedfac05fd18b2c94f18ce944577f085d83d 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
opends/build.xml 4 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/CurrentInstallStatus.java 38 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/uninstaller/Uninstaller.java 4 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/util/Utils.java 135 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/InstallDS.java 71 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/types/OperatingSystem.java 15 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/SetupUtils.java 105 ●●●●● diff | view | raw | blame | history
opends/src/statuspanel/org/opends/statuspanel/ServerStatusPooler.java 3 ●●●● diff | view | raw | blame | history
opends/src/statuspanel/org/opends/statuspanel/StatusCli.java 6 ●●●● diff | view | raw | blame | history
opends/src/statuspanel/org/opends/statuspanel/StatusPanelController.java 7 ●●●●● diff | view | raw | blame | history
opends/src/statuspanel/org/opends/statuspanel/ui/LoginDialog.java 3 ●●●● diff | view | raw | blame | history