2 Replies Latest reply on Apr 14, 2013 5:18 PM by max010

    JBoss 7 deployment to production/live environment

    max010

      Hi,

       

      I have succesfully deployed an application in a JBoss 7.1.1 container.

       

      I have used the standalone mode and I have removed the scanner from the standalone.xml as suggested in https://community.jboss.org/thread/213611.

       

      Below are the steps I take:

       

      First I use the CLI to undeploy the .war that is in currently in the production/live machine.

       

      I then create a new .war and push it in the /standalone/deployments directory of the production machine. (In the /standalone/deployments directory there are no deployment descriptor files but only the .war).

       

      Then I use the CLI to deploy the new .war.

       

      Is this the way to deploy to a live environment or is there a better way.

       

      Note: the JBoss container during the above steps is never stopped.

       

      Thanks,

       

      Max

        • 1. Re: JBoss 7 deployment to production/live environment
          jaikiran

          M Mudu wrote:

           

          Below are the steps I take:

           

          First I use the CLI to undeploy the .war that is in currently in the production/live machine.

           

          I then create a new .war and push it in the /standalone/deployments directory of the production machine. (In the /standalone/deployments directory there are no deployment descriptor files but only the .war).

           

          Then I use the CLI to deploy the new .war.

           

          If you are using CLI or admin console or programatic managment APIs to deploy, then you don't have to place the deployment in the standalone/deployments folder.

          • 2. Re: JBoss 7 deployment to production/live environment
            max010

            Thank you Jaikiran.