To: [EMAIL PROTECTED]
Subject: Bug in JDBCAppender
There is a bug in JDBCAppender's execute method. If there is a
SQLException, the connection is not
closed. The best place to close a connection/statement is in finally.
What's happening now, is
I'm getting a connection leak every time an SQL
There is a bug in JDBCAppender's execute method. If there is a SQLException, the
connection is not
closed. The best place to close a connection/statement is in finally. What's
happening now, is
I'm getting a connection leak every time an SQL exception happens.
BTW, the log also gets lost.
in a webapp).
-Original Message-
From: Milind Rao [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 14:09
To: [EMAIL PROTECTED]
Subject: Bug in JDBCAppender
There is a bug in JDBCAppender's execute method. If there is a
SQLException, the connection is not
closed. The best place to close