Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-2110

Leak of "ActiveMQ Connection Executor" threads and ActiveMQConnection objects

XMLWordPrintable

    • Hide

      Run provided unit test after copying to activemq-ra/src/test/java/org.apache.activemq.ra

      Show
      Run provided unit test after copying to activemq-ra/src/test/java/org.apache.activemq.ra

      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.

              gtully@redhat.com Gary Tully
              rhn-support-tmielke Torsten Mielke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: