activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rtselvan <rtsel...@gmail.com>
Subject the connection is already closed
Date Mon, 01 May 2006 17:07:06 GMT

The following exception is thrown when a long running consumer completes the
task. I guessing that this also leads to
http://www.nabble.com/Messages-get-redelivered-more-than-once-t1478185.html


2006-05-01 01:14:03,917 WARN  [org.jboss.tm.TransactionImpl] XAException:
tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=ramptap02/134,
BranchQual=, localId=134] errorCode=XAER_RMFAIL
javax.transaction.xa.XAException: The connection is already closed
        at
org.apache.activemq.TransactionContext.toXAException(TransactionContext.java:589)
        at
org.apache.activemq.TransactionContext.rollback(TransactionContext.java:414)
        at
org.apache.activemq.ra.LocalAndXATransaction.rollback(LocalAndXATransaction.java:126)
        at
org.jboss.tm.TransactionImpl$Resource.rollback(TransactionImpl.java:2274)
        at
org.jboss.tm.TransactionImpl.rollbackResources(TransactionImpl.java:1834)
        at org.jboss.tm.TransactionImpl.rollback(TransactionImpl.java:409)
        at org.jboss.tm.TxManager.rollback(TxManager.java:363)
        at
org.jboss.ejb3.plugins.inflow.MessageInflowLocalProxy.endTransaction(MessageInflowLocalProxy.java:467)
        at
org.jboss.ejb3.plugins.inflow.MessageInflowLocalProxy.finish(MessageInflowLocalProxy.java:349)
        at
org.jboss.ejb3.plugins.inflow.MessageInflowLocalProxy.after(MessageInflowLocalProxy.java:271)
        at
org.jboss.ejb3.plugins.inflow.MessageInflowLocalProxy.invoke(MessageInflowLocalProxy.java:165)
        at $Proxy296.afterDelivery(Unknown Source)
        at
org.apache.activemq.ra.MessageEndpointProxy$MessageEndpointAlive.afterDelivery(MessageEndpointProxy.java:125)
        at
org.apache.activemq.ra.MessageEndpointProxy.afterDelivery(MessageEndpointProxy.java:64)
        at
org.apache.activemq.ra.ServerSessionImpl.afterDelivery(ServerSessionImpl.java:214)
        at org.apache.activemq.ActiveMQSession.run(ActiveMQSession.java:748)
        at
org.apache.activemq.ra.ServerSessionImpl.run(ServerSessionImpl.java:163)
        at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)
        at
org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275)
        at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
        at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.activemq.ConnectionClosedException: The connection is
already closed
        at
org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1127)
        at
org.apache.activemq.TransactionContext.rollback(TransactionContext.java:403)
        ... 19 more

Thanks
/selvan
--
View this message in context: http://www.nabble.com/the-connection-is-already-closed-t1535647.html#a4172245
Sent from the ActiveMQ - User forum at Nabble.com.


Mime
View raw message