lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From M å n i s h <manish.chowdh...@acusis.com>
Subject RE: Getting index lock while indexing
Date Tue, 11 Oct 2005 09:36:35 GMT


Yes some time it creates lock file in tomcat.
But nowadays i am not able to index even after deleting the lock files.
I checked tomcat's temp folder and java.io.tmpdir , nothing is there.

Even if I am not closing the index it should index after deleting the lock
files , (Correct me if I am wrong) 

I read on net about changing io lock to nio lock in lock.java file.
Has any body implemented and deployed it successfully?

Thanks in advance
~Manish Chowdhary

-----Original Message-----
From: Oren Shir [mailto:shoren@gmail.com] 
Sent: Tuesday, October 11, 2005 2:58 PM
To: java-user@lucene.apache.org
Subject: Re: Getting index lock while indexing

Do you keep open IndexReader, IndexWriter or IndexSearcher? Try closing them
suring shutdown

On 9/29/05, M å n i s h <manish.chowdhary@acusis.com> wrote:
>
>
> Hi,
> I am having trouble indexing files sometimes,
> My application is deployed in tomcat and some times when I try to stop and
> 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
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message