[ 
https://issues.apache.org/jira/browse/DBCP-457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Thomas resolved DBCP-457.
------------------------------
       Resolution: Fixed
    Fix Version/s: 2.2

Changes to all the configuration properties for abandoned connections are now 
passed to the underlying pool and will take effect immediately.

> 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
>             Fix For: 2.2
>
>
> 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)

Reply via email to