ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

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 co[email protected]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
[[email protected]:9999 transactions] /subsystem=transactions/log-store=log-store/:probe()

3. List all transactions
[[email protected]:9999 transactions] ls /subsystem=transactions/log-store=log-store/transactions

4. Then delete the one that is causing the warning
[[email protected]: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:
cd /opt/CA/wildfly-idm/bin
sudo ./add-user.sh -s -u jbossadmin -p <PASS>


2. Connect to JBoss CLI (interactive)
/opt/CA/wildfly-idm/bin/jboss-cli.sh -c --user=jbossadmin --password=<PASS>

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

Additional Information

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