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

Matthew Swift
02.30.2013 2201f3caea5dec0397451a7b1053cfbdd5efd85d
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
commit2201f3caea5dec0397451a7b1053cfbdd5efd85d
tree b56d46fe1e32138a687d42b2254103ff7da16c04 tree | zip | gz
parent e8388c3f6461f17415b6578d2dad0b4d13138282 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
opends/src/server/org/opends/server/admin/ClassPropertyDefinition.java 26 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/admin/IllegalPropertyValueException.java 20 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/admin/IllegalPropertyValueStringException.java 19 ●●●●● diff | view | raw | blame | history