Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 90537 invoked from network); 8 Jul 2009 17:10:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Jul 2009 17:10:21 -0000 Received: (qmail 3834 invoked by uid 500); 8 Jul 2009 17:10:31 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 3805 invoked by uid 500); 8 Jul 2009 17:10:31 -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 3795 invoked by uid 99); 8 Jul 2009 17:10:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jul 2009 17:10:31 +0000 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; Wed, 08 Jul 2009 17:10:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0CDB5234C044 for ; Wed, 8 Jul 2009 10:10:07 -0700 (PDT) Message-ID: <496609162.1247073007051.JavaMail.jira@brutus> Date: Wed, 8 Jul 2009 10:10:07 -0700 (PDT) From: "Eric (JIRA)" To: dev@activemq.apache.org Subject: [jira] Issue Comment Edited: (AMQ-2320) Session are not deleted when several processes terminate simultaneously in a "network of broker" complex configuration In-Reply-To: <1783928707.1247072527005.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-2320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52746#action_52746 ] Eric edited comment on AMQ-2320 at 7/8/09 10:08 AM: ---------------------------------------------------- The schema. All 4 processes are on the same server. was (Author: eric-awl): The schema > Session are not deleted when several processes terminate simultaneously in a "network of broker" complex configuration > ---------------------------------------------------------------------------------------------------------------------- > > Key: AMQ-2320 > URL: https://issues.apache.org/activemq/browse/AMQ-2320 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.2.0 > Environment: Linux Redhat. JVM 1.6. AMQ 5.2 > Reporter: Eric > Attachments: Pb AMQ Session.JPG > > > I would like to add a schema. I hope I will be able to add it later. I don't see it > I have 3 processes with one embedded broker (BSV, client, server) in the same network of brokers (non duplex but bi-directionnal). > I have a fourth standalone broker > My "client" and my "server" process are connected a second time with a "manual" tcp connection to the BSV process. > My "client" and my "server" process are connected a third time with a "manual" tcp connection on the standalone broker. > In this case, if my process BSV is stopped by an interrupt (CTRL-C) (which closes the embedded connection, and the embedded broker), and if simultaneously, I want to stop gracefully my "client" process (close all session, close all "manual" connection, stop embedded broker), one session thread stays up and never terminates > "ActiveMQ Session: ID:td0sib01s.priv.atos.fr-51590-1247070640728-0:2:3" prio=10 tid=0x000000000e83a400 nid=0x5749 in Object.wait() [0x00000000469c8000..0x00000000469c8d10] > java.lang.Thread.State: WAITING (on object monitor) > at java.lang.Object.wait(Native Method) > - waiting on <0x00002aaaca868380> (a java.lang.Object) > at java.lang.Object.wait(Object.java:502) > at org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:105) > - locked <0x00002aaaca868380> (a java.lang.Object) > at org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:36) > It is a session associated with the BSV link (I don't know if it is a session associated with the network of broker, or a session associated with my manual connection) > A CTRL-C on the process terminates the process > It doesn't happen if stop are not simultaneously done. > Eric-AWL -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.