java.io.IOException: Lock obtain timed out in jive.error.log
[could not obtain] [Forums] [Jive] [lock] [Lucene] [obtain] [obtain attain] [request timed out]
Symptom
In very rare cases, the following error can be found in the Forums log files (example):
#
java.io.IOException: Lock obtain timed out:
Lock@D:\usr\sap\F36\tmp\lucene-b8a930ceebe8f5f1665b95eb8cf14a90-
commit.lock
at org.apache.lucene.store.Lock.obtain(Lock.java:56)
at org.apache.lucene.store.Lock$With.run(Lock.java:98)
at org.apache.lucene.index.IndexReader.open(IndexReader.java:141)
#
Other terms
Forums Jive Lucene lock
Reason and Prerequisites
Reason:
Coding Error in Lucene code.
Solution
Manual deletion of the referenced locked file from the file system is needed. This can be done while the application server is stopped.