Date: 2004-05-09T05:45:44 Editor: ErikHatcher <[EMAIL PROTECTED]> Wiki: Jakarta Lucene Wiki Page: LockObtainTimedOut URL: http://wiki.apache.org/jakarta-lucene/LockObtainTimedOut
no comment Change Log: ------------------------------------------------------------------------------ @@ -12,7 +12,7 @@ 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. +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. (displaying the full path has just been added to the CVS version of Lucene and will be available in future Lucene releases past 1.4RC2). You can also pass lucene a system property to increase the commit/write lock timeout interval, like so: @@ -24,4 +24,3 @@ -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]
