> I've added a solr.xml file:
>
> <Context docBase="/var/www/solr/solr.war" crossContext="true" >
>    <Environment name="solr/home" type="java.lang.String"
> value="/var/www/<sitename>/search/" override="true" />
> </Context>
>
> The file /var/www/<sitename>/search/collection1/solrconfig.xml does exist,
> the owner is tomcat7 and the permissions are 664 and contains a
> configuration that is working on my mac with the same version of solr.


In the Solr home location, you'll want to have a solr.xml file for Solr
itself. The xnl file that you already created was for tomcat, not Solr.

You should find a an xml file that's a suitable starting point in the
download, in example/solr. This is the Solr home for the example when it
is started with "java -jar start.jar".

When Solr doesn't have a solr.xml file, it goes to single core mode. This
mode will likely be eliminated in version 5.0.

I do not recommend it, but if you want to run in single core mode, you'll
need to put solrconfig.xml and schema.xml in collection1/conf, not
collection1. The messages that get logged are misleading.

Thanks,
Shawn


Reply via email to