From dev-return-5278-apmail-activemq-dev-archive=activemq.apache.org@activemq.apache.org Sun Feb 04 08:06:26 2007 Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 51376 invoked from network); 4 Feb 2007 08:06:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Feb 2007 08:06:25 -0000 Received: (qmail 81921 invoked by uid 500); 4 Feb 2007 08:06:32 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 81890 invoked by uid 500); 4 Feb 2007 08:06:31 -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 81881 invoked by uid 99); 4 Feb 2007 08:06:31 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Feb 2007 00:06:31 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Feb 2007 00:06:24 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 52FCD7142A6 for ; Sun, 4 Feb 2007 00:06:04 -0800 (PST) Message-ID: <24846166.1170576364336.JavaMail.jira@brutus> Date: Sun, 4 Feb 2007 00:06:04 -0800 (PST) From: "Tom Vijlbrief (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQ-1150) Signature typo shows off in JMX MBean view and problem with resubscribing to durable topic + PATCH 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 [ https://issues.apache.org/activemq/browse/AMQ-1150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_38470 ] Tom Vijlbrief commented on AMQ-1150: ------------------------------------ I could reproduce the problem again, but it does not always happen. I'll try to create a unit test. If someone else wants to take a look at it, you can reproduce it by running my jmstransfer program: http://www.v7f.eu/public/jms/ If you transfer a file of a few megabytes and interrupt the durable receiver halfway then restarting it will often block the receiver. Rebooting ActiveMQ fixes this... Scenario: Send the file: jmsstream --topic topic/BigDurable --dest demo --timeout 0 /vmlinuz Start the receiver and interrupt it: jmsstream --topic topic/BigDurable --ident MyName --dest demo --prefix ./ --verbose New dest: .//vmlinuz Request: 1 Request: 2 Request: 3 CTRL-C typed here When you restart the receiver it just hangs with 4 messages in the queue > Signature typo shows off in JMX MBean view and problem with resubscribing to durable topic + PATCH > -------------------------------------------------------------------------------------------------- > > Key: AMQ-1150 > URL: https://issues.apache.org/activemq/browse/AMQ-1150 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Environment: Testing against current SVN version with Java1.5 on Linux > Reporter: Tom Vijlbrief > Attachments: mbean.png, SubscriptionPatch.txt > > > I had a problem with durable topics. Scenario: a durable topic client is interrupted (CTRL-C) while it is > fetching messages from the topic. When the client is restarted it does not receive the remaining messages! > After stopping the broker and restarting it, the remaining messages will be delivered when the client > is restarted, so they are not lost. > While investigating this I found that there is a typo in the signature of various methods (subcription instead of subScription). > This typo is visible in the MBeans jconsole environment. (see screendump) > I created a patch for this (see attachment) and surprise, > I cannot reproduce the durable topic problem... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.