Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What causes Arjuna 1603 (Could not find new XAResource to use for recovering non-serializable XAResource)

I have no experience with Arjuna, but my log file gets filled with:

2011-06-27 09:25:18,021 WARN  [com.arjuna.ats.jta] (Periodic Recovery) ARJUNA-16037 Could not find new XAResource to use for recovering non-serializable XAResource  formatId=131076, gtrid_length=29, bqual_length=28, tx_uid=0:ffff0a2012b7:126a:4e006635:2ba0, node_name=1, branch_uid=0:ffff0a2012b7:126a:4e006635:2ba1, eis_name=unknown eis name

2011-06-27 09:25:18,021 WARN  [com.arjuna.ats.jta] (Periodic Recovery) ARJUNA-16038 No XAResource to recover < formatId=131076, gtrid_length=29, bqual_length=28, tx_uid=0:ffff0a2012b7:126a:4e006635:2ba0, node_name=1, branch_uid=0:ffff0a2012b7:126a:4e006635:2ba1, eis_name=unknown eis name >

Those two messages always come together, and they are written periodically. The count of these messages increases with the uptime of the JBoss server instance. Since my application (it's an MDB consuming messages from a remote ActiveMQ) has some issues and these are the only log messages I get, I really want to know the reason for it.

like image 652
Laures Avatar asked Jun 27 '11 08:06

Laures


3 Answers

To get rid of the error, stop the jboss instance and remove the folder $JBOSS/standalone/data/tx-object-store

like image 183
vintuwei Avatar answered Nov 10 '22 16:11

vintuwei


Here are explanations:

  • https://community.jboss.org/wiki/TxNonSerializableXAResource

  • http://planet.jboss.org/post/norecoveryxa

Maybe your transaction lasts too long and you get into the timing issue described in the second link. Have you increased the server's transaction timeout ?

like image 24
Yves Martin Avatar answered Nov 10 '22 18:11

Yves Martin


See JBossDeveloper Forum#thread 221033

Essential part:

The simplest solution: Find this path {JBOSS_HOME}/standalone/data/tx-object-store/ShadowNoFileLockStore/defaultStore/StateManager/BasicAction/TwoPhaseCoordinator/AtomicAction

Inside AtomicAction find some transaction related files and after removing those files this issue will be solved.

But forum contains reasons and more 'system friendly' solution.

like image 4
Evgeniy Avatar answered Nov 10 '22 18:11

Evgeniy