Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 201 invoked from network); 8 Aug 2006 13:00:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Aug 2006 13:00:13 -0000 Received: (qmail 32182 invoked by uid 500); 8 Aug 2006 13:00:12 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 32129 invoked by uid 500); 8 Aug 2006 13:00:12 -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 32080 invoked by uid 99); 8 Aug 2006 13:00:12 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 06:00:11 -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; Tue, 08 Aug 2006 06:00:10 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 21D4C41000E for ; Tue, 8 Aug 2006 12:57:23 +0000 (GMT) Message-ID: <7796040.1155041843136.JavaMail.jira@brutus> Date: Tue, 8 Aug 2006 05:57:23 -0700 (PDT) From: "Anders Bengtsson (JIRA)" To: activemq-dev@geronimo.apache.org Subject: [jira] Created: (AMQ-870) Broker fails to deliver messages after restart 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 Broker fails to deliver messages after restart ---------------------------------------------- Key: AMQ-870 URL: https://issues.apache.org/activemq/browse/AMQ-870 Project: ActiveMQ Issue Type: Bug Components: Broker Affects Versions: 4.0.1 Environment: java version "1.5.0_07", Ubuntu Linux 6.06 Reporter: Anders Bengtsson Attachments: debug-output.txt, TestFailingReconnectScenario.java We're running two networked brokers, B1 and B2, with a producer connected to B1 and a consumer to B2. Forwarding messages through this initially works fine. If we re-start broker B2, everything seems to re-connect, but we no longer get any messages to the consumer. If we instead re-start broker B1, everything works fine. I've attached a JUnit test-case illustrating the two scenarios, a working re-start of B1 and a breaking re-start of B2. Also attached is parts of a log from running the unit test. I'm suspicious about log lines like these, but don't know if they are related to the problem: [2006-08-08 14:36:16] DEBUG: [DemandForwardingBridge] Ignoring sub ConsumerInfo {commandId = 4, responseRequired = true, consumerId = ID:descartes-49241-1155040510241-5:2:1:1, destination = topic://SOME.TOPIC, prefetchSize = 32766, maximumPendingMessageLimit = 0, browser = false, dispatchAsync = false, selector = null, subcriptionName = null, noLocal = false, exclusive = false, retroactive = false, priority = 0, brokerPath = [ID:descartes-49241-1155040510241-1:5], optimizedAcknowledge = false, noRangeAcks = false, additionalPredicate = null} already subscribed to matching destination -- 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