https://issues.apache.org/bugzilla/show_bug.cgi?id=53158
Priority: P2
Bug ID: 53158
Assignee: [email protected]
Summary: Wrong default values indicated for the evictor service
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: All
Status: NEW
Version: unspecified
Component: Documentation
Product: Tomcat 6
http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html
In this Tomcat 6.x documentation page, it is stated that :
timeBetweenEvictionRunsMillis - The number of milliseconds between consecutive
runs of the evictor. Default: 30*60*1000 (30 minutes)
minEvictableIdleTimeMillis - The idle time in milliseconds after which a
connection can be removed from the pool by the evictor. Default: -1 (disabled)
The default values for those parameters are actually the other way around :
timeBetweenEvictionRunsMillis - The number of milliseconds between consecutive
runs of the evictor. Default: -1 (disabled)
minEvictableIdleTimeMillis - The idle time in milliseconds after which a
connection can be removed from the pool by the evictor. Default: 30*60*1000 (30
minutes)
You can see this on the GenericObjectPool class from commons-pool :
http://grepcode.com/file/repo1.maven.org/maven2/commons-pool/commons-pool/1.3/org/apache/commons/pool/impl/GenericObjectPool.java#GenericObjectPool
Thank you.
--
You are receiving this mail because:
You are the assignee for the bug.