Hi -
For solr-4.10.4, following the instructions on git, I created a Solr collection directory named /data/solrdata and copied <solr-version>/example/solr/* into it. I then changed the solr/home to /data/solrdata in web.xml.
Then, accessing <hostname>:8080/solr, I get
HTTP Status 500 - {msg=SolrCore 'collection1' is not available due
to init failure: Could not load conf for core collection1: Error loading
solr config from
solr/collection1/conf/solrconfig.xml,trace=org.apache.solr.common.SolrException:
SolrCore 'collection1' is not available due to init failure: Could not
load conf for core collection1: Error loading solr config from
solr/collection1/conf/solrconfig.xml
at org.apache.solr.core.CoreContainer.getCore(CoreContainer.java:745)
at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:307)
at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
...
notice that it is trying to find 'solr/collection1'. This persists regardless of what I define 'solr/home' to be.
Has anyone run into this?
Garey Mills
--
Generate messages about directories that cannot be
read, files that cannot be opened ... rather than being silent ...
(from `man du`)