Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0693D9934 for ; Thu, 12 Apr 2012 14:37:39 +0000 (UTC) Received: (qmail 19859 invoked by uid 500); 12 Apr 2012 14:37:38 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 19817 invoked by uid 500); 12 Apr 2012 14:37:38 -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 19804 invoked by uid 99); 12 Apr 2012 14:37:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2012 14:37:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2012 14:37:37 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7ACB736790B for ; Thu, 12 Apr 2012 14:37:17 +0000 (UTC) Date: Thu, 12 Apr 2012 14:37:17 +0000 (UTC) From: "Aaron Phillips (Commented) (JIRA)" To: dev@activemq.apache.org Message-ID: <1572285569.17369.1334241437504.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <471143819.5592.1333451063279.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (AMQ-3798) Network connector does not establish connections to a slave broker after master failure MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AMQ-3798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13252460#comment-13252460 ] Aaron Phillips commented on AMQ-3798: ------------------------------------- I have observed exactly the same problem. I also have both a test in code and with activemq installs that demonstrate a broker that is bridged to a M/S pair can forward messages through the network to a consumer just fine, but once the M/S pair goes into failover with the Slave being live, the producer attached to the forwarding broker hangs indefinitely when trying to open a session to produce a message. This is the architecture in play (producer) -> [forwarding broker] -> [Master/Slave pair] -> (consumer) As I mentioned, I have modeled this problem both in code and using 3 activemq installations (one for each of the brokers), and in both cases, the forwarding broker (with a bridge connection) fails to push anything to the Slave broker > Network connector does not establish connections to a slave broker after master failure > --------------------------------------------------------------------------------------- > > Key: AMQ-3798 > URL: https://issues.apache.org/jira/browse/AMQ-3798 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.6.0 > Reporter: Hanno Wiegard > Attachments: MasterSlaveNetworkTest.java, TestConsumer.java, TestProducer.java, master.xml, slave.xml > > > We have a broker A which is connected to a master/slave pair (M/S) using a network connector with a static:failover configuration. A producer P writes to boker A and a consumer C consumes from brokers M/S. After M fails S becomes active but the no data flows from P to C anymore. Data seems to be stuck on A. > The master/slave pair is a normal ActiveMQ installation (attached config files master.xml and slave.xml). Broker A is started within a java process which runs in the TestProducer.java code, TestConsumer.java consumes messages from the master/slave pair. > Attached testcase shows the same behaviour. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira