1 Reply Latest reply on Sep 10, 2014 8:11 AM by Kuldeep Sharma

    How to enable custom deploy folder in jboss 6 EAP

    Neetha Lokanath Newbie

      Hi all,

       

      can anybody let me know how to add/enable the custom deploy folder in jboss 6 EAP.

       

      Right now, my deployment folder is D:\jboss-eap-6.2\standalone\deployments which is default. Along with this default directory , i want to add other folders say D:/Reports/ as my deplolyment folder. Any idea?

        • 1. Re: How to enable custom deploy folder in jboss 6 EAP
          Kuldeep Sharma Novice

          Add below to your configuration file (standalone.xml).

          <paths>

                  <path name="deploydir" path="D:/Reports/"/>

          </paths>

          and in deployment scanner subsystem, add below :

           

          <deployment-scanner path="deployments" relative-to="deploydir" scan-enabled="true" scan-interval="10"/>

           

          After this create "deployments" directory in D:/Reports/ and restart your server. You can also do same using CLI.

           

           

          Thanks!!