Hi there is a bug in org.apache.tomcat.jdbc.pool.PooledConnection.validate
(int validateAction, String sql) for initSQL.

You do not perform the validation if it has occurred
recently--getValidationInterval().

However this shoul not apply to validateAction == VALIDATE_INIT which
should always be run, not based upon getValidationInterval(), since you
always want the initSQL run for all new connections.




Torin McCabe
Software Development Manager
Johnson Controls, Inc.
Real Estate and Facility Management
281 Tresser Blvd. 7th Floor
Stamford, Connecticut 06901
T: 203.327.7272
F: 203.327.7264


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to