commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bushov Alexander (JIRA)" <j...@apache.org>
Subject [jira] Updated: (POOL-152) GenericObjectPool hangs forever in borrowObject when newly created object is not validated
Date Thu, 29 Oct 2009 14:47:59 GMT

     [ https://issues.apache.org/jira/browse/POOL-152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Bushov Alexander updated POOL-152:
----------------------------------

    Attachment: borrowObject.patch
                Test.java

example and patch

> GenericObjectPool hangs forever in borrowObject when newly created object is not validated
> ------------------------------------------------------------------------------------------
>
>                 Key: POOL-152
>                 URL: https://issues.apache.org/jira/browse/POOL-152
>             Project: Commons Pool
>          Issue Type: Bug
>    Affects Versions: 1.5.2, 1.5.3
>            Reporter: Bushov Alexander
>         Attachments: borrowObject.patch, Test.java
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message