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

Yannick Lecaillez
05.51.2016 5487deb6febc8f8432d82fbecfdea369110d0bab
refs
author Yannick Lecaillez <yannick.lecaillez@forgerock.com>
Tuesday, July 5, 2016 17:51 +0200
committer Yannick Lecaillez <yannick.lecaillez@forgerock.com>
Thursday, July 7, 2016 10:59 +0200
commit5487deb6febc8f8432d82fbecfdea369110d0bab
tree c8ae115bb360a5ee808385dfb2cad517819e058e tree | zip | gz
parent 1404def3f16710d36a874d819613f7f0c4e12ee7 view | diff
OPENDJ-3204: Unable to stop Rest2Ldap Gateway container.

HttClientHandler were not closed during HttpApplicationStop.
ScheduledThreadPoolExecutor was kept alive because of eviction cache
task.
The fix allows Closeable resources to be registered in a list which will
be closed when the HttpApplication is stopped.
1 files modified
38 ■■■■ changed files
opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/Rest2LdapHttpApplication.java 38 ●●●● diff | view | raw | blame | history