Mark Gaylard created DBCP-457:
---------------------------------
Summary: Creating a pool with an inital size > 0 via
BasicDataSourceFactory means the abandoned log writer cannot be set
Key: DBCP-457
URL: https://issues.apache.org/jira/browse/DBCP-457
Project: Commons Dbcp
Issue Type: Bug
Affects Versions: 2.1.1
Reporter: Mark Gaylard
If the BasicDataSourceFactory.createDataSource() method is called with an
initialSize value of > 0, then the underlying object pool is eagerly created
(see BasicDataSourceFactory line 594). Then calling setAbandonedLogWriter() on
the returned BasicDataSourcehas no effect on the newly created object pool as
it is already created.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)