Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 82203 invoked from network); 2 Mar 2009 13:14:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Mar 2009 13:14:22 -0000 Received: (qmail 48899 invoked by uid 500); 2 Mar 2009 13:14:22 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 48863 invoked by uid 500); 2 Mar 2009 13:14:22 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 48849 invoked by uid 99); 2 Mar 2009 13:14:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Mar 2009 05:14:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Mar 2009 13:14:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 75F51234C4AC for ; Mon, 2 Mar 2009 05:13:59 -0800 (PST) Message-ID: <1102816007.1235999639482.JavaMail.jira@brutus> Date: Mon, 2 Mar 2009 05:13:59 -0800 (PST) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Subject: [jira] Reopened: (AMQNET-147) Connection fails to close if a producer or consumer has not been disposed (only when using the failover transport). In-Reply-To: <1426006510.1235591040068.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQNET-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Bish reopened AMQNET-147: --------------------------------- Re-opened to add a subtask to add code for handling broker exceptions in NMS > Connection fails to close if a producer or consumer has not been disposed (only when using the failover transport). > ------------------------------------------------------------------------------------------------------------------- > > Key: AMQNET-147 > URL: https://issues.apache.org/activemq/browse/AMQNET-147 > Project: ActiveMQ .Net > Issue Type: Bug > Components: ActiveMQ Client > Affects Versions: 1.1 > Environment: Using failover transport > Reporter: Daniel Ellis > Assignee: Timothy Bish > Fix For: 1.1 > > Attachments: CloseSessionAfterEverythingElse.patch, ConnectionError.patch, ConnectionsTests.patch > > > When using the failover transport such as:- > > A connection will fail to close if you dispose a connection before disposing a consumer or producer that is associated with the connection. The dispose call never returns because the failover transport is continually reconnecting due to a KeyNotFoundException. The KeyNotfoundException is thrown because a session no longer exists in the connection state. > A number of the existing unit tests fail (actually they never return) when using the failover transport. When in debug, a DebugAssert is displayed for each error that causes the reconnect. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.