jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mats Norén <m...@alma.nu>
Subject Trouble with textfilters
Date Mon, 20 Mar 2006 17:41:49 GMT
Hi,
I'm trying to use the jackrabbit-textfilters. Every time I start my repo 
  I get the following exception:

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

I'm thinking that the IllegalArgumentException in BeanMap.put is caused 
by some error in my config but I don't know what :(


My repository.xml looks like this:

<Repository>
     <FileSystem 
class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
         <param name="path" value="${rep.home}/repository"/>
     </FileSystem>
     <Security appName="Jackrabbit">
         <AccessManager 
class="org.apache.jackrabbit.core.security.SimpleAccessManager"/>
     </Security>
     <Workspaces rootPath="${rep.home}/workspaces" 
defaultWorkspace="default"/>
     <Workspace name="${wsp.name}">
         <FileSystem 
class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
             <param name="path" value="${wsp.home}"/>
         </FileSystem>
         <PersistenceManager 
class="org.apache.jackrabbit.core.state.xml.XMLPersistenceManager"/>
         <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>
     <Versioning rootPath="${rep.home}/versions">
         <FileSystem 
class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
             <param name="path" value="${rep.home}/versions"/>
         </FileSystem>
         <PersistenceManager 
class="org.apache.jackrabbit.core.state.xml.XMLPersistenceManager"/>
     </Versioning>
</Repository>

Btw, I'm using Jackrabbit from trunk (today).

Would appreciate any insight into what I'm doing wrong...

Regards,
Mats


Mime
View raw message