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

Matthew Swift
02.30.2013 7b0c82bd77fad9db58bba0d89f9192bf892cb6d0
refs
author Matthew Swift <matthew.swift@forgerock.com>
Monday, December 2, 2013 13:30 +0100
committer Matthew Swift <matthew.swift@forgerock.com>
Monday, December 2, 2013 13:30 +0100
commit7b0c82bd77fad9db58bba0d89f9192bf892cb6d0
tree cb0104dce44286eb945cb1e2ffc554c6f4260560 tree | zip | gz
parent 6444db120d68c27ee6bc68d3199a6a59b3376274 view | diff
Fix OPENDJ-1079: OpenDJ UpgradeCli adds HTTP connection handler, which breaks Tomcat6 when OpenDJ is an embeddedDS

* avoid initializing classes during class property value validation as this causes dependencies to be loaded which may be missing in the case where the component is disabled. The class will be fully loaded later if the component is enabled (verified with HTTP connection handler)
* prevent class loading errors from causing the server initialization to hang
* attempt to catch and propagate class loading errors up the stack. They are still not displayed in any logs (OPENDJ-1227).

3 files modified
65 ■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/admin/ClassPropertyDefinition.java 26 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/admin/IllegalPropertyValueException.java 20 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/admin/IllegalPropertyValueStringException.java 19 ●●●●● diff | view | raw | blame | history