Using JDBCAppender in a long running process


[ Antworten ] [ Ihre Antwort ] [ Forum www.mannhaupt.com ]

Abgeschickt von Bill Hutchinson am 21 Juni, 2006 um 22:07:30

Hello Danko,
I implemented a central logger process in a TIBCO integration environment which uses JDBCAppender behind it. I found the implementation using JDBCAppender to be very elegant, thank you for contributing your work to the public.
The Oracle instance to which JDBCAppender connects is taken down for offline backups once per week. It appears to me that my central logger process is not tolerant of that backup - it logs to a file appender, but does not log to Oracle, nor does it throw an exception, or at least my process is not logging an exception.
In looking at JDBCLogger and JDBCDefaultConnectionHandler a bit, I am wondering what happens when JDBCLogger goes to the connection pool and gets a connection which is no longer valid.
What do you think JDBCAppender will do if a process using it is running through a DB going down and up?
Thanks very much.
Bill Hutchinson





Antworten:



Ihre Antwort

Name:
E-Mail:

Subject:

Text:

Optionale URL:
Link Titel:
Optionale Bild-URL:


[ Antworten ] [ Ihre Antwort ] [ Forum www.mannhaupt.com ]