Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 80222 invoked from network); 11 Sep 2009 09:20:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Sep 2009 09:20:37 -0000 Received: (qmail 52823 invoked by uid 500); 11 Sep 2009 09:20:37 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 52758 invoked by uid 500); 11 Sep 2009 09:20:36 -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 52744 invoked by uid 99); 11 Sep 2009 09:20:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2009 09:20:36 +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; Fri, 11 Sep 2009 09:20:33 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5C251234C4AA for ; Fri, 11 Sep 2009 02:20:12 -0700 (PDT) Message-ID: <490260854.1252660812376.JavaMail.jira@brutus> Date: Fri, 11 Sep 2009 02:20:12 -0700 (PDT) From: "Gary Tully (JIRA)" To: dev@activemq.apache.org Subject: [jira] Resolved: (AMQ-2383) Simple transaction causes broker transaction has not been started exception In-Reply-To: <1634155556.1252609752256.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-2383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Tully resolved AMQ-2383. ----------------------------- Resolution: Fixed Fix Version/s: 5.3.0 committed test in r813734 it works fine on trunk and there is no log message. > Simple transaction causes broker transaction has not been started exception > --------------------------------------------------------------------------- > > Key: AMQ-2383 > URL: https://issues.apache.org/activemq/browse/AMQ-2383 > Project: ActiveMQ > Issue Type: Bug > Affects Versions: 5.2.0 > Environment: Os: Ubuntu 9.04 > java version "1.6.0_14" > Java(TM) SE Runtime Environment (build 1.6.0_14-b08) > Java HotSpot(TM) Server VM (build 14.0-b16, mixed mode) > ActiveMQ: 5.2.0 > Reporter: Cameron Gandevia > Assignee: Gary Tully > Fix For: 5.3.0 > > Attachments: ActiveMQTest.java > > > When I run the attached test case I notice the following exception in the logs. > javax.jms.JMSException: Transaction 'TX:ID:gr-gr-60307-1252609475470-2:1:1' has not been started. > at org.apache.activemq.broker.TransactionBroker.getTransaction(TransactionBroker.java:270) > at org.apache.activemq.broker.TransactionBroker.acknowledge(TransactionBroker.java:190) > at org.apache.activemq.broker.BrokerFilter.acknowledge(BrokerFilter.java:74) > at org.apache.activemq.broker.BrokerFilter.acknowledge(BrokerFilter.java:74) > at org.apache.activemq.broker.MutableBrokerFilter.acknowledge(MutableBrokerFilter.java:85) > at org.apache.activemq.broker.TransportConnection.processMessageAck(TransportConnection.java:456) > at org.apache.activemq.command.MessageAck.visit(MessageAck.java:205) > at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:305) > at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:179) > at org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:104) > at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68) > at org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:205) > at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:122) > at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:43) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:619) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.