title: Deploying a war outside of a deploy directory in jboss
body: <p>Hello: I am trying to deploy a war file outside of a deploy folder in jboss. I changed the context.xml with the following content:</p>
  
  <pre><code>&lt;Context docBase="C:\Apps\foo.war" reloadable="true" privileged="true" antiResourceLocking="false" path="/"&gt;&lt;/Context&gt;
  </code></pre>
  
  <p>The context file is inside jboss-5.1.0.GA\server\default\deploy\jbossweb.sar\ in 5.1.0.GA and jboss-4.2.3.GA\server\default\deploy\jboss-web.deployer\ in 4.2.3.GA.</p>
  
  <p>This is what I thought would be the only changes. But is not working. Can someone please tell me what other files do I have to modify?</p>
  
  <p>Thanks.</p>