On 9/10/2014 6:45 AM, Umesh Awasthi wrote:
> I am trying to follow official document as well other resource available on
> the net but unable to run solr on my tomcat.
> 
> I am trying to install and run `solr-4.10.0` on tomcat. this is what I have
> done so far
> 
>  1. Copy solr-4.10.0.war to tomcat web-app and renamed it to solr.war.
>  2. Created a folder in my `D` drive with name `solr-home`.
>  3. copied everything from `solr-4.10.0\example\solr` and pasted it in
> solr-home` folder.
>  4. Through Environment variable , under user variable, I set following
> path  `solr.solr.home=D:\solr-home`
> 
> Started tomcat server, it is starting without any error / exception, but
> when I try to hit following URL `http://localhost:8080/solr/`, I am getting
> following error
> 
> `message {msg=SolrCore 'collection1' is not available due to init failure:
> Could not load conf for core collection1: Error loading solr config from
> solr/collection1\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\solrconfig.xml at

The path in the error message is wrong.  See SOLR-5814.

https://issues.apache.org/jira/browse/SOLR-5814

Is there anything in the log before this message?  You will need to find
the actual solr logfile ... because you used tomcat and not the jetty
included with Solr, I cannot tell you where this logfile is, although if
you copied the logging jars and the logging config from the example, it
will be logs\solr.log, relative to the current working directory of the
process that started tomcat.

A side note:  Windows 8 is a client operating system.  Microsoft has
crippled their client operating systems in some way compared to their
server operating systems.  Heavy multi-threaded server workloads like
Solr will not work as well.  I don't know exactly what the differences are.

If you really want to run Solr on a Windows system, you really should
put it on Server 2012, not Windows 8.  Unfortunately, their server
operating systems have a rather high price tag.  It will be the opinion
of most people here that you and your pocketbook would be far happier
with the results of running on Linux -- better performance and no cost.

Thanks,
Shawn

Reply via email to