activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin SB (JIRA)" <>
Subject [jira] Created: (AMQ-1791) Fix: Thread leak in ActiveMQConnection
Date Thu, 12 Jun 2008 03:34:00 GMT
Fix: Thread leak in ActiveMQConnection

                 Key: AMQ-1791
             Project: ActiveMQ
          Issue Type: Bug
          Components: JMS client
    Affects Versions: 5.1.0
            Reporter: Justin SB
         Attachments: connectionleak.patch

ActiveMQConnection does not shutdown the asyncConnectionThread if an error occurs in the close
method.  In particular, if a connection could not be made, stop will immediately throw an
exception.  This leaks threads.

The attached patch fixes the problem.

This might be related to AMQ-1214?

I had some trouble creating the patch, because SVN head does not build for me (AMQ-1745).
 The patch is simple, so please apply by hand if it doesn't automatically apply.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message