activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lexsoto <lexs...@gmail.com>
Subject Transaction issues
Date Wed, 25 May 2011 14:41:53 GMT
Hello:

I am experiencing issues using AMQ 5.5 in a container environment (JBoss
5.1) with XA transactions. One of the errors I am seeing in the JBoss side
is:
2011-05-25 10:30:18,768 WARN 
[org.apache.activemq.ra.ActiveMQManagedConnection] (ActiveMQ Connection
Executor: tcp://usmia-jmsdev02.crcpress.local:61616) Connection failed:
javax.jms.JMSException: Transaction
'XID:131075:312d613937303434613a646365393a34646461626262363a326236646138:613937303434613a646365393a34646461626262363a326236646139'
has not been started.
2011-05-25 10:30:18,790 WARN 
[org.jboss.resource.connectionmanager.TxConnectionManager] (ActiveMQ
Connection Executor: tcp://usmia-jmsdev02.crcpress.local:61616) Connection
error occured:
org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener@4c6cf7ba[state=NORMAL
mc=org.apache.activemq.ra.ActiveMQManagedConnection@960bc71 handles=0
lastUse=1306333818768 permit=false trackByTx=false
mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool@2aff11d8
context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@4fec91f5
xaResource=org.apache.activemq.ra.ActiveMQManagedConnection$1@5fbfb89
txSync=null]
javax.jms.JMSException: Transaction
'XID:131075:312d613937303434613a646365393a34646461626262363a326236646138:613937303434613a646365393a34646461626262363a326236646139'
has not been started.
	at
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:49)
	at
org.apache.activemq.ActiveMQConnection.onAsyncException(ActiveMQConnection.java:1841)
	at
org.apache.activemq.ActiveMQConnection$2$1.run(ActiveMQConnection.java:1762)
	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)
Caused by: javax.transaction.xa.XAException: Transaction
'XID:131075:312d613937303434613a646365393a34646461626262363a326236646138:613937303434613a646365393a34646461626262363a326236646139'
has not been started.
	at
org.apache.activemq.broker.TransactionBroker.getTransaction(TransactionBroker.java:290)
	at
org.apache.activemq.broker.TransactionBroker.send(TransactionBroker.java:211)
	at
org.apache.activemq.broker.MutableBrokerFilter.send(MutableBrokerFilter.java:135)
	at
org.apache.activemq.broker.TransportConnection.processMessage(TransportConnection.java:458)
	at
org.apache.activemq.command.ActiveMQMessage.visit(ActiveMQMessage.java:681)
	at
org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:306)
	at
org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:179)
	at
org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:69)
	at
org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:113)
	at
org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:227)
	at
org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)
	at
org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:220)
	at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:202)
	... 1 more
 and in the AMQ server side is: 
2011-05-25 10:30:18,229 | WARN  | Async error occurred:
javax.transaction.xa.XAException: Transaction
'XID:131075:312d613937303434613a646365393a34646461626262363a326236646138:613937303434613a646365393a34646461626262363a326236646139'
has not been started. | org.apache.ac
tivemq.broker.TransportConnection.Service | ActiveMQ Transport:
tcp:///10.151.4.74:34817
javax.transaction.xa.XAException: Transaction
'XID:131075:312d613937303434613a646365393a34646461626262363a326236646138:613937303434613a646365393a34646461626262363a326236646139'
has not been started.
        at
org.apache.activemq.broker.TransactionBroker.getTransaction(TransactionBroker.java:290)
        at
org.apache.activemq.broker.TransactionBroker.send(TransactionBroker.java:211)
        at
org.apache.activemq.broker.MutableBrokerFilter.send(MutableBrokerFilter.java:135)
        at
org.apache.activemq.broker.TransportConnection.processMessage(TransportConnection.java:458)
        at
org.apache.activemq.command.ActiveMQMessage.visit(ActiveMQMessage.java:681)
        at
org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:306)
        at
org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:179)
        at
org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:69)
        at
org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:113)
        at
org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:227)
        at
org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)
        at
org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:220)
        at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:202)
        at java.lang.Thread.run(Thread.java:619)
Any help will be appreciated.

Thanks

--
View this message in context: http://activemq.2283324.n4.nabble.com/Transaction-issues-tp3549910p3549910.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message