com.arjuna.ats.arjuna.exceptions.ObjectStoreException: ARJUNA012225: FileSystemStore::setupStore - cannot access root of object store: //ObjectStore/ShadowNoFileLockStore/defaultStore/

40 views
Skip to first unread message

Jery Pulikkottil Vincent

unread,
Jul 29, 2021, 3:27:24 AM7/29/21
to narayana-users
I am getting below error, any idea how to resolve it?

Ondra Chaloupka

unread,
Jul 29, 2021, 3:35:31 AM7/29/21
to narayana-users
Hi jery.vincent,

please, can you share with us what is your environment (standalone, app server, quarkus...)? And maybe share with us your transaction (subsystem) setup?

In general. This error sounds that there is a trouble for Narayana to access the object store (the transaction log, the place on the hard drive where transaction records are stored). Narayana uses configuration via system properties and with (by default) `jbossts-properties.xml` descriptor. Some details on Narayana configuration can be found in this section in blog: https://jbossts.blogspot.com/2018/01/narayana-periodic-recovery-of-xa.html#configuration

As first step of investigation verify how the object store location is configured (https://github.com/jbosstm/narayana/blob/5.12.0.Final/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/common/ObjectStoreEnvironmentBean.java#L43) and you can try to change it with system property `-DObjectStoreEnvironmentBean.objectStoreDir`.

Ondra

Michael Musgrove

unread,
Jul 29, 2021, 8:22:27 AM7/29/21
to narayana-users
The comment in the code says "The root of the objectstore must exist and be writable", so to add to what Ondra asked for can you then verify that the actual store location that you have configured exists and is writable?
Reply all
Reply to author
Forward
0 new messages