Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 33353 invoked from network); 18 Oct 2006 13:16:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Oct 2006 13:16:10 -0000 Received: (qmail 62380 invoked by uid 500); 18 Oct 2006 13:16:10 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 62350 invoked by uid 500); 18 Oct 2006 13:16:10 -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 62341 invoked by uid 99); 18 Oct 2006 13:16:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Oct 2006 06:16:10 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Oct 2006 06:16:09 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C4CB27142E4 for ; Wed, 18 Oct 2006 06:15:16 -0700 (PDT) Message-ID: <16116482.1161177316788.JavaMail.jira@brutus> Date: Wed, 18 Oct 2006 06:15:16 -0700 (PDT) From: "Pawel Niewiadomski (JIRA)" To: activemq-dev@geronimo.apache.org Subject: [jira] Created: (AMQ-990) Leaving threads running if Connection.Dispose fails. 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 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 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