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] > >