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

jvergara
22.54.2007 4ddf5bacd64ca7a1c557aa74090fb0a95b2dd455
refs
author jvergara <jvergara@localhost>
Thursday, November 22, 2007 12:54 +0100
committer jvergara <jvergara@localhost>
Thursday, November 22, 2007 12:54 +0100
commit4ddf5bacd64ca7a1c557aa74090fb0a95b2dd455
tree f5d43dfe96bdbc07dccc649b9f31f12f2edd5eb6 tree | zip | gz
parent 34eeb0f7371dcd4fb24dae2c25918a96d9a65f32 view | diff
Fix for issue 2618.

The problem is that the root server entry is not created by default (it is used by some parts of the code to know if the ADS was initialized or not). The fix consists of updating the ADSContext.registerServer method to check if the parent entry exists. The check is only applied here since this is a particular case (and by default this check is not required for other entries in the ADS).
1 files modified
6 ■■■■■ changed files
opendj-sdk/opends/src/ads/org/opends/admin/ads/ADSContext.java 6 ●●●●● diff | view | raw | blame | history