Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
qpid-java-broker-7.0.6
-
None
-
None
Description
We are occasionally seeing stack overflow during logging in QPid. This completely kills the broker because some data structure are not initialized correctly any more afterwards. The problems lies in the combination of SLf4j use in QPid and the logging in the BDB implementation. BDB is configured using the Slf4jLoggingHandler in org.apache.qpid.server.store.berkeleydb.StandardEnvironmentFacade.StandardEnvironmentFacade(StandardEnvironmentConfiguration) which eventually ends up at the JDK logger (at least in our setup). However, BDB has a com.sleepycat.je.utilint.ConfiguredRedirectHandler which is appended to the the JDK logger and logs records from it to the configured Slf4jLoggingHandler. Which in turn forwards them to the JDK logger and there it starts again. The error is so obvious which makes me wonder why nobody else has reported it before. Is there some kind of configuration that we have set wrong?