On Nov 21, 2013, at 4:04 PM, Crystal Maramba <cmara...@acumenllc.com> wrote:

> Is there a better way to deploy the  war files?

If you're using Tomcat 7, it's called Parallel Deployment.

  
http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Parallel_deployment
  http://www.tomcatexpert.com/blog/2011/05/31/parallel-deployment-tomcat-7

Dan

> 
> 
> -          Currently,  I delete  the old war file in the \webapps
> 
> -          Copy and paste the new war file in the \webapps directory
> 
> -          At times, I have to restart the service because it takes a while 
> to load the new war after it has pasted in directory.
> 
> Note:  I added a string in the server.xml file to automatically unpack the 
> war files:
> <Host name="localhost"  appBase="webapps"
>            unpackWARs="true" autoDeploy="true">
> 
> I know we deploy it through the Tomcat Manager by doing the following:
> 
> 
> -          Log on to Tomcat Manager
> 
> -          Click un-deploy
> 
> -          Copy the new war file in the \webapps directory
> 
> -          Click redeploy
> 
> Is the tomcat manager method the preferred method and are the steps correct?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to