activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: JMSException Transaction * has not been started
Date Fri, 05 May 2006 13:12:34 GMT
Did you get a stack trace on the client side when you tried to call
session.commit() ?

On 5/5/06, osian <osian@osian.me.uk> wrote:
>
> I am using the version that is deployed with the latest FUSE download, which
> is 4.0-SNAPSHOT, here is the stack trace from a producer:
>
> javax.jms.JMSException: Transaction 'TX:ID:pc6-2321-1146824021593-0:0:1976'
> has not been started.
>         at
> org.apache.activemq.broker.TransactionBroker.getTransaction(TransactionBroker.java:229)
>         at
> org.apache.activemq.broker.TransactionBroker.commitTransaction(TransactionBroker.java:152)
>         at
> org.apache.activemq.broker.BrokerFilter.commitTransaction(BrokerFilter.java:76)
>         at
> org.apache.activemq.broker.BrokerFilter.commitTransaction(BrokerFilter.java:76)
>         at
> org.apache.activemq.broker.MutableBrokerFilter.commitTransaction(MutableBrokerFilter.java:88)
>         at
> org.apache.activemq.broker.AbstractConnection.processCommitTransactionOnePhase(AbstractConnection.java:297)
>         at
> org.apache.activemq.command.TransactionInfo.visit(TransactionInfo.java:98)
>         at
> org.apache.activemq.broker.AbstractConnection.service(AbstractConnection.java:196)
>         at
> org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:62)
>         at
> org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:88)
>         at
> org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:70)
>         at
> org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:114)
>         at
> org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:122)
>         at
> org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:87)
>         at
> org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:136)
>         at java.lang.Thread.run(Thread.java:595)
> [2006-05-05 11:18:19 BST] <Thread-1> Exception : javax.jms.JMSException:
> Transaction 'TX:ID:pc6-2321-1146824021593-0:0:1977' has not been started.
> javax.jms.JMSException: Transaction 'TX:ID:pc6-2321-1146824021593-0:0:1977'
> has not been started.
>         at
> org.apache.activemq.broker.TransactionBroker.getTransaction(TransactionBroker.java:229)
>         at
> org.apache.activemq.broker.TransactionBroker.commitTransaction(TransactionBroker.java:152)
>         at
> org.apache.activemq.broker.BrokerFilter.commitTransaction(BrokerFilter.java:76)
>         at
> org.apache.activemq.broker.BrokerFilter.commitTransaction(BrokerFilter.java:76)
>         at
> org.apache.activemq.broker.MutableBrokerFilter.commitTransaction(MutableBrokerFilter.java:88)
>         at
> org.apache.activemq.broker.AbstractConnection.processCommitTransactionOnePhase(AbstractConnection.java:297)
>         at
> org.apache.activemq.command.TransactionInfo.visit(TransactionInfo.java:98)
>         at
> org.apache.activemq.broker.AbstractConnection.service(AbstractConnection.java:196)
>         at
> org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:62)
>         at
> org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:88)
>         at
> org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:70)
>         at
> org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:114)
>         at
> org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:122)
>         at
> org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:87)
>         at
> org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:136)
>         at java.lang.Thread.run(Thread.java:595)
>
> and another from a consumer
>
> Caught: javax.jms.JMSException: Transaction
> 'TX:ID:pc6-1788-1146833179015-0:0:122' has not been started.
> javax.jms.JMSException: Transaction 'TX:ID:pc6-1788-1146833179015-0:0:122'
> has not been started.
>         at
> org.apache.activemq.broker.TransactionBroker.getTransaction(TransactionBroker.java:229)
>         at
> org.apache.activemq.broker.TransactionBroker.commitTransaction(TransactionBroker.java:152)
>         at
> org.apache.activemq.broker.BrokerFilter.commitTransaction(BrokerFilter.java:76)
>         at
> org.apache.activemq.broker.BrokerFilter.commitTransaction(BrokerFilter.java:76)
>         at
> org.apache.activemq.broker.MutableBrokerFilter.commitTransaction(MutableBrokerFilter.java:88)
>         at
> org.apache.activemq.broker.AbstractConnection.processCommitTransactionOnePhase(AbstractConnection.java:297)
>         at
> org.apache.activemq.command.TransactionInfo.visit(TransactionInfo.java:98)
>         at
> org.apache.activemq.broker.AbstractConnection.service(AbstractConnection.java:196)
>         at
> org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:62)
>         at
> org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:88)
>         at
> org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:70)
>         at
> org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:114)
>         at
> org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:122)
>         at
> org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:87)
>         at
> org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:136)
>         at java.lang.Thread.run(Thread.java:595)
>
> Cheers,
> Osh
> --
> View this message in context: http://www.nabble.com/JMSException-Transaction-*-has-not-been-started-t1563748.html#a4246798
> Sent from the ActiveMQ - User forum at Nabble.com.
>
>


--

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message