You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by nicholas_dipiazza <ni...@xerceo.com> on 2008/10/10 04:08:38 UTC

Jackrabbit and Lucene 2.3.2 - AlreadyClosedException

So to fix the issue of Jackrabbit 1.4 not working with Lucene 2.3.x, I read
the jira ticket https://issues.apache.org/jira/browse/JCR-1363 - it reports
Lucene 2.3.x with proper patch will work on a fresh Jackrabbit 1.5 from the
repository.

I verified the patch files are applied, and have rebuilt the jackrabbit-core
jar.

The repository fires up with no problem... seems to be no compatibility
issues with the Jackrabbit 1.4 config files I had sitting there.

I can execute one search just fine, but after a second I get:

org.apache.lucene.store.AlreadyClosedException: this IndexReader is closed

Which was the same thing I got from Jackrabbit 1.4. Any ideas? Thanks!

-- 
View this message in context: http://www.nabble.com/Jackrabbit-and-Lucene-2.3.2---AlreadyClosedException-tp19910648p19910648.html
Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.


RE: Jackrabbit and Lucene 2.3.2 - AlreadyClosedException

Posted by Ard Schrijvers <a....@onehippo.com>.
Because Nicholas mailed me directly off-list (which is obviously not the
place for user or dev questions) I know he got it working. 

@Nicholas: it is nice to inform the user/dev list if your specific issue
is outdated/solved (and perhaps how). Now people invest time in
answering you, where you already have it working. 

Regards Ard

> 
> hi,
> 
> there might be changes from other issues that JCR-1363 
> depends on. I suggest you wait for the 1.5 release and use that one.
> 
> regards
>  marcel
> 
> nicholas_dipiazza wrote:
> > So to fix the issue of Jackrabbit 1.4 not working with 
> Lucene 2.3.x, I 
> > read the jira ticket 
> https://issues.apache.org/jira/browse/JCR-1363 - 
> > it reports Lucene 2.3.x with proper patch will work on a fresh 
> > Jackrabbit 1.5 from the repository.
> > 
> > I verified the patch files are applied, and have rebuilt the 
> > jackrabbit-core jar.
> > 
> > The repository fires up with no problem... seems to be no 
> > compatibility issues with the Jackrabbit 1.4 config files I 
> had sitting there.
> > 
> > I can execute one search just fine, but after a second I get:
> > 
> > org.apache.lucene.store.AlreadyClosedException: this IndexReader is 
> > closed
> > 
> > Which was the same thing I got from Jackrabbit 1.4. Any 
> ideas? Thanks!
> > 
> 
> 

Re: Jackrabbit and Lucene 2.3.2 - AlreadyClosedException

Posted by Marcel Reutegger <ma...@gmx.net>.
hi,

there might be changes from other issues that JCR-1363 depends on. I suggest you
wait for the 1.5 release and use that one.

regards
 marcel

nicholas_dipiazza wrote:
> So to fix the issue of Jackrabbit 1.4 not working with Lucene 2.3.x, I read
> the jira ticket https://issues.apache.org/jira/browse/JCR-1363 - it reports
> Lucene 2.3.x with proper patch will work on a fresh Jackrabbit 1.5 from the
> repository.
> 
> I verified the patch files are applied, and have rebuilt the jackrabbit-core
> jar.
> 
> The repository fires up with no problem... seems to be no compatibility
> issues with the Jackrabbit 1.4 config files I had sitting there.
> 
> I can execute one search just fine, but after a second I get:
> 
> org.apache.lucene.store.AlreadyClosedException: this IndexReader is closed
> 
> Which was the same thing I got from Jackrabbit 1.4. Any ideas? Thanks!
>