Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 44529 invoked from network); 1 Oct 2009 07:01:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Oct 2009 07:01:36 -0000 Received: (qmail 64496 invoked by uid 500); 1 Oct 2009 07:01:32 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 64416 invoked by uid 500); 1 Oct 2009 07:01:32 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 64405 invoked by uid 99); 1 Oct 2009 07:01:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 07:01:32 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [193.252.22.152] (HELO smtp5.freeserve.com) (193.252.22.152) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 07:01:21 +0000 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3422.me.freeserve.com (SMTP Server) with ESMTP id A8B151C00082 for ; Thu, 1 Oct 2009 09:00:51 +0200 (CEST) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3422.me.freeserve.com (SMTP Server) with ESMTP id 9A2301C00083 for ; Thu, 1 Oct 2009 09:00:51 +0200 (CEST) Received: from mx01.dev.local (unknown [91.109.180.76]) by mwinf3422.me.freeserve.com (SMTP Server) with ESMTP id 5F3F21C00082 for ; Thu, 1 Oct 2009 09:00:51 +0200 (CEST) X-ME-UUID: 20091001070051390.5F3F21C00082@mwinf3422.me.freeserve.com Received: from localhost (localhost [127.0.0.1]) by mx01.dev.local (Postfix) with ESMTP id B1918321F6 for ; Thu, 1 Oct 2009 08:01:14 +0100 (BST) X-Virus-Scanned: Debian amavisd-new at homeinbox.net Received: from mx01.dev.local ([127.0.0.1]) by localhost (mx01.dev.local [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QoiOXoQgekSr for ; Thu, 1 Oct 2009 08:01:08 +0100 (BST) Received: from [192.168.0.9] (study03.dev.local [192.168.0.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.dev.local (Postfix) with ESMTPSA id D22B4321AD for ; Thu, 1 Oct 2009 08:01:08 +0100 (BST) Message-ID: <4AC45397.3060801@apache.org> Date: Thu, 01 Oct 2009 08:00:39 +0100 From: Mark Thomas User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: 6.0.20 - New behavior on conf/Catalina//.xml update. Why redeploy? References: <4AC36A62.9080205@mail.ru> <4AC37156.7040103@apache.org> <4AC3789D.80103@mail.ru> <4AC3806B.6000607@apache.org> In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Peter Crowther wrote: > I know it's bad form to reply to my original mail - sorry! > > 2009/9/30 Peter Crowther : >> I wonder whether this is a race condition with some text editors. For >> example, if vi operated in the following way: >> 1) Rename context.xml to context.xml~ >> 2) Create context.xml, write contents, close file >> ... then a poll of the state of context.xml between 1 and 2 would show >> context.xml as missing. > > A swift perusal of the vim/gvim sources indicates that at least those > two editors operate in exactly this way. There's a small period when > the file would appear not to be present if polled. That could explain what Igor saw although the odds of it happening must be pretty small. Could you raise a bug for this in Bugzilla? For the fix I'm thinking along the lines of waiting 500ms if the file appears to be deleted to check that it doesn't re-appear before continuing. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org