ARJUNA016037: Could not find new XAResource to use for recovering non-serializable XAResource XAResourceRecord
search cancel

ARJUNA016037: Could not find new XAResource to use for recovering non-serializable XAResource XAResourceRecord

book

Article ID: 129101

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal

Issue/Introduction



We have observed a repeated error in IM's JBoss / Wildfly log:
WARN [com.arjuna.ats.jta] (Periodic Recovery) ARJUNA016037: Could not find new XAResource to use for recovering non-serializable XAResource XAResourceRecord < resource:null, txid:< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffa409cc8a:1c01b1ff:5c7e95ac:eb, node_name=1, branch_uid=0:ffffa409cc8a:1c01b1ff:5c7e95ac:f0, subordinatenodename=null, eis_name=java:/JmsXA >, heuristic: TwoPhaseOutcome.FINISH_OK, product: HornetQ/2.0, jndiName: java:/JmsXA com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord@39b51494 >

Environment

IM 14.x (vApp and Standalone)
Jboss 6.x / Wildfly 8.2.x

Resolution

As per Redhat's official documentation, in EAP 6 there is a proper documented way of removing stale transaction records from the store. This works with all transaction store formats i.e. os file, hornetq aio and jdbc.

1. Log into jboss-cli
jboss-cli.sh -c --user=<USERNAME> --password=<PASS>

2. Refresh the transaction store
[standalone@localhost:9999 transactions] /subsystem=transactions/log-store=log-store/:probe()

3. List all transactions
[standalone@localhost:9999 transactions] ls /subsystem=transactions/log-store=log-store/transactions

4. Then delete the one that is causing the warning
[standalone@localhost:9999 transactions] /subsystem=transactions/log-store=log-store/transactions=0:ffffa409cc8a:1c01b1ff:5c7e95ac:eb:delete()

{"outcome" => "success"}

For Identity Suite / vApp implementation, we must ensure the application server user is created first

1. Create JBoss CLI user:

For Identity Manager:

cd /opt/CA/wildfly-idm/bin

 

For Identity Governance:

cd /opt/CA/wildfly-ig/bin


sudo ./add-user.sh -s -u jbossadmin -p <PASS>



2. Connect to JBoss CLI (interactive)

For Identity Manager:

/opt/CA/wildfly-idm/bin/jboss-cli.sh -c --user=jbossadmin --password=<PASS>

 

For Identity Governance:

/opt/CA/wildfly-ig/bin/jboss-cli.sh -c --user=jbossadmin --password=<PASS>

And continue with the steps above to delete the relevant stale transaction

 

Note:

If you receive an error message while running the delete "delete is not a valid operation name" try the command as following:

/subsystem=transactions/log-store=log-store/transactions=0\:ffffa409cc8a\:1c01b1ff\:5c7e95ac\:eb:delete()

Additional Information

https://access.redhat.com/solutions/163433