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

Shakun Ahuja commented on POOL-343:
-----------------------------------

I have analyse the problem and found that threadpoolexecuter create a clone of 
the object which it refers to which is due to java melody rejex pattern,So you 
can close it.

> CommonsPool2TargetSource release target giving error "Returned object not 
> currently part of this pool"
> ------------------------------------------------------------------------------------------------------
>
>                 Key: POOL-343
>                 URL: https://issues.apache.org/jira/browse/POOL-343
>             Project: Commons Pool
>          Issue Type: Bug
>    Affects Versions: 2.2, 2.4.1, 2.5.0
>            Reporter: Shakun Ahuja
>            Priority: Blocker
>         Attachments: Beans.xml, GenericLifeCycleProcessor.java, 
> PaymentInstructionActivationSchedulingExecutor.java
>
>
> After changing spring version to 5 with commons-pool 
> 2.5,CommonsPool2TargetSource release target giving error as below
>  
> {{ java.lang.IllegalStateException: Returned object not currently part of 
> this pool at 
> org.apache.commons.pool2.impl.GenericObjectPool.returnObject(GenericObjectPool.java:537)}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to