lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomás Fernández Löbbe <tomasflo...@gmail.com>
Subject Re: Trouble indexing word documents
Date Mon, 12 Mar 2012 18:08:52 GMT
Make sure the Solr cell jar is in the classpath. You probably have a line
like this in your solrconfig.xml:

  <lib dir="../../dist/" regex="apache-solr-cell-\d.*\.jar" />

Make sure that points to the right file.

On Mon, Mar 12, 2012 at 2:59 PM, rdancy <rdancy@wiley.com> wrote:

> Hello, I running Solr inside Tomcat and I'm trying to index a word.doc
> using
> curl and I get the following error:
>
> bash-3.2# curl
> "http://localhost:8585/solr/update/extract?literal.id=1&commit=true" -F
> "myfile=@troubleshooting_performance.doc"
> <html><head><title>Apache Tomcat/6.0.14 - Error report</title>
> </head><body>
> HTTP Status 500 - lazy loading error
>
> org.apache.solr.common.SolrException: lazy loading error
>        at
>
> org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.getWrappedHandler(RequestHandlers.java:257)
>        at
>
> org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.handleRequest(RequestHandlers.java:239)
>        at org.apache.solr.core.SolrCore.execute(SolrCore.java:1360)
>        at
>
> org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:356)
>        at
>
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:252)
>        at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>        at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>        at
>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>        at
>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>        at
>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>        at
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>        at
>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>        at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
>        at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>        at
>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
>        at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>        at java.lang.Thread.run(Thread.java:619)
> Caused by: org.apache.solr.common.SolrException: Error loading class
> 'solr.extraction.ExtractingRequestHandler'
>        at
>
> org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:389)
>        at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:423)
>        at
> org.apache.solr.core.SolrCore.createRequestHandler(SolrCore.java:459)
>        at
>
> org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.getWrappedHandler(RequestHandlers.java:248)
>        ... 16 more
> Caused by: java.lang.ClassNotFoundException:
> solr.extraction.ExtractingRequestHandler
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>        at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:627)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>        at java.lang.Class.forName0(Native Method)
>        at java.lang.Class.forName(Class.java:247)
>        at
>
> org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:373)
>        ... 19 more
> <HR size="1" noshade="noshade"><p>*type* Status report</p><p>*message*
> <u>lazy loading error
>
> org.apache.solr.common.SolrException: lazy loading error
>        at
>
> org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.getWrappedHandler(RequestHandlers.java:257)
>        at
>
> org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.handleRequest(RequestHandlers.java:239)
>        at org.apache.solr.core.SolrCore.execute(SolrCore.java:1360)
>        at
>
> org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:356)
>        at
>
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:252)
>        at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>        at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>        at
>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>        at
>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>        at
>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>        at
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>        at
>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>        at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
>        at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>        at
>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
>        at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>        at java.lang.Thread.run(Thread.java:619)
> Caused by: org.apache.solr.common.SolrException: Error loading class
> 'solr.extraction.ExtractingRequestHandler'
>        at
>
> org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:389)
>        at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:423)
>        at
> org.apache.solr.core.SolrCore.createRequestHandler(SolrCore.java:459)
>        at
>
> org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.getWrappedHandler(RequestHandlers.java:248)
>        ... 16 more
> Caused by: java.lang.ClassNotFoundException:
> solr.extraction.ExtractingRequestHandler
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>        at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:627)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>        at java.lang.Class.forName0(Native Method)
>        at java.lang.Class.forName(Class.java:247)
>        at
>
> org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:373)
>        ... 19 more
> </u></p><p>*description* <u>The server encountered an internal
error (lazy
> loading error
>
> org.apache.solr.common.SolrException: lazy loading error
>        at
>
> org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.getWrappedHandler(RequestHandlers.java:257)
>        at
>
> org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.handleRequest(RequestHandlers.java:239)
>        at org.apache.solr.core.SolrCore.execute(SolrCore.java:1360)
>        at
>
> org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:356)
>        at
>
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:252)
>        at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>        at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>        at
>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>        at
>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>        at
>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>        at
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>        at
>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>        at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
>        at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>        at
>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
>        at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>        at java.lang.Thread.run(Thread.java:619)
> Caused by: org.apache.solr.common.SolrException: Error loading class
> 'solr.extraction.ExtractingRequestHandler'
>        at
>
> org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:389)
>        at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:423)
>        at
> org.apache.solr.core.SolrCore.createRequestHandler(SolrCore.java:459)
>        at
>
> org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.getWrappedHandler(RequestHandlers.java:248)
>        ... 16 more
> Caused by: java.lang.ClassNotFoundException:
> solr.extraction.ExtractingRequestHandler
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>        at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:627)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>        at java.lang.Class.forName0(Native Method)
>        at java.lang.Class.forName(Class.java:247)
>        at
>
> org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:373)
>        ... 19 more
> ) that prevented it from fulfilling this request.</u></p><HR size="1"
> noshade="noshade">
> Apache Tomcat/6.0.14
> </body></html>bash-3.2#
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Trouble-indexing-word-documents-tp3819949p3819949.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message