Bug 57587

Summary: JNDI Datasource HOW-TO refers to obsolete DBCP config property
Product: Tomcat 8 Reporter: Phil Steitz <phil>
Component: DocumentationAssignee: Tomcat Developers Mailing List <dev>
Severity: normal    
Priority: P5    
Version: 8.0.x-trunk   
Target Milestone: ----   
Hardware: PC   
OS: Mac OS X 10.1   
Attachments: Update to use the new properties.

Description Phil Steitz 2015-02-17 00:16:51 UTC
Created attachment 32484 [details]
Update to use the new properties.

The DBCP example in the JNDI Datasource HOW-TO refers to the removeAbandoned property, which in DBCP2 has been replaced by removeAbandonedOnBorrow and removeAbandonedOnMaintenance.
Comment 1 Konstantin Kolinko 2015-02-17 11:54:19 UTC
When did it happen? The DBCP documentation [1] mentions "removeAbandoned", but none of those two other properties?

One also needs to update the migration guide. [2]

[1] http://commons.apache.org/proper/commons-dbcp/configuration.html
[2] http://tomcat.apache.org/migration-8.html#Database_Connection_Pooling
Comment 2 Phil Steitz 2015-02-17 13:42:25 UTC
This is since DBCP 2.0.  The DBCP config doc has been updated in trunk.  Changes will appear on the web site once the release in progress completes.
Comment 3 Mark Thomas 2015-02-17 13:44:31 UTC
Fixed in trunk and 8.0.x for 8.0.21 onwards.