3 Replies Latest reply on Nov 26, 2014 8:44 AM by Tomaž Cerar

    jboss-eap-6.1 - Is it possible to deploy a configuration item via the "deployments" watch folder?

    J Smith Newbie

      I'm using jboss-eap-6.1 (Jboss 7.2) and I wanted to know if I could leverage with watch folder (deployments) for the standalone to make adjustments to the jboss configuration by uploading *.xml files.  Drop a war/ear file into the the deployments folder it deploys the application just fine.  I can drop an XML file in the deployments folder and it deploys it successfully, but the end result is that it doesn't do what the XML configuration is configured to do.



      I took the following XML (testing.xml) and dropped it into the deployments folder and Jboss indicated that it deployed successfully.

      <server xmlns="urn:jboss:domain:1.4">


        <subsystem xmlns="urn:jboss:domain:deployment-scanner:1.1">

         <deployment-scanner path="testing" relative-to="jboss.server.base.dir" scan-interval="5000"/>




      The above config should have updated the "testing" path as an additional watch folder, but didn't so the question is...can I use the deployment folder to upload XML files to change things like logging details or add a JDBC datasource?