lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Grande <juan.gra...@gmail.com>
Subject Re: Lazy loading error in Extracting request handler
Date Tue, 19 Apr 2011 11:56:56 GMT
Hi Vignesh,

Are you working from the provided example? If not, did you copy the
solr-cell libraries to your Solr deployment?

You can follow the instructions here:
http://wiki.apache.org/solr/ExtractingRequestHandler#Configuration

Regards,

*Juan*



On Tue, Apr 19, 2011 at 3:47 AM, Vignesh Raj <vigneshraj@greatminds.co.in>wrote:

> Hi,
>
> I am new to Solr and its configuration. I need to index some pdf files and
> for that reason I thought of using the extractingrequesthandler.
>
> I use Apache tomcat and run solr from it.
>
> I used the following command to index a pdf file.
>
>
>
> C:\Users\vikky\Downloads\curl-7.21.0-win64-nossl>curl.exe
> "
> http://localhost:8983/solr/update/extract?literal.id=doc4&uprefix=attr_&fma
> p.content=attr_content&commit=true" -F
>
> myfile=@G:\Official\Archiving\apache-solr-1.4.1\apache-solr-1.4.1\docs\featu
> res.pdf
>
>
>
> But, I got the following error.
>
>
>
> <html><head><title>Apache Tomcat/6.0.32 - Error report</title><style><!--H1
>
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;fo
> nt-size:22px;} H2
>
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;fo
> nt-size:16px;} H3
>
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;fo
> nt-size:14px;} BODY
> {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
> P
>
> {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:
> 12px;}A {color : black;}A.name {color : black;}HR {color :
> #525D76;}--></style> </head><body><h1>HTTP Status 500 - lazy
loading error
>
>
>
> org.apache.solr.common.SolrException: lazy loading error
>
>        at
>
> org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.getWrappedHan
> dler(RequestHandlers.java:249)
>
>        at
>
> org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.handleRequest
> (RequestHandlers.java:231)
>
>        at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316)
>
>        at
>
> org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:3
> 38)
>
>        at
>
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:
> 241)
>
>        at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:235)
>
>        at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:206)
>
>        at
>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:233)
>
>        at
>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:191)
>
>        at
>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127
> )
>
>        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:298)
>
>        at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
>
>        at
>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http
> 11Protocol.java:588)
>
>        at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>
>        at java.lang.Thread.run(Unknown Source)
>
> Caused by: org.apache.solr.common.SolrException: Error loading class
> 'org.apache.solr.handler.extraction.ExtractingRequestHandler'
>
>        at
>
> org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:37
> 5)
>
>        at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:413)
>
>        at
> org.apache.solr.core.SolrCore.createRequestHandler(SolrCore.java:449)
>
>        at
>
> org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.getWrappedHan
> dler(RequestHandlers.java:240)
>
>        ... 16 more
>
> Caused by: java.lang.ClassNotFoundException:
> org.apache.solr.handler.extraction.ExtractingRequestHandler
>
>        at java.net.URLClassLoader$1.run(Unknown Source)
>
>        at java.security.AccessController.doPrivileged(Native Method)
>
>        at java.net.URLClassLoader.findClass(Unknown Source)
>
>        at java.lang.ClassLoader.loadClass(Unknown Source)
>
>        at java.net.FactoryURLClassLoader.loadClass(Unknown Source)
>
>        at java.lang.ClassLoader.loadClass(Unknown Source)
>
>        at java.lang.Class.forName0(Native Method)
>
>        at java.lang.Class.forName(Unknown Source)
>
>        at
>
> org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:35
> 9)
>
>        ... 19 more
>
> </h1><HR size="1" noshade="noshade"><p><b>type</b> Status
> report</p><p><b>message</b> <u>lazy loading error
>
>
>
> org.apache.solr.common.SolrException: lazy loading error
>
>        at
>
> org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.getWrappedHan
> dler(RequestHandlers.java:249)
>
>        at
>
> org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.handleRequest
> (RequestHandlers.java:231)
>
>        at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316)
>
>        at
>
> org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:3
> 38)
>
>        at
>
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:
> 241)
>
>        at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:235)
>
>        at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:206)
>
>        at
>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:233)
>
>        at
>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:191)
>
>        at
>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127
> )
>
>        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:298)
>
>        at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
>
>        at
>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http
> 11Protocol.java:588)
>
>        at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>
>        at java.lang.Thread.run(Unknown Source)
>
> Caused by: org.apache.solr.common.SolrException: Error loading class
> 'org.apache.solr.handler.extraction.ExtractingRequestHandler'
>
>        at
>
> org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:37
> 5)
>
>        at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:413)
>
>        at
> org.apache.solr.core.SolrCore.createRequestHandler(SolrCore.java:449)
>
>        at
>
> org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.getWrappedHan
> dler(RequestHandlers.java:240)
>
>        ... 16 more
>
> Caused by: java.lang.ClassNotFoundException:
> org.apache.solr.handler.extraction.ExtractingRequestHandler
>
>        at java.net.URLClassLoader$1.run(Unknown Source)
>
>        at java.security.AccessController.doPrivileged(Native Method)
>
>        at java.net.URLClassLoader.findClass(Unknown Source)
>
>        at java.lang.ClassLoader.loadClass(Unknown Source)
>
>        at java.net.FactoryURLClassLoader.loadClass(Unknown Source)
>
>        at java.lang.ClassLoader.loadClass(Unknown Source)
>
>        at java.lang.Class.forName0(Native Method)
>
>        at java.lang.Class.forName(Unknown Source)
>
>        at
>
> org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:35
> 9)
>
>        ... 19 more
>
> </u></p><p><b>description</b> <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.getWrappedHan
> dler(RequestHandlers.java:249)
>
>        at
>
> org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.handleRequest
> (RequestHandlers.java:231)
>
>        at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316)
>
>        at
>
> org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:3
> 38)
>
>        at
>
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:
> 241)
>
>        at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:235)
>
>        at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:206)
>
>        at
>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:233)
>
>        at
>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:191)
>
>        at
>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127
> )
>
>        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:298)
>
>        at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
>
>        at
>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http
> 11Protocol.java:588)
>
>        at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>
>        at java.lang.Thread.run(Unknown Source)
>
> Caused by: org.apache.solr.common.SolrException: Error loading class
> 'org.apache.solr.handler.extraction.ExtractingRequestHandler'
>
>        at
>
> org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:37
> 5)
>
>        at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:413)
>
>        at
> org.apache.solr.core.SolrCore.createRequestHandler(SolrCore.java:449)
>
>        at
>
> org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.getWrappedHan
> dler(RequestHandlers.java:240)
>
>        ... 16 more
>
> Caused by: java.lang.ClassNotFoundException:
> org.apache.solr.handler.extraction.ExtractingRequestHandler
>
>        at java.net.URLClassLoader$1.run(Unknown Source)
>
>        at java.security.AccessController.doPrivileged(Native Method)
>
>        at java.net.URLClassLoader.findClass(Unknown Source)
>
>        at java.lang.ClassLoader.loadClass(Unknown Source)
>
>        at java.net.FactoryURLClassLoader.loadClass(Unknown Source)
>
>        at java.lang.ClassLoader.loadClass(Unknown Source)
>
>        at java.lang.Class.forName0(Native Method)
>
>        at java.lang.Class.forName(Unknown Source)
>
>        at
>
> org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:35
> 9)
>
>        ... 19 more
>
> ) that prevented it from fulfilling this request.</u></p><HR size="1"
> noshade="noshade"><h3>Apache Tomcat/6.0.32</h3></body></html>
>
>
>
>
>
> Please guide me in this regard.
>
>
>
> Regards
>
> Vignesh
>
>

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