lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com.INVALID>
Subject Re: RequestHandler init failure
Date Tue, 24 Jun 2014 10:41:13 GMT
Hi,

Looks like you have different versions jars than solr.war ?

Ahmet 



On Tuesday, June 24, 2014 10:33 AM, atp <annamalai.tp@hcl.com> wrote:
Hi,

I'm getting below error while trying to access solrcloud , 

i tried with , 

added these two in to solrconfig.xml file

  <lib dir="../../../../contrib/dataimporthandler/lib/" regex=".*\.jar" />
  <lib dir="../../../../dist/" regex="solr-dataimporthandler-.*\.jar" />

actual location is /opt/apps/prod/solr/dist here all the required below jars
are available


solr-4.8.1.war                           solr-map-reduce-4.8.1.jar
solr-analysis-extras-4.8.1.jar           solr-morphlines-cell-4.8.1.jar
solr-cell-4.8.1.jar                      solr-morphlines-core-4.8.1.jar
solr-clustering-4.8.1.jar                solr-solrj-4.8.1.jar
solr-core-4.8.1.jar                      solr-test-framework-4.8.1.jar
solr-dataimporthandler-4.8.1.jar         solr-uima-4.8.1.jar
solr-dataimporthandler-extras-4.8.1.jar  solr-velocity-4.8.1.jar
solrj-lib                                test-framework
solr-langid-4.8.1.jar




but stil getting same issue ,  any help please



HTTP Status 500 - {msg=SolrCore 'collection1' is not available due to init
failure: RequestHandler init
failure,trace=org.apache.solr.common.SolrException: SolrCore 'collection1'
is not available due to init failure: RequestHandler init failure at
org.apache.solr.core.CoreContainer.getCore(CoreContainer.java:753) at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:347)
at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745) Caused by:
org.apache.solr.common.SolrException: RequestHandler init failure at
org.apache.solr.core.SolrCore.<init>(SolrCore.java:858) at
org.apache.solr.core.SolrCore.<init>(SolrCore.java:641) at
org.apache.solr.core.CoreContainer.create(CoreContainer.java:556) at
org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:261) at
org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:253) at
java.util.concurrent.FutureTask.run(FutureTask.java:262) at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at
java.util.concurrent.FutureTask.run(FutureTask.java:262) at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
... 1 more Caused by: org.apache.solr.common.SolrException: RequestHandler
init failure at
org.apache.solr.core.RequestHandlers.initHandlersFromConfig(RequestHandlers.java:167)
at org.apache.solr.core.SolrCore.<init>(SolrCore.java:785) ... 10 more
Caused by: org.apache.solr.common.SolrException: Error Instantiating Request
Handler, solr.DataImportHandler failed to instantiate
org.apache.solr.request.SolrRequestHandler at
org.apache.solr.core.SolrCore.createInstance(SolrCore.java:559) at
org.apache.solr.core.SolrCore.createRequestHandler(SolrCore.java:611) at
org.apache.solr.core.RequestHandlers.initHandlersFromConfig(RequestHandlers.java:153)
... 11 more Caused by: java.lang.ClassCastException: class
org.apache.solr.handler.dataimport.DataImportHandler at
java.lang.Class.asSubclass(Class.java:3165) at
org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:484)
at
org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:421)
at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:538) ... 13
more ,code=500}



--
View this message in context: http://lucene.472066.n3.nabble.com/RequestHandler-init-failure-tp4143640.html
Sent from the Solr - User mailing list archive at Nabble.com.


Mime
View raw message