lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Problem using ExtractingRequestHandler with tomcat
Date Thu, 02 Apr 2009 08:29:40 GMT

On Apr 2, 2009, at 4:26 AM, Fergus McMenemie wrote:
> I cant get ExtractingRequestHandler to work with tomcat. Using the
> latest version from svn and then a "make clean dist" and copying the
> war file to a clean tomcat does not work.

make?!  :)

try "ant example" to see if that gets it working - it copies the  
ExtractingRequestHandler JAR and dependencies to <solr-home>/lib

	Erik



>
>
> Adding the following to solconfig.xml ands restarting tomcat i get
>
>> <requestHandler name="/update/extract"  
>> class="org.apache.solr.handler.extraction.ExtractingRequestHandler">
>>   <lst name="defaults">
>>     <str name="ext.map.Last-Modified">last_modified</str>
>>     <bool name="ext.ignore.und.fl">true</bool>
>>     </lst>
>>   </requestHandler>
>
>
>> Apr 2, 2009 9:20:02 AM  
>> org.apache.solr.util.plugin.AbstractPluginLoader load
>> INFO: created /update/javabin:  
>> org.apache.solr.handler.BinaryUpdateRequestHandler
>> Apr 2, 2009 9:20:02 AM org.apache.solr.common.SolrException log
>> SEVERE: org.apache.solr.common.SolrException: Error loading class  
>> 'org.apache.solr.handler.extraction.ExtractingRequestHandler'
>> 	at  
>> org 
>> .apache 
>> .solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:310)
>> 	at  
>> org 
>> .apache 
>> .solr.core.SolrResourceLoader.newInstance(SolrResourceLoader.java: 
>> 325)
>> 	at  
>> org 
>> .apache 
>> .solr 
>> .util.plugin.AbstractPluginLoader.create(AbstractPluginLoader.java: 
>> 84)
>> 	at org.apache.solr.core.RequestHandlers 
>> $1.create(RequestHandlers.java:154)
>> 	at org.apache.solr.core.RequestHandlers 
>> $1.create(RequestHandlers.java:163)
>
> Any ideas?
> -- 
>
> ===============================================================
> Fergus McMenemie               Email:fergus@twig.me.uk
> Techmore Ltd                   Phone:(UK) 07721 376021
>
> Unix/Mac/Intranets             Analyst Programmer
> ===============================================================


Mime
View raw message