Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 51138 invoked from network); 23 Nov 2009 13:18:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Nov 2009 13:18:16 -0000 Received: (qmail 39266 invoked by uid 500); 23 Nov 2009 13:18:16 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 39217 invoked by uid 500); 23 Nov 2009 13:18:16 -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 39207 invoked by uid 99); 23 Nov 2009 13:18:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Nov 2009 13:18:16 +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; Mon, 23 Nov 2009 13:18:14 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CA9FC234C1EE for ; Mon, 23 Nov 2009 05:17:52 -0800 (PST) Message-ID: <501198603.1258982272800.JavaMail.jira@brutus> Date: Mon, 23 Nov 2009 05:17:52 -0800 (PST) From: "Sebastien Rodriguez (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQNET-211) ConnectionInterruptedListener doesnt raise the event when broker network dies in failover mode In-Reply-To: <571557277.1258978676051.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/AMQNET-211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56021#action_56021 ] Sebastien Rodriguez commented on AMQNET-211: -------------------------------------------- Yes, this happens when unplugging the network cable from the broker used by the client in the network of brokers. The failover works great when shut downing the broker > ConnectionInterruptedListener doesnt raise the event when broker network dies in failover mode > ---------------------------------------------------------------------------------------------- > > Key: AMQNET-211 > URL: https://issues.apache.org/activemq/browse/AMQNET-211 > Project: ActiveMQ .Net > Issue Type: Bug > Components: ActiveMQ, NMS > Affects Versions: 1.2.0 > Environment: ActiveMQ 5.3 stable release. tested also with ActiveMQ 5.4 Nightly build > Apache.NMS 1.2.0.1778 > Apache.NMS.ActiveMQ.dll 1.2.0.1778 > Reporter: Sebastien Rodriguez > Assignee: Jim Gomes > Attachments: activemq.xml > > > The problem comes when I set up the following configuration: > Network of brokers (2 brokers, A and B) in failover mode > Client written in C# using the Apache.NMS.ActiveMQ client, configured in failover mode. (machine C) > When stopping manually the service in one computer(A for eg), the switch is done without any problems. C uses B to send the data. The admin console shows he has one consumer. > Turning the service on and doing the same step in the other computer works great too (the client failovers to the recovered broker again without any problems: C is connected to A now) > Unplugging the network cable in A does not cause C to switch to B again. Looking at the admin console there are no consumers connected to B. > Looking the logs of B: > jvm 1 | WARN | Could not start network bridge between: vm://10.216.1.66 and: tcp://10.216.1.101:61616 due to: java.net.ConnectException: Connection timed out: connect > This should have raised a ConnectionInterruptedListener event. Logs shoes nothing such happens -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.