|Summary:||JNDI Datasource HOW-TO refers to obsolete DBCP config property|
|Product:||Tomcat 8||Reporter:||Phil Steitz <phil>|
|Component:||Documentation||Assignee:||Tomcat Developers Mailing List <dev>|
|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  mentions "removeAbandoned", but none of those two other properties? One also needs to update the migration guide.   http://commons.apache.org/proper/commons-dbcp/configuration.html  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.