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 383B29CD7 for ; Mon, 14 Nov 2011 22:08:13 +0000 (UTC) Received: (qmail 6608 invoked by uid 500); 14 Nov 2011 22:08:13 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 6572 invoked by uid 500); 14 Nov 2011 22:08:13 -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 6564 invoked by uid 99); 14 Nov 2011 22:08:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Nov 2011 22:08:12 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,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; Mon, 14 Nov 2011 22:08:11 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8F9E48340C for ; Mon, 14 Nov 2011 22:07:51 +0000 (UTC) Date: Mon, 14 Nov 2011 22:07:51 +0000 (UTC) From: "Daniel Blyth (Updated) (JIRA)" To: dev@activemq.apache.org Message-ID: <1305767053.28338.1321308471611.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1010791467.28330.1321308232289.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (AMQ-3594) Stuck messages in topic after restart of ActiveMQ MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-3594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Blyth updated AMQ-3594: ------------------------------ Description: If topic contains message and ActiveMQ is restarted, then the number of message equal to the maxPageSize will be stuck in the topic. A subscriber will only received n - maxPagSize messages. The messages will be stuck until a new message is published to the topic. Queues seems to work fine with this same scenario. This problem only occurs for topics that were created at startup of ActiveMQ. This issue does not occur for topics created dynamically. This problem does not exist in ActiveMQ 5.3.1. Here are the steps to repeating the problem I am seeing: 1. Subscriber registers with topic 2. Bring subscriber offline 3. Publish n messages to topic 4. Restart ActiveMQ 5. Bring subscriber online This issue occurs with out of the box ActiveMQ. The only changes I made were to maxPageSize and the adding the destination to the activemq.xml. I attached a unit that can be used to reproduce the problem. was: If topic contains message and ActiveMQ is restarted, then the number of message equal to the maxPageSize will be stuck in the topic. A subscriber will only received n - maxPagSize messages. The messages will be stuck until a new message is published to the topic. Queues seems to work fine with this same scenario. This problem only occurs for topics that were created at startup of ActiveMQ. This issue does not occur for topics created dynamically. This problem does not exist in ActiveMQ 5.3.1. Here are the steps to repeating the problem I am seeing: 1. Subscriber registers with topic 2. Bring subscriber offline 3. Publish n messages to topic 4. Restart ActiveMQ 5. Bring subscriber online > Stuck messages in topic after restart of ActiveMQ > ------------------------------------------------- > > Key: AMQ-3594 > URL: https://issues.apache.org/jira/browse/AMQ-3594 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.5.0 > Environment: Windows > Reporter: Daniel Blyth > Attachments: StuckMessagesTest.java > > > If topic contains message and ActiveMQ is restarted, then the number of message equal to the maxPageSize will be stuck in the topic. A subscriber will only received n - maxPagSize messages. The messages will be stuck until a new message is published to the topic. Queues seems to work fine with this same scenario. > This problem only occurs for topics that were created at startup of ActiveMQ. This issue does not occur for topics created dynamically. This problem does not exist in ActiveMQ 5.3.1. > Here are the steps to repeating the problem I am seeing: > 1. Subscriber registers with topic > 2. Bring subscriber offline > 3. Publish n messages to topic > 4. Restart ActiveMQ > 5. Bring subscriber online > This issue occurs with out of the box ActiveMQ. The only changes I made were to maxPageSize and the adding the destination to the activemq.xml. > I attached a unit that can be used to reproduce the problem. -- 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