5 Replies Latest reply on Dec 23, 2012 8:06 AM by jaikiran

    JBOSS 7 Domain Mode App Deployments

    michadmin

      Hello -

       

      It looks like deployment scanner is for jboss running in standalone only. Is there something similar for JBOSS 7 running in domain mode? maybe using JON? Is there a directory where you can drop EAR, WAR etc.. files to be automatically deployed?

       

      Thank you,

      Micky

        • 1. Re: JBOSS 7 Domain Mode App Deployments
          nickarls

          There was a discussion on this recently.

          File-based deployment is not supported for domain mode, use the CLI or the web console.

          • 2. Re: JBOSS 7 Domain Mode App Deployments
            michadmin

            Thank you, so in order to perform file-based deployment jboss cluster should be running in standalone mode? This way the application will be dropped in deployments directory of your cluster nodes.

            Is that correct? Am i missing something?

             

            Cheers,

            Micky

            • 3. Re: JBOSS 7 Domain Mode App Deployments
              nickarls

              I think the term "cluster running in standalone mode" is a bit contradictionary.

               

              Deployments in domain mode should be done with the CLI or console. I don't know the reason for this - perhaps a rollback of the deployment plan is easier when there is no real physical file to deal with later or something.

              • 4. Re: JBOSS 7 Domain Mode App Deployments
                wdfink

                If you want to have a similar behaviour with filebased deployment as in AS4/5/6 you might install all nodes as 'standalone'.

                - But remember sharing deploy directory as in former versions are NOT possible.

                - Farming is not supportet, that is what domain-mode is for.

                 

                The recomended way to keep such cluster configuration in-sync is to configure a domain.

                You are able to create a program/script which monitor a central directory with deployables and use CLI to deploy it. But this will be a bit complicated as you have to check new/update/delete

                 

                So it depends on your requirements what approach you use

                1 of 1 people found this helpful
                • 5. Re: JBOSS 7 Domain Mode App Deployments
                  jaikiran

                  FWIW - there's a feature request to support filesystem based deployments in a domain https://issues.jboss.org/browse/AS7-5781

                  1 of 1 people found this helpful