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

    JBoss 7 deployment to production/live environment

    M Mudu Newbie



      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.