[ 
https://issues.apache.org/jira/browse/POOL-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12855946#action_12855946
 ] 

Hassan Sajjad commented on POOL-151:
------------------------------------

Phil/Mark, you can close this issue, as we have found a bug in our Container 
app, where multiple threads could trip-over working on the same object.

Thanks for your engagement here, and sorry for not updating this earlier.

> Eviction thread is able to remove (destroy) in-flight (borrowed) objects
> ------------------------------------------------------------------------
>
>                 Key: POOL-151
>                 URL: https://issues.apache.org/jira/browse/POOL-151
>             Project: Commons Pool
>          Issue Type: Bug
>    Affects Versions: 1.2, 1.4, 1.5, 1.5.1, 1.5.2, 1.5.3, 1.5.4
>            Reporter: Hassan Sajjad
>            Priority: Blocker
>             Fix For: 1.5.5
>
>
> Under high concurrent use, the eviction thread can temper with an in-use 
> object from the pool, potentially causing catastrophic results, as illustrate 
> in the below log from our use. Note the object - in our case JMSSession is 
> closed in-flight (after message send but before commit), causing the commit 
> to fail with {{javax.jms.IllegalStateException: MQJMS1024: session closed}} 
> error.
> {noformat}
> 2009-10-12 15:08:40,254 DEBUG [asyncDelivery59] Borrowed session 
> com.ibm.mq.jms.mqqueuesess...@40bc88 for jms connector 
> 2009-10-12 15:08:40,341 DEBUG [Timer-0] Physically closing 
> com.ibm.mq.jms.mqqueuesess...@40bc88 for connector 
> 2009-10-12 15:08:40,669 DEBUG [asyncDelivery59] Returning session 
> com.ibm.mq.jms.mqqueuesess...@40bc88 for jms conn
> ector
> 2009-10-12 15:08:40,433 ERROR [asyncDelivery59] Exception caught while 
> committing transaction [com.ibm.mq.jms.mqqueuesess...@40bc88]
> {noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to