Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 63802 invoked from network); 5 Apr 2005 18:23:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Apr 2005 18:23:56 -0000 Received: (qmail 68342 invoked by uid 500); 5 Apr 2005 18:23:49 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 68315 invoked by uid 500); 5 Apr 2005 18:23:49 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 68300 invoked by uid 99); 5 Apr 2005 18:23:49 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from lilzmailso02.liwest.at (HELO lilzmailso02.liwest.at) (212.33.55.24) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 05 Apr 2005 11:23:47 -0700 Received: from cm66-207.liwest.at ([212.241.66.207] helo=[192.168.0.5]) by lilzmailso02.liwest.at with esmtp (Exim 4.24) id 1DIsiD-0000b7-A1 for java-user@lucene.apache.org; Tue, 05 Apr 2005 20:23:41 +0200 Message-ID: <4252D7B0.6000104@eduhi.at> Date: Tue, 05 Apr 2005 20:23:44 +0200 From: Gusenbauer Stefan User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: java-user@lucene.apache.org Subject: Re: Can not delete cfs file References: <424EA872.5030100@eduhi.at> <0fd436753dd768a4ed74727306861e45@ehatchersolutions.com> <425044F0.1050805@eduhi.at> <19e31d6f76a3d3bc0e9c69ec78ae760f@ehatchersolutions.com> <4250FC35.2080204@eduhi.at> In-Reply-To: <4250FC35.2080204@eduhi.at> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Gusenbauer Stefan wrote: >Erik Hatcher wrote: > > > >>On Apr 3, 2005, at 3:33 PM, Gusenbauer Stefan wrote: >> >> >> >>>Sorry for beeing late! >>>Only the test code wouldn't be very useful for understanding because >>>there are a lot of dependencies in the other code. I can explain what >>>I do: I open an IndexWrite close it then open an IndexReader close it >>>and open an IndexWriter then close it. Then i try to delete the files >>>from the index and only the cfs file i cannot delete. I try to get >>>out the code which is involved later on. I get no failure message >>>only the >>>that the fail could not be removed. >>> >>> >>This is on Windows, I presume? >> >> Erik >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org >>For additional commands, e-mail: java-user-help@lucene.apache.org >> >> >> >> >> >Yes, I think it is a java with windows problem because since a use call >System.gc before deleting the file the streams are released. >Stefan > >--------------------------------------------------------------------- >To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org >For additional commands, e-mail: java-user-help@lucene.apache.org > > > > > I found the bug, i simply didn't close the indexreader in the testcase before. Shame on me that I've assumed that lucene had a bug! Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org