SolrCore Initialization Failures

160 views
Skip to first unread message

Newton Kyari

unread,
May 9, 2017, 2:27:18 PM5/9/17
to islandora
Good day guys,

I have been having issues initializing Solr. 

My installations so far

  • Islandora - Working
  • Fedoragsearch - Working
  • Solr - Installed but cannot initialize

I keep having this error;

Caused by: java.io.IOException: Can't find resource 'solrconfig.xml' in classpath or 'c;\fedora\solr\collection1\conf/', cwd=C:\Program Files\Apache Software Foundation\Tomcat 7.0

I have reinstalled, followed the tutorial and double check everything.
Copied the contents of "solr-4.2.0/example/solr" to the directory "c;/fedora/solr/" so the "solrconfig.xml" exist there.

My solr.xml in Tomcat - Conf - Catalina - localhost is:

<?xml version="1.0" encoding="UTF-8"?>
<Context docBase="C:/Program Files/Apache Software Foundation/Tomcat 7.0/webapps/solr.war" debug="0" crossContext="true">
  <Environment name="solr/home" type="java.lang.String" value="c;/fedora/solr/" override="true"/>
</Context>

I am stuck and can't move forward. Any suggestion will be very help right now.

Kind regards

dp...@metro.org

unread,
May 9, 2017, 2:35:08 PM5/9/17
to islandora
Hi, 

Quick first look
 <Environment name="solr/home" type="java.lang.String" value="/real/path/to/solr" override="true" />
</Context>
I feel that maybe "c;/fedora/solr", the "c;" specially is wrong

Is this linux?

Best

Diego Pino
Metro.org

Newton Kyari

unread,
May 10, 2017, 2:36:23 PM5/10/17
to islandora
Dear Diego,

Thanks.It worked. Guess I was tired and seeing things

Kind regards

dp...@metro.org

unread,
May 10, 2017, 6:24:11 PM5/10/17
to islandora
Good Newton, happy it was that and happy to "see" new faces here. I have been so many times in that tired situation, so totally get you.

Take care!

Diego
Reply all
Reply to author
Forward
0 new messages