Uploaded image for project: 'Commons DBCP'
  1. Commons DBCP
  2. DBCP-457

Creating a pool with an inital size > 0 via BasicDataSourceFactory means the abandoned log writer cannot be set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.1
    • 2.2.0
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            markgaylard Mark Gaylard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: