Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 17351 invoked from network); 26 Oct 2006 07:22:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2006 07:22:43 -0000 Received: (qmail 1146 invoked by uid 500); 24 Oct 2006 10:56:14 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 1122 invoked by uid 500); 24 Oct 2006 10:56:14 -0000 Mailing-List: contact activemq-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-dev@geronimo.apache.org Received: (qmail 1113 invoked by uid 99); 24 Oct 2006 10:56:14 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Oct 2006 03:56:14 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Oct 2006 03:56:00 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 89F017141E3 for ; Tue, 24 Oct 2006 03:55:02 -0700 (PDT) Message-ID: <10546716.1161687302562.JavaMail.root@brutus> Date: Tue, 24 Oct 2006 03:55:02 -0700 (PDT) From: "Rob Lugt (JIRA)" To: activemq-dev@geronimo.apache.org Subject: [jira] Assigned: (AMQ-990) Leaving threads running if Connection.Dispose fails. In-Reply-To: <16116482.1161177316788.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-990?page=all ] Rob Lugt reassigned AMQ-990: ---------------------------- Assignee: james strachan Hi James. This is resolved by the patch supplied for AMQ-999. Please review and resolve this issue if you are satisfied. Regards Rob Lugt > Leaving threads running if Connection.Dispose fails. > ---------------------------------------------------- > > Key: AMQ-990 > URL: https://issues.apache.org/activemq/browse/AMQ-990 > Project: ActiveMQ > Issue Type: Bug > Components: NMS (C# client) > Reporter: Pawel Niewiadomski > Assigned To: james strachan > > I faced today following error - in Connection.Dispose call to DisposeOf(ConnectionId); fails with exception. This causes Connection.Dispose to be aborted leading to thread responsible for communication not to be joined. I'm talking about the thread created in TcpTransport. > closing = true; > DisposeOf(ConnectionId); // this causes exception and aborts further execution on this scope > sessions.Clear(); > transport.Oneway(new ShutdownInfo()); > transport.Dispose(); // this is responsible for joining the thread and closing sockets > closed = true; > In summary - thread is still running and we can't get rid of it. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira