tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christoph P.U. Kukulies" <k...@kukulies.org>
Subject Re: war file incompletely deployed
Date Tue, 08 Nov 2016 08:47:41 GMT
Am 07.11.2016 um 19:09 schrieb Caldarale, Charles R:
>> From: Christoph P.U. Kukulies [mailto:kuku@kukulies.org]
>> Subject: Re: war file incompletely deployed
>> This makes sense somehow, but wouldn't a local move or copy from within
>> the server's filesystem have the same complications?
> No, a local mv or rename in a modern file system simply changes the directory structure;
no copy is performed.  A copy does stand a chance of being caught in the middle, but the timing
window is much, much smaller.  Best to use mv/rename whenever possible.
>
>   - Chuck
So 'touch' a .LCK file in a  place outside webapps, copy over the file, 
when copy done remove the .LCK file.
  On the server a background process is running watching for the .LCK 
file. when it's gone, it does the 'mv'.
(a mv can imply a copy though when it goes across filesystems on 
different drives).

--
Christoph


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


Mime
View raw message