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

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.2.0
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: