> }
> }
> }
>
>
>
> -Original Message-
>
>
> From: Gabe [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 15, 2004 1:53 PM
> To: Lucene Users List
> Subject: Re: java.io.IOException: Lock obtain timed
> out
>
>
> Otis,
r.close();
> }
> }
> }
>
>
>
> -Original Message-
>
>
> From: Gabe [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 15, 2004 1:53 PM
> To: Lucene Users List
> Subject: Re: java.io.IOException: Lock obtain timed
> out
>
>
> Otis,
, March 15, 2004 1:53 PM
To: Lucene Users List
Subject: Re: java.io.IOException: Lock obtain timed out
Otis,
I only put the unlock call in because I had the error
in the first place. Removing it, the IOException still
occurs, when trying to instantiate the IndexWriter.
Thanks,
Gabe
--- Otis
According to the logging,
> this
> > code is being called and the IndexReader is being
> > closed.
> >
> > However, then I open a writer to add the document,
> I
> > get the following.
> >
> > java.io.IOException: Lock obtain timed out
being called and the IndexReader is being
> closed.
>
> However, then I open a writer to add the document, I
> get the following.
>
> java.io.IOException: Lock obtain timed out
> at
> org.apache.lucene.store.Lock.obtain(Lock.java:97)
> at
> org.apac
ctory());
reader.close();
I put the first of the two lines in to try to force
the lock to disable. According to the logging, this
code is being called and the IndexReader is being
closed.
However, then I open a writer to add the document, I
get the following.
java.io.IOException: Lock obtain time