Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 97385 invoked from network); 7 Sep 2010 14:44:06 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Sep 2010 14:44:06 -0000 Received: (qmail 44768 invoked by uid 500); 7 Sep 2010 14:44:05 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 44559 invoked by uid 500); 7 Sep 2010 14:44:03 -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 44551 invoked by uid 99); 7 Sep 2010 14:44:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Sep 2010 14:44:02 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Sep 2010 14:44:01 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o87EhemN017504 for ; Tue, 7 Sep 2010 14:43:41 GMT Message-ID: <16115025.11631283870620889.JavaMail.jira@thor> Date: Tue, 7 Sep 2010 10:43:40 -0400 (EDT) From: "Gary Tully (JIRA)" To: dev@activemq.apache.org Subject: [jira] Resolved: (AMQ-2904) failover: protocol doesn't work within a static:() URI in a networkConnector In-Reply-To: <27635390.11591283868820375.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c [ https://issues.apache.org/activemq/browse/AMQ-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Tully resolved AMQ-2904. ----------------------------- Resolution: Fixed resolve in r993382 > failover: protocol doesn't work within a static:() URI in a networkConnector > ---------------------------------------------------------------------------- > > Key: AMQ-2904 > URL: https://issues.apache.org/activemq/browse/AMQ-2904 > Project: ActiveMQ > Issue Type: Bug > Components: Transport > Affects Versions: 5.4.0 > Reporter: Gary Tully > Assignee: Gary Tully > Fix For: 5.4.1 > > > Am configuring a networkConnector, and want it to do failover against two brokers. Xml config snippit:{code} > > duplex="true" > networkTTL="2"/> > {code} > Problem is, the failoer doesn't work > When activemq02 connects to activemq01, we see the following on activemq01: > {code} > INFO | Connector openwire Started > INFO | ActiveMQ JMS Message Broker (activemq01, ID:Ade's-52856-1283520722984-0:0) started > INFO | Connector vm://activemq01 Started > INFO | Created Duplex Bridge back to activemq02 > INFO | Network connection between vm://activemq01#0 and tcp:///127.0.0.1:52864(activemq02) has been established.{code} > All good! If I take activemq01 down, then on reconnect, we don't see the duplex bridge get created. This is the output from activemq01.{code} > INFO | Recovery replayed 1 operations from the journal in 0.036 seconds. > INFO | ActiveMQ 5.4.0-fuse-00-00 JMS Message Broker (activemq01) is starting > INFO | For help or more information please see: http://activemq.apache.org/ > INFO | Scheduler using directory: activemq-data/scheduler > INFO | Listening for connections at: tcp://0.0.0.0:61626 > INFO | Connector openwire Started > INFO | ActiveMQ JMS Message Broker (activemq01, ID:Ade's-52922-1283520881264-0:0) started{code} > Note that there's no mention of a Duplex bridge. The output from the activemq02 broker says: > {code} > Transport (/127.0.0.1:61616) failed to tcp://127.0.0.1:61616 , attempting to automatically reconnect due to: java.io.EOFException > INFO | Outbound transport to activemq01 interrupted. > INFO | Network connection between vm://activemq02#0 and tcp://127.0.0.1:61626(activemq01) has been established. > INFO | Outbound transport to activemq01 resumed > INFO | Successfully reconnected to tcp://127.0.0.1:61626 > WARN | Unexpected extra broker info command received: BrokerInfo {commandId = 19, responseRequired = false, brokerId = ID:Ade's-52922-1283520881264-0:0, brokerURL = tcp://0.0.0.0:61626, slaveBroker = false, masterBroker = false, faultTolerantConfiguration = false, networkConnection = false, duplexConnection = false, peerBrokerInfos = [], brokerName = activemq01, connectionId = 0, brokerUploadUrl = null, networkProperties = null}{code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.