Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 15320 invoked from network); 11 Oct 2005 09:28:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Oct 2005 09:28:10 -0000 Received: (qmail 68979 invoked by uid 500); 11 Oct 2005 09:28:05 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 68917 invoked by uid 500); 11 Oct 2005 09:28:04 -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 68906 invoked by uid 99); 11 Oct 2005 09:28:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Oct 2005 02:28:04 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of shoren@gmail.com designates 64.233.162.196 as permitted sender) Received: from [64.233.162.196] (HELO zproxy.gmail.com) (64.233.162.196) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Oct 2005 02:28:05 -0700 Received: by zproxy.gmail.com with SMTP id i28so863133nzi for ; Tue, 11 Oct 2005 02:27:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=c+mBjr3OJGs9WLaGbFqV3iMDIAspjnxeqy8iiLJ3LBto9SdPGNQ39idDNEp9TIVl1z6h2Q4iXKlHVklXA0Gx6ohBGqjWNfiehKgmxPGI9NzBittcvaYZuMmrYFt0kuaYPRMYXaAU//+zkWk4MG3GT49tboEcoTuOAPt1FCN2j9o= Received: by 10.36.12.20 with SMTP id 20mr4678648nzl; Tue, 11 Oct 2005 02:27:41 -0700 (PDT) Received: by 10.36.80.8 with HTTP; Tue, 11 Oct 2005 02:27:41 -0700 (PDT) Message-ID: Date: Tue, 11 Oct 2005 11:27:41 +0200 From: Oren Shir Reply-To: shoren@alum.cs.huji.ac.il To: java-user@lucene.apache.org Subject: Re: Getting index lock while indexing In-Reply-To: <037c01c5c4c0$c4da1a40$8400a8c0@AcusisBlr.lan> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_18090_14012069.1129022861469" References: <92A278501EF50444AD3EE1FFB51219550BCE397B@emss10m03.rck.atm.lmco.com> <037c01c5c4c0$c4da1a40$8400a8c0@AcusisBlr.lan> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_18090_14012069.1129022861469 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Do you keep open IndexReader, IndexWriter or IndexSearcher? Try closing the= m suring shutdown On 9/29/05, M =E5 n i s h wrote: > > > Hi, > I am having trouble indexing files sometimes, > My application is deployed in tomcat and some times when I try to stop an= d > restart indexing I am getting index lock exception. > Lucene is creating one lock file in temp folder of tomcat , If I delete > that > folder it starts working again. > > Can any body help. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > > ------=_Part_18090_14012069.1129022861469--