You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Erik Lorimor <Er...@Sun.COM> on 2006/12/18 19:01:26 UTC
Re: recovery of JDBCAppender
I have also seen this situation and am looking for a workaround.
-erik
On Dec 18, 2006, at 3:02 PM, Prasanth Ramachandran wrote:
> Hi All,
>
> I am using org.apache.log4j.jdbc.JDBCAppender in my app. The app
> runs on
> JBoss and I have directly given the DB credentials
> in log4j.xml. Once in a while, the DB crashes or the network goes
> down and
> the JDBCAppender fails, which is expected. But when
> the connection is restored, the appender doesn't recover! Have any
> of you
> faced this problem before? Are there any configuration-based
> workarounds? Or is the only way to overwrite getConnection() and
> closeConnection() of JDBCAppender?
>
>
> -Thanks in advance
> Prasanth
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org