2 Replies Latest reply on Feb 11, 2014 4:06 AM by mohamad.kassir

    Changing the default configuration file in standalone mode

    mohamad.kassir

      When starting jboss 7 using standalone.bat/sh without passing any parameters , the configuration file used is by default standalone.xml.

      To use another configuration file, I use the option -c with the name of the file , for example : standalone.bat -c standalone-full.xml

      Is it possible to configure jboss to change the default configuration file ?

        • 1. Re: Changing the default configuration file in standalone mode
          wdfink

          There is no option for this. But I don't understand the why you want to do that.

          All standalone*.xml are, more or less, examples. Change the config you want and rename it to standalone.xml.

          1 of 1 people found this helpful
          • 2. Re: Changing the default configuration file in standalone mode
            mohamad.kassir

            Yes eventually I thought of that, I have a specific need during an applicative migration project where I would like to create a customized standalone-*.xml configuration which will be modified during the migration of applications in order to arrive the final profile by the end of the project. I thought it would be easier to developers to have this file as default configuration without losing the original standalone.xml, but this can be done by renaming the files .. Thanks for your answer anyways