Bug 53415

Summary: JDBCAppender cannot reconnect after connection closed
Product: Log4j - Now in Jira Reporter: Tomasz Szlęk <ghost3001>
Component: OtherAssignee: log4j-dev <log4j-dev>
Status: NEW ---    
Severity: critical    
Priority: P2    
Version: 1.2   
Target Milestone: ---   
Hardware: All   
OS: All   

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.