title: Set a path to an outside-the-app file in web.xml
body: <p>I'm working in a java webapp that uses Picketlink package. This package needs a config file ( picketlink.xml ) that is located in WEB-INF directory by default. This app will be hosted in 3 different linux <strong>jboss</strong> servers/environments (development, testing and production).
  This configuration file is different for each env.</p>
  <p>It's a project requirement that I have only one single build (single artifact) for all envs, so env-specific stuff must be in the server (can't use profiles). So, I need to store this file in the server itself and reference it from inside the app.</p>
  <p>The documentation recommends that I use a context-param inside my <strong>web.xml</strong> to point to this external file:</p>
  <pre><code>&lt;context-param&gt;
    &lt;param-name&gt;CONFIG_FILE&lt;/param-name&gt;
    &lt;param-value&gt;/path/to/picketlink.xml&lt;/param-value&gt;
  &lt;/context-param&gt;
  </code></pre>
  <p>I just can't make it work as the app does not find the file.
  What would be the right way to write this path? I wanted something like this:</p>
  <pre><code>&lt;context-param&gt;
    &lt;param-name&gt;CONFIG_FILE&lt;/param-name&gt;
    &lt;param-value&gt;home/user/picketlink_config/picketlink.xml&lt;/param-value&gt;
  &lt;/context-param&gt;
  </code></pre>