tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Boris Folgmann <>
Subject Re: Can the JNDI Connection Pool re-connect after failure?
Date Wed, 29 Jan 2003 11:22:51 GMT
Nikola Milutinovic wrote:

> 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.

Do you know that it was made for this purpose or are you simpley guessing
from the Javavdoc?

protected java.lang.String validationQuery

    The SQL query that will be used to validate connections from this pool
before returning them to the caller. If specified, this query MUST be an
SQL SELECT statement that returns at least one row.

Dipl.-Inf. Boris Folgmann
Folgmann IT-Consulting

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

View raw message