Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-6700

Leak of "ActiveMQ Connection Executor" threads and ActiveMQConnection objects in JCA

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.14.5
    • 5.14.6
    • JCA Container, RAR
    • JCA

    • Patch Available
    • Patch

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tmielke Torsten Mielke
            tmielke Torsten Mielke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment