Uploaded image for project: 'Commons Pool'
  1. Commons Pool
  2. POOL-152

GenericObjectPool hangs forever in borrowObject when newly created object is not validated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.2, 1.5.3
    • 1.5.4
    • None

    Description

      If your set GenericObjectPool parameters such as: maxActive = 1 and whenExhaustedAction to block, testOnBorrow to true, call borrowObject that fails in validation of newly created object then second call of borrowObject will stuck.

      Attachments

        1. borrowObject.patch
          1.0 kB
          Bushov Alexander
        2. Test.java
          2 kB
          Bushov Alexander

        Activity

          People

            Unassigned Unassigned
            bouchov Bushov Alexander
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: