[logback-user] Connection leaks with DBAppender and GlassFish?
Stephan Vollmer-2
svollmer at gmx.de
Mon Aug 8 13:54:13 CEST 2011
David Roussel wrote:
>
> How many connections are leaked? Over what time period? Could it be
> logback gets one connection and keeps it for all time, until the log is
> closed. That's not really a leak, but just confuses the leak detection.
>
Sorry for the late reply. It is only 1 connection that is considered as
leaked. I did not know that Logback allocates a connection when it is needed
and then keeps it open all the time. I thought that the connection would be
closed afterwards. If the former is true, then I need to turn off connection
leak detection in the application server configuration.
--
View this message in context: http://old.nabble.com/Connection-leaks-with-DBAppender-and-GlassFish--tp32131274p32217544.html
Sent from the Logback User mailing list archive at Nabble.com.
More information about the Logback-user
mailing list