lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kiran Joisher" <>
Subject Cannot delete _1d.fdt
Date Wed, 07 Jun 2006 11:58:20 GMT

I am working on a struts application using lucene for indexing mysql
database. Whenever I rebuild the application and deploy in tomcat and try to
rebuild the index from scratch I have to shutdown tomcat and then restart it
again. In case I don't do this I get IOException while creating instance of

indexWriter = new IndexWriter(indexDir, new PhoneticAnalyzer(new Soundex()),

Stack Trace is as follows:- Cannot delete _1d.fdt
        at org.apache.lucene.index.IndexWriter.<init>(

I feel its due to some stale lock file in the temp folder of #tomcat_home#.
How do I get rid of this file without having to shutdown the tomcat. 

I am sorry if this is a repeated question.

Thanks in advance,

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message