RecoveryFilters in QueryHandler does not work in JPP 6.0.0

Solution Verified - Updated -

Issue

<property name="index-recovery-filter" value="org.exoplatform.services.jcr.impl.core.query.lucene.ConfigurationPropertyRecoveryFilter" />
<property name="index-recovery-filter-forcereindexing" value="true" />

This does not work, and below error are thrown at startup:

javax.jcr.RepositoryException: Repository 'repository' not found.
    at org.exoplatform.services.jcr.impl.RepositoryServiceImpl.getRepository(RepositoryServiceImpl.java:231) [exo.jcr.component.core-1.15.1-CP01-redhat-1.jar:1.15.1-CP01-redhat-1]
    at org.exoplatform.services.jcr.impl.RepositoryServiceImpl.getDefaultRepository(RepositoryServiceImpl.java:220) [exo.jcr.component.core-1.15.1-CP01-redhat-1.jar:1.15.1-CP01-redhat-1]
    at org.exoplatform.services.jcr.impl.RepositoryServiceImpl.getCurrentRepository(RepositoryServiceImpl.java:213) [exo.jcr.component.core-1.15.1-CP01-redhat-1.jar:1.15.1-CP01-redhat-1]
    at org.exoplatform.portal.mop.navigation.NavigationServiceWrapper.start(NavigationServiceWrapper.java:164) [exo.portal.component.portal-3.5.2.Final-redhat-4-BZ-953881.jar:3.5.2.Final-redhat-4-BZ-953881]
    ... 17 more

Environment

  • Red Hat JBoss Portal
    • 6.0 GA

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In