Date: 2004-04-29T09:36:10 Editor: 12.13.3.253 <> Wiki: Jakarta Lucene Wiki Page: LockObtainTimedOut URL: http://wiki.apache.org/jakarta-lucene/LockObtainTimedOut
no comment Change Log: ------------------------------------------------------------------------------ @@ -13,3 +13,15 @@ Note that on Tomcat locks are kept in TOMCAT_HOME/temp and this can become confusing because if you check /tmp there are no lock files. Ideally Lucene would call lock.getAbsolutePath() and print this when it gives an exception about not being able to open an index. This would save a LOT of time in this situation. + +You can also pass lucene a system property to increase +the commit/write lock timeout interval, like so: + +-Dorg.apache.lucene.commitLockTimeout=60000 + +or + +-Dorg.apache.lucene.writeLockTimeout=60000 + +The above sets the timeout to one minute. + --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
