jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-381) Repository does not start if text filter dependencies are missing
Date Thu, 30 Mar 2006 13:47:26 GMT
     [ http://issues.apache.org/jira/browse/JCR-381?page=all ]
     
Marcel Reutegger resolved JCR-381:
----------------------------------

    Fix Version: 1.0.1
     Resolution: Fixed

SearchIndex now logs a warning and proceeds with the startup. The log might look like this:

*WARN * [main] SearchIndex: Missing dependency for text filter: org.apache.jackrabbit.core.query.MsPowerPointTextFilter
(SearchIndex.java, line 763)
*WARN * [main] SearchIndex: java.lang.NoClassDefFoundError: org/apache/poi/poifs/eventfilesystem/POIFSReaderListener
(SearchIndex.java, line 764)

Fixed in trunk at revision: 390128

> Repository does not start if text filter dependencies are missing
> -----------------------------------------------------------------
>
>          Key: JCR-381
>          URL: http://issues.apache.org/jira/browse/JCR-381
>      Project: Jackrabbit
>         Type: Improvement
>   Components: query
>     Versions: 0.9, 1.0
>  Environment: r389441
>     Reporter: Marcel Reutegger
>     Priority: Minor
>      Fix For: 1.0.1

>
> When the search index is configured with a text filter class that requries another jar
file and that jar file is missing the repository will not start and log the following misleading
error:
> Caused by: javax.jcr.RepositoryException
>     at org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(SearchManager.java:536)
>     at org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:278)
>     at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1430)
>     at org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.java:538)
>     at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:245)
>     at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:482)
>     at org.jbpm.jcr.impl.JackrabbitJcrService.start(JackrabbitJcrService.java:119)
>     ... 63 more
> Caused by: java.lang.IllegalArgumentException
>     at org.apache.commons.collections.BeanMap.put(BeanMap.java:374)
>     at org.apache.jackrabbit.core.config.BeanConfig.newInstance(BeanConfig.java:97)
>     at org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(SearchManager.java:530)
>     ... 69 more 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message