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

neil_a_wilson
13.16.2007 835efc2e050a190b6470fa2cb73258e96f04e313
refs
author neil_a_wilson <neil_a_wilson@localhost>
Friday, April 13, 2007 00:16 +0200
committer neil_a_wilson <neil_a_wilson@localhost>
Friday, April 13, 2007 00:16 +0200
commit835efc2e050a190b6470fa2cb73258e96f04e313
tree d242265fb526889b81a8c398d73c787004d6ec74 tree | zip | gz
parent a1c98f8d8afedfd11b63f00bab61d1e3c977d911 view | diff
Update the DirectoryServer class so that it resets the JDK logger whenever the
server shuts down. This is necessary to prevent an exception when performing
an in-core restart (as described in issue #1289) or potentially other cases in
which the server may need to be started multiple times in the same JVM (e.g.,
as in issue #1495).

Note that this has the potential to interfere with applications which embed
OpenDS and also use the JDK logger. If they ever shut down OpenDS, then it
could deregister the parent application's loggers as well. The only way for us
to fix this is to rewrite our loggers so they don't use the JDK logging
framework at all.
1 files modified
13 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/core/DirectoryServer.java 13 ●●●●● diff | view | raw | blame | history