jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: error on repository startup
Date Tue, 23 May 2006 12:42:53 GMT
As described in issue JCR-381, this is a bug in 1.0 and will be fixed in 
the next release.

For now, if you configure the text filters you also have to put the 
depending jar files in your classpath.

regards
  marcel

vikas bhatia wrote:
> hi,
> 
> i am trying to use jackrabbit-text-filters on 1.0
> 
> this is the error i get on startup
> ===
> 15:44:40:[ INFO]: 
> org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit
> (SearchIndex.java:241) :Index initialized: C:\_mystuff\_downloads\eclipse-
> SDK-3.1.1-win32\eclipse\jackrabbit\repository/repository/index
> INFO: Exception: java.lang.reflect.InvocationTargetException
> 15:44:40:[ERROR]: org.apache.jackrabbit.core.RepositoryImpl.<init>(
> RepositoryImpl.java:247) :Failed to initialize workspace 'default'
> javax.jcr.RepositoryException
>    at org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(
> SearchManager.java:531)
>    at org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java
> :273)
>    at
> org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(
> RepositoryImpl.java:1431)
>    at org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(
> RepositoryImpl.java:539)
>    at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java
> :244)
>    at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java
> :483)
> 
> and this is the line when added causes the error
> ===
> <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
>            <param name="path" value="${wsp.home}/index" />
>            <param name="textFilterClasses"
>                value="org.apache.jackrabbit.core.query.MsExcelTextFilter,
> org.apache.jackrabbit.core.query.MsPowerPointTextFilter,
> org.apache.jackrabbit.core.query.MsWordTextFilter,
> org.apache.jackrabbit.core.query.PdfTextFilter,
> org.apache.jackrabbit.core.query.HTMLTextFilter,
> org.apache.jackrabbit.core.query.XMLTextFilter,
> org.apache.jackrabbit.core.query.RTFTextFilter,
> org.apache.jackrabbit.core.query.OpenOfficeTextFilter" />
> 
>            <!-- These are all default values. You can change them if you
> want -->
>            <param name="useCompoundFile" value="true" />
>            <param name="minMergeDocs" value="100" />
>            <param name="volatileIdleTime" value="3" />
>            <param name="maxMergeDocs" value="100000" />
>            <param name="mergeFactor" value="10" />
>            <param name="bufferSize" value="10" />
>            <param name="cacheSize" value="1000" />
>            <param name="forceConsistencyCheck" value="false" />
>            <param name="autoRepair" value="true" />
>            <param name="analyzer" value="
> org.apache.lucene.analysis.standard.StandardAnalyzer" />
>            <param name="queryClass" value="
> org.apache.jackrabbit.core.query.QueryImpl" />
>            <param name="idleTime" value="-1" />
>            <!-- end of default values -->
> 
>            <param name="respectDocumentOrder" value="false" />
>        </SearchIndex>
>    </Workspace>
> 
> ====
> 
> according to
> http://thread.gmane.org/gmane.comp.apache.jackrabbit.devel/6230/focus=6230
> and http://issues.apache.org/jira/browse/JCR-381, this should be just a
> warning, but the repository does not startup.
> 
> Is this a bug? or am i missing something?
> 

Mime
View raw message