On 13/01/2011 15:47, Christopher Schultz wrote:
> 1. WAR file starts copying, whether a huge, local file or a
> moderately-sized remote file via the manager interface.... the point is
> that this takes some time
If done via the Manager interface this will never be an issue. The
Manager does a few extra things to protect against this. If you do scp
or similar then you might hit the issue.

Mark

> 2. Tomcat scans the webapps folder for .war files that have been changed
> since it's last auto-deploy cycle and finds the new webapp
> 3. Tomcat attempts to auto-deploy the webapp, but the war file is not
> complete, so Bad Things Happen
> 4. WAR file completes copying
> 
> :(
> 
> I can think of a few ways around this:
> 
> 1. Upgrade. It's possible issues with auto-deploy and/or manager have
> been resolved. Read the ChangeLog.
> 2. Only use the manager webapp to deploy your apps.
> 3. Disable auto-deploy AND only use the manager webapp to deploy your
> webapps. This will prevent mid-copy deployments.
> 4. Stop Tomcat before deploying, which will solve everything :)
> 
> Hope that helps,
> -chris

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



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

Reply via email to