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

Incorrect parameter descriptions for maxIdle and minIdle, at http://jakarta.apache.org/commons/dbcp/configuration.html

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.2.1
    • 1.2.2
    • None

    Description

      The parameter descriptions for maxIdle and minIdle incorrectly refer to active connections:

      Parameter Default Description
      initialSize 0 The initial number of connections that are created when the pool is started.
      maxActive 8 The maximum number of active connections that can be allocated from this pool at the same time, or negative for no limit.
      maxIdle 8 The maximum number of active connections that can remain idle in the pool, without extra ones being released, or zero for no limit.
      minIdle 0 The minimum number of active connections that can remain idle in the pool, without extra ones being created, or zero to create none.

      A connection cannot be both active and idle by definition.

      svn diff attached.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--diff.txt
          0.8 kB
          Michael Heuer

        Activity

          People

            Unassigned Unassigned
            heuermh Michael Heuer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: