好的,我放弃了。我无法找到解决方案。全文:我正在使用在Jetty上运行的ManifoldCF v.5.1连接到Opentext(一切正常,我可以抓取Opentext),现在我在连接的tomcat 7上运行Solr 4.0 Alpha来获取ManifoldCF的输出。但是,只要ManifoldCF尝试将数据移交给Solr。我收到这个错误:
SEVERE: null:org.apache.solr.common.SolrException: lazy loading error
at org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.getWra
ppedHandler(RequestHandlers.java:256)
at org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.handle
Request(RequestHandlers.java:238)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1561)
at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter
.java:442)
at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilte
r.java:263)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:185)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
929)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:405)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:269)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
AbstractProtocol.java:515)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoin
t.java:300)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.solr.common.SolrException: Error Instantiating Request Han
dler, org.apache.solr.handler.extraction.ExtractingRequestHandler failed to inst
antiate org.apache.solr.request.SolrRequestHandler
at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:434)
at org.apache.solr.core.SolrCore.createRequestHandler(SolrCore.java:477)
at org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.getWra
ppedHandler(RequestHandlers.java:247)
... 19 more
Caused by: java.lang.ClassCastException: class org.apache.solr.handler.extractio
n.ExtractingRequestHandler
at java.lang.Class.asSubclass(Unknown Source)
at org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.
java:399)
at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:420)
... 21 more
我在solarconfig.xml中尝试了几个请求处理程序,它们都以同样的方式失败。我读到apache-solr-cell * .jar必须在solr.war中,但我似乎无法确认或使用ant合并它。 请指教......
答案 0 :(得分:0)
也许您需要删除此请求处理程序的startup="lazy"
属性?