Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 49985 invoked from network); 8 Jul 2009 19:02:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Jul 2009 19:02:20 -0000 Received: (qmail 10193 invoked by uid 500); 8 Jul 2009 19:02:29 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 10157 invoked by uid 500); 8 Jul 2009 19:02:29 -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 10147 invoked by uid 99); 8 Jul 2009 19:02:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jul 2009 19:02:29 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jul 2009 19:02:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 275B729A0012 for ; Wed, 8 Jul 2009 12:02:07 -0700 (PDT) Message-ID: <511657569.1247079727157.JavaMail.jira@brutus> Date: Wed, 8 Jul 2009 12:02:07 -0700 (PDT) From: "Mark Gellings (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQ-1763) Acknowledgment of Messages consumed from VirtualTopic consumer queues fails In-Reply-To: <1875403644.1212496320332.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-1763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52748#action_52748 ] Mark Gellings commented on AMQ-1763: ------------------------------------ Hey Gary. Thanks for helping out on this issue. I looked at your code and it looks like it should be replicating the problem and failing. Since it isn't, do you think you could try running the code the reporter attached. I'm thinking if you run the producer once and then the consumer messages will come through as expected. Then if you stop and run the consumer a second time the same messages will be redelivered. This forsurely replicates the problem when using the ActiveMQ NMS framework. If you could do this that would be great because maybe we are missing something in the unit test. I think if you run the reporters producer/consumer and everything works correctly then it's safe to assume this is an issue with the ActiveMQ NMS framework. -Regards PS Sorry about the previous comments. Looks like auto-reply can be a nuisance. Especially if you aren't aware of it. > Acknowledgment of Messages consumed from VirtualTopic consumer queues fails > --------------------------------------------------------------------------- > > Key: AMQ-1763 > URL: https://issues.apache.org/activemq/browse/AMQ-1763 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.1.0 > Environment: Windows XP, Java(TM) SE Runtime Environment (build 1.6.0_06-b02) > Reporter: Konrad Podloucky > Fix For: 5.4.0 > > Attachments: test.xml, TestConsumer.java, testPatch.patch, TestProducer.java > > > The Message Broker throws an exception each time a client tries to acknowledge a message consumed from a VirtualTopic consumer queue: > ERROR Service - Async error occurred: java.lang.IllegalArgumentException: The subscription does not exist: ID:seautpc271-1314-1212495185267-0:0:1:1 > java.lang.IllegalArgumentException: The subscription does not exist: ID:seautpc271-1314-1212495185267-0:0:1:1 > at org.apache.activemq.broker.region.AbstractRegion.acknowledge(AbstractRegion.java:357) > at org.apache.activemq.broker.region.RegionBroker.acknowledge(RegionBroker.java:470) > at org.apache.activemq.broker.TransactionBroker.acknowledge(TransactionBroker.java:194) > at org.apache.activemq.broker.BrokerFilter.acknowledge(BrokerFilter.java:73) > at org.apache.activemq.broker.BrokerFilter.acknowledge(BrokerFilter.java:73) > at org.apache.activemq.broker.MutableBrokerFilter.acknowledge(MutableBrokerFilter.java:84) > at org.apache.activemq.broker.TransportConnection.processMessageAck(TransportConnection.java:443) > at org.apache.activemq.command.MessageAck.visit(MessageAck.java:196) > at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:292) > at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:180) > at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68) > at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:143) > at org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:206) > at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:84) > at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:196) > at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:183) > at java.lang.Thread.run(Thread.java:619) > Consequently the message gets re-delivered as soon as the client connects to the queue again (and fails again on aknowledgement). Strangely enough the subscription mentioned in the exception is visible in the JMX console. I can reproduce this error every time I try to consume from VirtualTopic consumer queues. > I have attached the broker configuration (which is rather minimal) and the test classes I used to trigger this error. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.