On Wed, Jun 11, 2008 at 2:56 AM, Sergio Tridente <[EMAIL PROTECTED]> wrote:
> Here's the code that stores the pdf:
> [...]
> session.save();
> pdf.close();

Not sure, but I think you should not close the input stream, it will
be done by Jackrabbit. The exception below might be related.

> Exception in thread "main" org.apache.lucene.store.AlreadyClosedException:
> this IndexReader is closed

Regards,
Alex

-- 
Alexander Klimetschek
[EMAIL PROTECTED]

Reply via email to