AnsweredAssumed Answered

Urgent help needed - Index contents and documents for searches Job Error

Question asked by SonalVaidya on Jul 13, 2009
Latest reply on Jul 20, 2009 by Chris_Hackett
Hi All,      I am getting some Lock error while executing Index contents and documents for searches job.  it says there is some write lock in the folder, we are using clustered application so I have tried to find “write.lockâ€? file in both the server but couldn’t get any result.      ERROR 2009-06-28 00:44:43,140 [Dispatch Thread-9 : [url=mailto:bg@server2]bg@server2] niku.njs (none:none:none) Error executing job: 5003683  com.niku.search.util.SearchException: SRCH-01003: Error occurred while indexing search contents.                        at com.niku.search.engine.lucene.LuceneIndexEngine.optimizeIndex(LuceneIndexEngine.java:635)                        at com.niku.search.engine.lucene.LuceneIndexEngine.optimizeSearchContentIndex(LuceneIndexEngine.java:612)                        at com.niku.search.engine.lucene.LuceneIndexEngine.index(LuceneIndexEngine.java:700)                        at com.niku.search.nspider.Nspider.scheduledEventFired(Nspider.java:170)                        at com.niku.njs.Dispatcher$BGTask.run(Dispatcher.java:265)                        at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:727)                        at java.lang.Thread.run(Thread.java:595)    Caused by: java.io.IOException: Lock obtain timed out: Lock@C:\WINDOWS\TEMP\lucene-857289346f396b3b47858a606a026d7c-write.lock                        at org.apache.lucene.store.Lock.obtain(Lock.java:58)                        at org.apache.lucene.index.IndexWriter. (IndexWriter.java:223)                        at org.apache.lucene.index.IndexWriter. (IndexWriter.java:173)                        at com.niku.search.engine.lucene.LuceneIndexEngine.optimizeIndex(LuceneIndexEngine.java:628)                        ... 6 more        Any ideas?      Regards,  Sonal  Message Edited by vaidya_sonal on 07-13-2009 12:57 AM [left]

Outcomes