title: How to change JBoss eap 6.1 deployment folder
body: <p>I'm trying to change deployment folder for JBoss without success. 
  Regarding some information which I've found on google I was trying to change <code>standalone.xml</code> configuration file. I've added following lines after <code>&lt;extensions&gt;</code> node :</p>
  
  <blockquote>
  <pre><code>&lt;system-properties&gt;
  &lt;property name="deploydir" value="/home/Artur"/&gt;
  &lt;/system-properties&gt;
  </code></pre>
  </blockquote>
  
  <p>And I've changed <code>&lt;subsystem xmlns="urn:jboss:domain:deployment-scanner:1.1"&gt;</code> as following:</p>
  
  <blockquote>
  <pre><code>    &lt;subsystem xmlns="urn:jboss:domain:deployment-scanner:1.1"&gt;
          &lt;deployment-scanner path="deployments" relative-to="deploydir" scan-interval="10000"/&gt;
      &lt;/subsystem&gt;
  </code></pre>
  </blockquote>
  
  <p>I have the following path <code>/home/Artur/deployments</code> on my system. 
  But when i try to run JBoss server I always get an error :</p>
  
  <blockquote>
    <p>09:05:21,283 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 2) JBAS014612: Operation ("add") failed - address: ([
        ("subsystem" => "deployment-scanner"),
        ("scanner" => "default")
    ]): java.lang.IllegalArgumentException: JBAS014847: Could not find a path called 'deployments'</p>
  </blockquote>
  
  <p>I was trying to configure it with different paths on my system, I was checking also for spelling in every case. But nothing helps. Does anyone have and idea how to properly configure path for deployment folder in JBoss ? (version as in title)</p>