tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pae Choi" <paec...@earthlink.net>
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
example,
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. ^^

Regards,


Pae




----- Original Message -----
From: "Nikola Milutinovic" <Nikola.Milutinovic@ev.co.yu>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Saturday, October 05, 2002 3:16 AM
Subject: Re: Connection pool DBCP


> lauradiara@libero.it 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
main
> problem is the JDBC interface. Does it have any method to determine if the
DB
> went down and to check if it came up again? Or any way to determine that
JDBC
> connections have been disconnected?
>
> Nix.
>
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message