I don't think so. 

I'm using Tomcat on my servers, but I set up my local machine with the 
Eclipse-Jetty plugin from that Lucid article and I'm getting the same error. 

These are the libraries references in my Eclipse project:
apache-solr-core-1.5-dev.jar
apache-solr-dataimporthandler-1.5-dev.jar
apache-solr-solrj-1.5-dev.jar
commons-codec-1.3.jar
commons-csv-1.0-SNAPSHOT-r609327.jar
commons-fileupload-1.2.1.jar
commons-httpclient-3.1.jar
commons-io-1.4.jar
geronimo-stax-api_1.0_spec-1.0.1.jar
google-collect-1.0.jar
jcl-over-slf4j-1.5.5.jar
lucene-analyzers-2.9.2.jar
lucene-collation-2.9.2.jar
lucene-core-2.9.2.jar
lucene-fast-vector-highlighter-2.9.2.jar
lucene-highlighter-2.9.2.jar
lucene-memory-2.9.2.jar
lucene-misc-2.9.2.jar
lucene-queries-2.9.2.jar
lucene-snowball-2.9.2.jar
lucene-spatial-2.9.2.jar
lucene-spellchecker-2.9.2.jar
slf4j-api-1.5.5.jar
slf4j-jdk14-1.5.5.jar
wstx-asl-3.2.7.jar
apache-solr-cell-1.4-dev.jar
asm-3.1.jar
bcmail-jdk15-1.45.jar
bcprov-jdk15-1.45.jar
commons-codec-1.3.jar
commons-compress-1.0.jar
commons-io-1.4.jar
commons-lang-2.1.jar
commons-logging-1.1.1.jar
dir.txt
dom4j-1.6.1.jar
fontbox-1.0.0.jar
geronimo-stax-api_1.0_spec-1.0.1.jar
hamcrest-core-1.1.jar
icu4j-3.8.jar
jempbox-1.0.0.jar
junit-3.8.1.jar
log4j-1.2.14.jar
lucene-core-2.9.1-dev.jar
lucene-misc-2.9.1-dev.jar
metadata-extractor-2.4.0-beta-1.jar
mockito-core-1.7.jar
nekohtml-1.9.9.jar
objenesis-1.0.jar
ooxml-schemas-1.0.jar
pdfbox-1.0.0.jar
poi-3.6.jar
poi-ooxml-3.6.jar
poi-ooxml-schemas-3.6.jar
poi-scratchpad-3.6.jar
tagsoup-1.2.jar
tika-app-0.7-SNAPSHOT.jar
tika-core-0.7-SNAPSHOT.jar
tika-parsers-0.7-SNAPSHOT.jar
xercesImpl-2.8.1.jar
xml-apis-1.0.b2.jar
xmlbeans-2.3.0.jar

-----Original Message-----
From: Mattmann, Chris A (388J) [mailto:chris.a.mattm...@jpl.nasa.gov] 
Sent: Tuesday, March 23, 2010 11:03 AM
To: solr-user@lucene.apache.org
Subject: Re: PDFBox/Tika Performance Issues

Hi Giovanni,

The error that you're showing in your logs below indicates that this message 
signature:

org.apache.solr.handler.ContentStreamLoader.load(Lorg/apache/solr/request/SolrQueryRequest;Lorg/apache/solr/response/SolrQueryResponse;Lorg/apache/solr/common/util/ContentStream;)

doesn't match what was expected. Are you sure you don't have another Solr jar 
on the classpath somewhere, or in your web server? Are you using Jetty, or 
Tomcat?

Thanks,
Chris



On 3/23/10 7:59 AM, "Giovanni Fernandez-Kincade" 
<gfernandez-kinc...@capitaliq.com> wrote:

Sorry for the late reply - been out of town for a couple of days.

>From my solrconfig:

<requestHandler name="/update/extract" 
class="org.apache.solr.handler.extraction.ExtractingRequestHandler" 
startup="lazy">
    <lst name="defaults">
      <str name="uprefix">ignored_</str>
      <str name="map.content">text</str>
    </lst>
  </requestHandler>


-----Original Message-----
From: Grant Ingersoll [mailto:gsi...@gmail.com] On Behalf Of Grant Ingersoll
Sent: Saturday, March 20, 2010 8:43 AM
To: solr-user@lucene.apache.org
Subject: Re: PDFBox/Tika Performance Issues

What's your configuration look like for the ExtractReqHandler?

On Mar 19, 2010, at 2:42 PM, Giovanni Fernandez-Kincade wrote:

> Yeah I've been trying that - I keep getting this error when indexing a PDF 
> with a trunk-build:
>
>   Apache Tomcat/5.5.27 - Error report
>   HTTP Status 500 - org.apache.solr.handler.
>   
> ContentStreamLoader.load(Lorg/apache/solr/request/SolrQueryRequest;Lorg/apache/solr/response/SolrQueryResponse;Lorg/apache/solr/common/util/ContentStream;)
>   V  java.lang.AbstractMethodError: 
> org.apache.solr.handler.ContentStreamLoader.load(Lorg/apache/solr/request/SolrQueryRequest;Lorg/apache/solr/response/SolrQueryResponse;Lorg/apache/solr/common/util/ContentStream;)V
>   at 
> org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:54)
>   at 
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
>   at 
> org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.handleRequest(RequestHandlers.java:233)
>   at org.apache.solr.core.SolrCore.execute(SolrCore.java:1321)
>   at 
> org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:341)
>   at 
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:244)
>   at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
>   at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>   at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>   at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
>    at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 
>   at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) 
>   at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
>    at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)   
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875) 
>   at 
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
>    at 
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
>    at 
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
>    at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
>    at java.lang.Thread.run(Unknown Source)      type  Status report   message 
>   
> org.apache.solr.handler.ContentStreamLoader.load(Lorg/apache/solr/request/SolrQueryRequest;Lorg/apache/solr/response/SolrQueryResponse;Lorg/apache/solr/common/util/ContentStream;)V
>   java.lang.AbstractMethodError: 
> org.apache.solr.handler.ContentStreamLoader.load(Lorg/apache/solr/request/SolrQueryRequest;Lorg/apache/solr/response/SolrQueryResponse;Lorg/apache/solr/common/util/ContentStream;)V
>    at 
> org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:54)
>    at 
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
>    at 
> org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.handleRequest(RequestHandlers.java:233)
>    at org.apache.solr.core.SolrCore.execute(SolrCore.java:1321)   at 
> org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:341)
>    at 
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:244)
>    at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
>    at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>    at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>    at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
>    at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 
>   at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) 
>   at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
>    at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)   
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875) 
>   at 
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
>    at 
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
>    at 
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
>    at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
>    at java.lang.Thread.run(Unknown Source)      description   The server 
> encountered an internal error 
> (org.apache.solr.handler.ContentStreamLoader.load(Lorg/apache/solr/request/SolrQueryRequest;Lorg/apache/solr/response/SolrQueryResponse;Lorg/apache/solr/common/util/ContentStream;)V
>   java.lang.AbstractMethodError: 
> org.apache.solr.handler.ContentStreamLoader.load(Lorg/apache/solr/request/SolrQueryRequest;Lorg/apache/solr/response/SolrQueryResponse;Lorg/apache/solr/common/util/ContentStream;)V
>    at 
> org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:54)
>    at 
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
>    at 
> org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.handleRequest(RequestHandlers.java:233)
>    at org.apache.solr.core.SolrCore.execute(SolrCore.java:1321)   at 
> org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:341)
>    at 
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:244)
>    at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
>    at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>    at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>    at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
>    at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 
>   at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) 
>   at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
>    at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)   
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875) 
>   at 
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
>    at 
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
>    at 
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
>    at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
>    at java.lang.Thread.run(Unknown Source)  ) that prevented it from 
> fulfilling this request.    Apache Tomcat/5.5.27
>
>
> I'm trying to get a development environment going following these steps so I 
> can debug:
> http://www.lucidimagination.com/developers/articles/setting-up-apache-solr-in-eclipse
>
>
> -----Original Message-----
> From: Grant Ingersoll [mailto:gsi...@gmail.com] On Behalf Of Grant Ingersoll
> Sent: Friday, March 19, 2010 1:46 PM
> To: solr-user@lucene.apache.org
> Subject: Re: PDFBox/Tika Performance Issues
>
> Can you try trunk?
>
> On Mar 19, 2010, at 1:12 PM, Giovanni Fernandez-Kincade wrote:
>
>> Solr Specification Version: 1.4.0.2009.10.14.08.05.59
>> Solr Implementation Version: nightly exported - yonik - 2009-10-14 08:05:59
>> Lucene Specification Version: 2.9.1-dev
>> Lucene Implementation Version: 2.9.1-dev 824988 - 2009-10-13 21:47:13
>> Current Time: Fri Mar 19 13:11:31 EDT 2010
>> Server Start Time:Wed Mar 17 17:05:19 EDT 2010
>>
>> -----Original Message-----
>> From: Grant Ingersoll [mailto:gsi...@gmail.com] On Behalf Of Grant Ingersoll
>> Sent: Friday, March 19, 2010 1:02 PM
>> To: solr-user@lucene.apache.org
>> Subject: Re: PDFBox/Tika Performance Issues
>>
>>
>> On Mar 16, 2010, at 6:55 PM, Giovanni Fernandez-Kincade wrote:
>>>
>>> 3.     I took the resulting tika-app-0.7-SNAPSHOT.jar, copied it to the 
>>> /Lib folder for my Solr Core, and renamed it to the name of the existing 
>>> Tika Jar (tika-0.3.jar).
>>
>> What version are you on of Solr?  It's been a while since Solr Cell was on 
>> Tika 0.3,
>
>

--------------------------
Grant Ingersoll
http://www.lucidimagination.com/

Search the Lucene ecosystem using Solr/Lucene: 
http://www.lucidimagination.com/search




++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.mattm...@jpl.nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Reply via email to