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:[EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]