title: JBoss 7 - retrieve path from system property in standalone.xml
body: <p>I'm trying to configure ssl in standalone.xml and pass value of path for keystore file by system property.</p>
  
  <p>My first try was to define path which value will be the property:</p>
  
  <pre><code>&lt;paths&gt;
      &lt;path name="ssl.dir" path="${ssl.dir.property}"/&gt;
  &lt;/paths&gt;
  </code></pre>
  
  <p>And consequently use it in ssl configuration:</p>
  
  <pre><code>&lt;server-identities&gt;
      &lt;ssl&gt;
          &lt;keystore path="server/server.keystore" relative-to="ssl.dir" keystore-password="xxxxxx"/&gt;
      &lt;/ssl&gt;
  &lt;/server-identities&gt;
  </code></pre>
  
  <p>But the system property "ssl.dir.property" is not resolved in this case. The value of "ssl.dir" is empty.
  If the value of system property is put directly into keystore path without definition of "relative-to", it also doesn't work.</p>
  
  <p>Do you know any way how to pass a path value into standalone.xml which could be used as keystore path?</p>
  
  <p>I couldn't find anything on the web so any help would be highly appreciated.</p>