Hi Raghav,
Recently, integration with Tika was completed for SOLR-284 and it is
now committed on the trunk (but does not use the old
RichDocumentHandler approach). See http://wiki.apache.org/solr/ExtractingRequestHandler
for how to use and configure.
Otherwise, it looks to me like the jar file for the RichDocHandler is
not in your WAR or in the Solr Home lib directory.
HTH,
Grant
On Dec 10, 2008, at 7:09 AM, RaghavPrabhu wrote:
Hi all,
I want to index the rich text documents like .doc, .xls, .ppt files.
I had
done the patch for updating the rich documents by followed the
instructions
in this below url. http://wiki.apache.org/solr/UpdateRichDocuments
When i indexing the doc file, im getting this following error in the
browser.
HTTP ERROR: 500
lazy loading error
org.apache.solr.common.SolrException: lazy loading error
at
org.apache.solr.core.RequestHandlers
$LazyRequestHandlerWrapper.getWrappedHandler(RequestHandlers.java:247)
at
org.apache.solr.core.RequestHandlers
$LazyRequestHandlerWrapper.handleRequest(RequestHandlers.java:228)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1204)
at
org
.apache
.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:303)
at
org
.apache
.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:232)
at
org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1089)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
365)
at
org
.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
216)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
181)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
712)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
405)
at
org
.mortbay
.jetty
.handler
.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
at
org
.mortbay
.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
139)
at org.mortbay.jetty.Server.handle(Server.java:285)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
502)
at
org.mortbay.jetty.HttpConnection
$RequestHandler.headerComplete(HttpConnection.java:821)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)
at
org.mortbay.jetty.bio.SocketConnector
$Connection.run(SocketConnector.java:226)
at
org.mortbay.thread.BoundedThreadPool
$PoolThread.run(BoundedThreadPool.java:442)
Caused by: org.apache.solr.common.SolrException: Error loading class
'solr.RichDocumentRequestHandler'
at
org
.apache
.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:273)
at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:319)
at org.apache.solr.core.SolrCore.createRequestHandler(SolrCore.java:
340)
at
org.apache.solr.core.RequestHandlers
$LazyRequestHandlerWrapper.getWrappedHandler(RequestHandlers.java:235)
... 21 more
Caused by: java.lang.ClassNotFoundException:
solr.RichDocumentRequestHandler
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.lang.ClassLoader.loadClass(Unknown Source)
at
org
.mortbay
.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:375)
at
org
.mortbay
.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337)
at java.lang.ClassLoader.loadClassInternal(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:257)
... 24 more
RequestURI=/solr/update/rich
Better solutions will be appreciate more..
Thanks a lot
Prabhu.K
--
View this message in context:
http://www.nabble.com/Error%2C-when-i-update-the-rich-text-documents-such-as-.doc%2C-.ppt-files.-tp20934026p20934026.html
Sent from the Solr - User mailing list archive at Nabble.com.
--------------------------
Grant Ingersoll
Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ