Re: Lock File exceptions

2005-06-27 Thread jian chen
Hi, Recently I looked at the locking mechanism of Lucene. If I am correct, I think the process for grabbing the lock file will time out by default in 10 seconds. When the process timed out, it will print out the IOException. The lucene locking mechanism is not within threads in the same JVM. It u

Re: Lock File exceptions

2005-06-27 Thread Yousef Ourabi
Mini-Follow UP: Wouldn't the parameter boolean create false create the segments if it is not found? My understanding is that the create variable either creates or doesn't the actual directory on startup...does this affect key files as well? IOException caught here: /var/jeteye/index/segments (No s

Lock File exceptions

2005-06-27 Thread Yousef Ourabi
Hello: I get this lock-file exception on both Windows and Linux, my app is running inside tomcat 5.5.9, jvm 1.5.03...has anyone seen this before? If I delete the LOCK file it works, but obviously I shouldn't do that...Just wondering what's up? IOException caught here: Lock obtain timed out: Lock@