I am configuring a couple of sub-systems to change the location files are stored. They are transactions and messaging. This post will stick to transactions to keep it simple. Though the same issue is relevant for messaging.

After some testing it seems the relative-to property resolving is not working as expected.

I want the transactions files to be stored in this location

/mnt/disk-b/as7/tx-object-store

I am running standalone sever and as7 built from master branch as the 06/Oct.

Regarding your initial post, you cannot set up a path using a system property. You need to add a <path> element in standalone.xml, domain.xml or host.xml.

As discussed in the xsd, the AS creates a few standard paths with either default values or values driven by system properties. Those are for things like the location of the configuration dir; generally things that need to be known before parsing the configuration file can even be done. But there is no general feature where we analyze system properties for a particular pattern and if found create paths from those.