tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Propes, Barry L " <barry.l.pro...@citi.com>
Subject RE: Connection Pooling questions
Date Wed, 01 Apr 2009 13:43:34 GMT
 Yes! And also, close out any other connections that may be embedded, like a prepared statement,
result set or stored procedure. These will also show that a connection is still opened if
not explicitly closed!

-----Original Message-----
From: allen.irwin@smartintegration.com.au [mailto:allen.irwin@smartintegration.com.au] 
Sent: Tuesday, March 31, 2009 8:43 PM
To: users@tomcat.apache.org
Subject: Connection Pooling questions


 Do I have to turn on some kind of cleanup explicitly?

I do close the connections within my program using conn.close(); as the howto suggests. I
thought that when the connections were not used that they would over time be "really" closed
and I would end up with the maxIdle value of 10 open connections within my Pool.

thanks! 

--------------------------------------------------------------------
mail2web.com - Enhanced email for the mobile individual based on Microsoft(r) Exchange - http://link.mail2web.com/Personal/EnhancedEmail



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


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


Mime
View raw message