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

jvergara
07.03.2008 2792f4abcafa1c2a31caeaf018ea58611c6e8a64
refs
author jvergara <jvergara@localhost>
Friday, November 7, 2008 15:03 +0100
committer jvergara <jvergara@localhost>
Friday, November 7, 2008 15:03 +0100
commit2792f4abcafa1c2a31caeaf018ea58611c6e8a64
tree 69c592d2145af6fb906a7ac7643d66bae01639b1 tree | zip | gz
parent 9f642f4b2d2e7c9a234ddbe7476cd6866bbd4b0a view | diff
Fix for issue 3566 (Increase the timeout of the windows service and consider making it configurable).

The fix increases the number of tries used to figure out if the server is started or not. This is required in particular after reboot since the system can be really loaded.

The user can modify the default tries value (100 tries with an interval of 5 seconds between tries) by setting the value of the OPENDS_WINDOWS_SERVICE_START_NTRIES environment variable (it must be a SYSTEM environment variable in order to be taken into account).
4 files modified
27 ■■■■ changed files
opends/lib/launcher_administrator.exe diff | view | raw | blame | history
opends/lib/opends_service.exe diff | view | raw | blame | history
opends/lib/winlauncher.exe diff | view | raw | blame | history
opends/src/build-tools/windows/service.c 27 ●●●● diff | view | raw | blame | history