Bug 53415 - JDBCAppender cannot reconnect after connection closed
Summary: JDBCAppender cannot reconnect after connection closed
Status: NEW
Alias: None
Product: Log4j - Now in Jira
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.2
Hardware: All All
: P2 critical
Target Milestone: ---
Assignee: log4j-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-14 09:22 UTC by Tomasz Szlęk
Modified: 2012-06-14 09:22 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Szlęk 2012-06-14 09:22:02 UTC
(In newest log4j version - 1.2.17) when connection in JDBCAppender is unexpected closed (e.q because of internet disconnect or database down), then after connection restoration jdbcAppender can't open new connection because getConnection methos still return close connection.
Consequences of this are that nothing will be logged to database until server restart.