Hi,

there must be something wrong with your classpath. jackrabbit 1.5.x
does not have a dependency to tm-extractor.jar any more. please check
if you have an older version of jackrabbit somewhere in your classpath
and remove it.

regards
 marcel

2009/6/22 Johan Brelet <[email protected]>
>
> Hi,
>
> I configured a jackrabbit repository on JBoss (jboss portal 2.7.2) using
> Jackrabbit JCA Connector (jackrabbit-jca-1.5.6.rar).
> As I need to use plain text search, here is how I configured <SearchIndex>
> into Jackrabbit XML configuration file:
>
> <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
>      <param name="path" value="${wsp.home}/index"/>
>      <param name="textFilterClasses"
> value="org.apache.jackrabbit.extractor.MsWordTextExtractor,org.apache.jackrabbit.extractor.MsExcelTextExtractor,
>
> org.apache.jackrabbit.extractor.MsPowerPointTextExtractor,org.apache.jackrabbit.extractor.PdfTextExtractor,org.apache.jackrabbit.extractor.OpenOfficeTextExtractor,
>
> org.apache.jackrabbit.extractor.RTFTextExtractor,org.apache.jackrabbit.extractor.HTMLTextExtractor,org.apache.jackrabbit.extractor.XMLTextExtractor"/>
>      <param name="extractorPoolSize " value="2"/>
>      <param name="supportHighlighting" value="true"/>
> </SearchIndex>
>
> But when I'm starting my server I have the following exception:
>
> 15:43:08,281 WARN  [JackrabbitTextExtractor] Extractor dependency not found:
> org.apache.jackrabbit.extractor.MsWordTextExtractor
> java.lang.NoClassDefFoundError
>    at
> org.apache.jackrabbit.extractor.MsWordTextExtractor.class$(MsWordTextExtractor.java:37)
>    ...
> Caused by: java.lang.ClassNotFoundException:
> org.textmining.text.extraction.WordExtractor
>    at java.lang.Class.forName0(Native Method)
>
> I unzipped the connector rar archive and remarked that tm-extractor.jar
> (org.textmining.text.extraction.*) is not in it.
> So I downloaded it and tried to add it to the classpath... but I still have
> the same exception at server start!
>
> Can someone explain where does the problem come from?
> Regards.
>
> Johan

Reply via email to