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

.PerUserPoolDataSource.poolKeys can grow without limit

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.2
    • 1.4
    • 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

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: