tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54217] JDBC connection pool runs out of connections when Context reload=“true” is enabled in Tomcat
Date Fri, 30 Nov 2012 19:00:57 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54217

Michael Osipov <1983-01-06@gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |

--- Comment #3 from Michael Osipov <1983-01-06@gmx.net> ---
(In reply to comment #1)
> You are not closing your connection pool properly. You need to specify
> closeMethod="close". Without that the pool would not know when to close
> those 10 "minIdle" connections.
> 
> The attribute is documented here:
> http://tomcat.apache.org/tomcat-7.0-doc/config/context.
> html#Resource_Definitions
> 
> 
> This is going to be close as INVALID. Just holding it open for a while as a
> chance to improve documentation: it would be better to add closeMethod to
> the examples in jndi-datasource-examples-howto.html

This attribute is not available to Tomcat 6, is it? I checked the docs. Seems
to be Tomcat 7 specific. I am using JDBC Pool happily with Tomcat 6 in
production.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


Mime
View raw message