commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Thomas (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DBCP-457) Creating a pool with an inital size > 0 via BasicDataSourceFactory means the abandoned log writer cannot be set
Date Thu, 03 Nov 2016 09:40:59 GMT

     [ 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)

Mime
View raw message