I would like to specify file paths using the JBoss provided substitutions, e.g. ${jboss.server.log.dir}.
I see that there are entries in standalone.xml such as
<file relative-to="jboss.server.log.dir" path="server.log"/>
but I don’t think I can use that everywhere I need a relative path. For example, I want to point to a keystore in …/standalone/ssl so I would like to just put
<ssl certificate-key-file="${jboss.server.base.dir}/ssl/cert"/>
as I would in JBoss 6 and earlier but when JBoss starts it cannot find the file ${jboss.server.base.dir}/ssl/cert and I have to fill in the absolute path to the file.
Is there something that I need to turn on in standalone.xml to make this work or is this no longer possible?
As of JBoss AS 7.1.0.Final, some SSL configuration can now be done using system property expressions. Using the following, should now work: