Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 98413 invoked from network); 10 May 2006 10:14:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 May 2006 10:14:02 -0000 Received: (qmail 11191 invoked by uid 500); 10 May 2006 10:13:44 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 10961 invoked by uid 500); 10 May 2006 10:13:43 -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 10950 invoked by uid 99); 10 May 2006 10:13:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 May 2006 03:13:43 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [195.115.65.65] (HELO redfw1mod.brittany-ferries.fr) (195.115.65.65) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 10 May 2006 03:13:42 -0700 Received: from ([192.168.2.15]) by redfw1mod.brittany-ferries.fr; Wed, 10 May 2006 10:56:00 +0200 (CEST) Received: from [10.1.8.10] ([10.1.8.10]) by exchntr15.brittany-ferries.com with Microsoft SMTPSVC(5.0.2195.5329); Wed, 10 May 2006 12:13:15 +0200 Message-ID: <4461BCBB.8060000@brittany-ferries.fr> Date: Wed, 10 May 2006 12:13:15 +0200 From: =?UTF-8?B?TcOpZMOpcmljayBUaGViYXVsdA==?= Reply-To: m.thebault@brittany-ferries.fr User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: File deletion problem References: <33216015.1147255695643.JavaMail.root@fed1wml02.mgt.cox.net> In-Reply-To: <33216015.1147255695643.JavaMail.root@fed1wml02.mgt.cox.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 10 May 2006 10:13:15.0816 (UTC) FILETIME=[5A36F280:01C6741A] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Be sure in our webapp, that no reference of this file exists/is still valid. I use to set to null every object which used this file (logger for eg) and that my webapp want to delete. HTH vnug@cox.net a écrit : > Setup: > Tomcat - 5.0.28 > Java - 1.4.2 > OS - Windows XP > > Problem: > > Within my webapp there is a need to delete a file. When I try to delete the file sometimes it gives the message "the file can not be deleted beacuse it is being used by another user or process". The only way to get out of this situation is - stop tomcat, delete file, and start tomcat. We do not see this message always - it seems pretty random. We tried to isolate it, but unsuccessful. Any thoughts/comments? > > Thank You. > vasu > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org