tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: why datasource get an already closed connection?
Date Fri, 04 Sep 2009 13:31:16 GMT
> From: vicattomcat [mailto:vicattomcat@googlemail.com]
> Subject: why datasource get an already closed connection?
> 
> Who can give me any advice to solve this problem in another way or tell
> me which is the best way among the ways I talked about?

Look at the validationQuery and testOnBorrow settings for the connection pool:
http://commons.apache.org/dbcp/configuration.html

Search the archives for real examples of how to use them with MySQL.
http://marc.info/?l=tomcat-user

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message