tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikola Milutinovic <>
Subject Re: Can the JNDI Connection Pool re-connect after failure?
Date Wed, 29 Jan 2003 09:08:43 GMT
Boris Folgmann wrote:
> Ryan Cornia wrote:
>>Anyone using JNDI datasources that reconnect in case of a lost link to
>>the DB server?
>>Any examples? I'm using the I-net driver for Oracle
> Interesting question. In fact I have the same problem, using DBCP and
> PostgreSQL. I looked trough the Javadocs at
> but did not find a resource argument for configuring something like a
> reconnect. Any comments welcome.

I believe that if you set up "connection verification query" in your DataSource 
definition in server.xml it will reconnect. Haven't tried it, though.


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

View raw message