activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajika Kumarasiri <raj...@wso2.com>
Subject Re: javax.jms.JMSException: Transaction 'tx-id' has not been started error while using the broker
Date Tue, 06 Apr 2010 09:44:11 GMT
Thanks Gary. I'll give a try and let you know.

Rajika

On Tue, Apr 6, 2010 at 3:05 PM, Gary Tully <gary.tully@gmail.com> wrote:

> There has been a lot of work in this area, I would advise upgrading to
> version 5.3.1 <http://activemq.apache.org/activemq-531-release.html>
>
> On 6 April 2010 10:18, Rajika Kumarasiri <rajika@wso2.com> wrote:
>
> > hi,
> > I am using the activemq broker 5.2 ( on Fedora 11) as the JMS provider.
> > Using a JMS consumer I am connecting to this broker. The client uses JMS
> > transacted session. I am getting the following exception and the stack
> > trace[1] when client tries to call session.rollback(). It works fine when
> > calling commit on the session ( session.commit()) . Do you have any idea
> > how
> > to fix this? Do you want more information? ( I tried search for solution
> > but
> > couldn't find any useful information).
> > Thanks in advance.
> > Rajika
> >
> > [1]
> >
> > ERROR Service                        - Async error occurred:
> > javax.jms.JMSException: Transaction
> > 'TX:ID:localhost-55886-1270542729317-0:2:1' has not been started.
> > javax.jms.JMSException: Transaction
> > 'TX:ID:localhost-55886-1270542729317-0:2: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.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:203)
> >    at
> > org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:185)
> >    at java.lang.Thread.run(Thread.java:619)
> >
> >
> > --
> > http://rajikak.blogspot.com/
> >
>
>
>
> --
> http://blog.garytully.com
>
> Open Source Integration
> http://fusesource.com
>



-- 
http://rajikak.blogspot.com/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message