RecoveryFilters in QueryHandler does not work in JPP 6.0.0
Issue
- We want to change the RecoveryFilters configuration in order to force the re-indexation at startup of each cluster nodes.
Referenced the guide https://access.redhat.com/site/documentation/en-US/JBoss_Portal_Platform/6/html/Reference_Guide/sect-Reference_Guide-Configuration-Local_Index_Recovery_Filters.html and have below configured in the
repository-configuration.xml file:
<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, tools, and much more.