tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pae Choi" <>
Subject Re: Connection pool DBCP
Date Mon, 07 Oct 2002 00:51:19 GMT
I have not tested DBCP for this specific one yet, but this is an interesting
one to do down the road.

Just from my top of head, it should not be a difficult challenge. For
you can create a listener that runs with a separate thread to check the
connection heartbeat.

Since 'dbcp' is commonly used with 'pool' package, the question is where
would be an ideal place to place the mechanism. But this is a design issue,
not the feasibility issue. ^^



----- Original Message -----
From: "Nikola Milutinovic" <>
To: "Tomcat Users List" <>
Sent: Saturday, October 05, 2002 3:16 AM
Subject: Re: Connection pool DBCP

> wrote:
> > I have been seen that nobody is able to answer to this question, I
> > presume it's interesting for anybody, for a few days.
> >
> > I wish I knew if DBCP is able to find when db is restarted and
> > reconnect.
> >
> > I'd like to use the jakarta instrument DBCP because all the products of
> > the jakarta community are very good, but the main point is to know if
> > DBCP can recconect to DB lonely.
> >
> > Can some answer to this question?
> Don't take my word for it, but I think it cannot. It could be that the
> problem is the JDBC interface. Does it have any method to determine if the
> went down and to check if it came up again? Or any way to determine that
> connections have been disconnected?
> Nix.
> --
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message