You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Torsten Mielke (JIRA)" <ji...@apache.org> on 2017/06/12 08:15:00 UTC
[jira] [Resolved] (AMQ-6700) Leak of "ActiveMQ Connection Executor"
threads and ActiveMQConnection objects in JCA
[ https://issues.apache.org/jira/browse/AMQ-6700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Torsten Mielke resolved AMQ-6700.
---------------------------------
Resolution: Fixed
Fix Version/s: 5.14.6
Fixed with commit [a1e595c18fbfb8a21e632b665f180005f1daf053|https://git-wip-us.apache.org/repos/asf?p=activemq.git;a=blobdiff;f=activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQResourceAdapter.java;h=b17674e88a9cec7ea5c95dd229dad5c143215833;hp=fd16603865d90c8f2ded3cfaa268056bca1a3731;hb=a1e595c18fbfb8a21e632b665f180005f1daf053;hpb=a6782443c1695f54176afecfda6c5c423bc18a84].
> Leak of "ActiveMQ Connection Executor" threads and ActiveMQConnection objects in JCA
> ------------------------------------------------------------------------------------
>
> Key: AMQ-6700
> URL: https://issues.apache.org/jira/browse/AMQ-6700
> Project: ActiveMQ
> Issue Type: Bug
> Components: JCA Container, RAR
> Affects Versions: 5.14.5
> Environment: JCA
> Reporter: Torsten Mielke
> Assignee: Torsten Mielke
> Labels: jca
> Fix For: 5.14.6
>
>
> The ActiveMQ JCA layer may leak threads of name {{"ActiveMQ Connection Executor"}} and instances of {{org.apache.activemq.ActiveMQConnection}} when there are problems with establishing the connection.
> If the initial openwire connection cannot be established, it may run an "ActiveMQ Connection Executor" thread to deal with the error leading to a code path that does not close the connection and does not clear up the "ActiveMQ Connection Executor" thread.
> Low level details in further comments.
>
> This problem can be reproduced by running {{ActiveMQResourceAdapter.TransactionContext.recover()}} but potentially other code paths in the resource adapter are effected as well.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)