tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: deployment starts before file being copied completely
Date Thu, 15 Nov 2007 02:39:28 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Amit,

amit mehta wrote:
> Is there a way to control/restrict this behavior so that tomcat does not
> start deploying before war file is completely copied?

Nothing out of the box: you'll have to roll your own solution.

You could get around this by targeting your scp to a temporary
directory, and then moving the file to the deployment directory.

If you use the manager application, you might have better luck uploading
the WAR through that to update it, since I'm guessing the manager app
uses a upload-to-temp-location-then-deploy strategy.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHO7Ff9CaO5/Lv0PARAi4JAJ4wuR80xBAjfcuNs1PyE+IqOLePmQCfV7fc
Svcd4+9z6DFlbxZ2iiG+8OA=
=bjMH
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message