Solr giving error

cancel
Showing results for 
Search instead for 
Did you mean: 
shivam1sharma
Member II

Solr giving error

ERROR (coreContainerWorkExecutor-2-thread-1) [ ] o.a.s.c.CoreContainer Error waiting for SolrCore to be created
java.util.concurrent.ExecutionException: org.apache.solr.common.SolrException: Unable to create core [alfresco]
at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
at org.apache.solr.core.CoreContainer.lambda$load$6(CoreContainer.java:594)
at com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: org.apache.solr.common.SolrException: Unable to create core [alfresco]
at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:966)
at org.apache.solr.core.CoreContainer.lambda$load$5(CoreContainer.java:565)
at com.codahale.metrics.InstrumentedExecutorService$InstrumentedCallable.call(InstrumentedExecutorService.java:197)
... 5 more

2 Replies
ttoine
Community Manager
Community Manager

Re: Solr giving error

could you please write a real question, giving details about your implementation, version of Alfresco, and more?

just pasting logs is not a question.

openpj
Moderator
Moderator

Re: Solr giving error

It seems that your Solr can't create the Alfresco core for indexing.

We don't see here the CausedBy of this exception but I guess that you could have a permission issue related to the folder where Solr is trying to create the two Solr cores: alfresco and archive.