2 Replies Latest reply on Oct 3, 2012 1:05 AM by srinivas.bijjam

    deployment issue

    srinivas.bijjam

      Hi All

         In C:\jboss-as-7.1.1.Final\standalone\deployments folder, I have files like

      1) test.ear

      2)oracle-ds.xml

      3) application.properties

      4) customconfig.xml

       

      when I start server using "standalone.bat -c standalone-full.xml" , the server is trying to deploy the other files like xml, props etc along with ear file which is causing problems for me.

      I want the files to be available in this folder for some other purpose.

       

      1) How can I ask the server to deploy only test.ear?

      2) Some times I create some xmls related to datasource and config dynamically and store them in deployments folder. Server is trying to auto deploy them. How can I stop this ?

       

      Regards

      Srini

        • 1. Re: deployment issue
          lafr

          Create a file with suffix .skipdeploy for each of them, e.g. customconfig.xml.skipdeploy.

          As long as this file is present, JBossAS is not trying to deploy the other file.

          1 of 1 people found this helpful
          • 2. Re: deployment issue
            srinivas.bijjam

            I got the problem solved.

            Just keep the ds.xml files in deployments folder and automatically binding will happen once these files get deployed