title: Running Jboss 7 using different config folder under standalone-servers
body: <p>I'm used to jboss 5 deployment schemes where i use this command to deploy:</p>
  
  <pre><code>D:\jboss5\bin\run.bat -c ZZZ
  </code></pre>
  
  <p>which will deploy whatever in the <strong>jboss5\server\ZZZ</strong> folder</p>
  
  <p>I have this structure on my jboss7:</p>
  
  <pre><code>D:\jboss7\
  +standalone-servers
  ++ZZZ
  +++modules
  </code></pre>
  
  <p>when i try to run jboss7 like this:</p>
  
  <pre><code>D:\jboss7\bin\standalone-servers.bat -c ZZZ
  </code></pre>
  
  <p>it complains with the following:</p>
  
  <blockquote>
    <p>org.jboss.modules.ModuleNotFoundException: Module
    org.jboss.as.standalone:main is not found in local module loader
    @7559ec47 (roots: D:\jboss7\standalone-servers\modules)   at
    org.jboss.modules.LocalModuleLoader.findModule(LocalModuleLoader.java:126)
      at
    org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:275)
      at
    org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:222)
      at
    org.jboss.modules.LocalModuleLoader.preloadModule(LocalModuleLoader.java:94)
      at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:204)
      at org.jboss.modules.Main.main(Main.java:262)</p>
  </blockquote>
  
  <p>how to tell jboss7 to look for the right configuration that resides in the folder ZZZ?</p>
  
  <p>appreciate for answers</p>