File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes javax.transaction.RollbackException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply locked New topic
Author

javax.transaction.RollbackException

Deva Devan
Ranch Hand

Joined: Sep 22, 2010
Posts: 39
Hi,

I am using jboss-6.0.0 with hornetq for message transaction. i am facing the following exception when i am pushing huge volume of logs.
After getting this exception data losses happen in database (Postgresql).


2011-03-12 13:41:57,537 WARN [com.arjuna.ats.arjuna] (Thread-1 (group:HornetQ-client-global-threads-225959996)) ARJUNA-12077 Abort called on already aborted atomic action 0:ffff0a02010c:126a:4d7b77a0:32
2011-03-12 13:41:57,538 WARN [org.hornetq.ra.inflow.HornetQMessageHandler] (Thread-1 (group:HornetQ-client-global-threads-225959996)) Unable to call after delivery: javax.resource.ResourceException: javax.transaction.RollbackException: ARJUNA-16063 The transaction is not active!
at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.after(MessageInflowLocalProxy.java:263) [:1.7.17]
at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.invoke(MessageInflowLocalProxy.java:140) [:1.7.17]
at $Proxy138.afterDelivery(Unknown Source) at org.hornetq.ra.inflow.HornetQMessageHandler.onMessage(HornetQMessageHandler.java:260) [:6.0.0.Final]
at org.hornetq.core.client.impl.ClientConsumerImpl.callOnMessage(ClientConsumerImpl.java:822) [:6.0.0.Final]
at org.hornetq.core.client.impl.ClientConsumerImpl.access$100(ClientConsumerImpl.java:46) [:6.0.0.Final]
at org.hornetq.core.client.impl.ClientConsumerImpl$Runner.run(ClientConsumerImpl.java:940) [:6.0.0.Final]
at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:100) [:6.0.0.Final]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_17]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_17]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_17]
Caused by: javax.transaction.RollbackException: ARJUNA-16063 The transaction is not active!
at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1148) [:6.0.0.Final]
at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:119) [:6.0.0.Final]
at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75) [:6.0.0.Final]
at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.endTransaction(MessageInflowLocalProxy.java:464) [:1.7.17]
at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.finish(MessageInflowLocalProxy.java:343) [:1.7.17]
at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.after(MessageInflowLocalProxy.java:259) [:1.7.17]
... 10 more

2011-03-12 13:48:43,985 WARN [com.arjuna.ats.arjuna] (Transaction Reaper Worker 9) ARJUNA-12121 TransactionReaper::doCancellations worker Thread[Transaction Reaper Worker 9,5,jboss] successfully canceled TX 0:ffff0a02010c:126a:4d7b77a0:24e
2011-03-12 13:48:46,756 WARN [com.arjuna.ats.arjuna] (Transaction Reaper) ARJUNA-12117 TransactionReaper::check timeout for TX 0:ffff0a02010c:126a:4d7b77a0:252 in state RUN
2011-03-12 13:48:46,757 WARN [com.arjuna.ats.arjuna] (Transaction Reaper Worker 9) ARJUNA-12095 Abort of action id 0:ffff0a02010c:126a:4d7b77a0:252 invoked while multiple threads active within it.
2011-03-12 13:48:46,757 WARN [com.arjuna.ats.arjuna] (Transaction Reaper Worker 9) ARJUNA-12108 CheckedAction::check - atomic action 0:ffff0a02010c:126a:4d7b77a0:252 aborting with 1 threads active!
2011-03-12 13:48:46,761 WARN [com.arjuna.ats.arjuna] (Transaction Reaper Worker 9) ARJUNA-12121 TransactionReaper::doCancellations worker Thread[Transaction Reaper Worker 9,5,jboss] successfully canceled TX 0:ffff0a02010c:126a:4d7b77a0:252


Please let me know how to solve this issue.

Thanks in Advance

Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9327
    
110

Please continue in your other thread here http://www.coderanch.com/t/528634/JBoss/javax-transaction-RollbackException-jboss

[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javax.transaction.RollbackException
 
Similar Threads
Transaction is alternating Timeouts
Problem with XA Transactions in JBoss when use multiple datasources for related tables
Performance MDB
JBoss 6 Shutdown - Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableExce
javax.transaction.RollbackException in jboss 6