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

.PerUserPoolDataSource.poolKeys can grow without limit

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.2
    • Fix Version/s: 1.4
    • Labels:
      None

      Description

      The private static variable .PerUserPoolDataSource.poolKeys (a HashMap) only ever has items added to it; the contents are never cleared.

      Every different datasource generates a new HashMap entry; every username+password generates a new entry in that map.

      This might perhaps become a problem for long-running applications with lots of different users.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sebb@apache.org Sebb
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: