I'm following the instructions here:

http://wiki.apache.org/solr/SolrTomcat#Installing_Solr_instances_under_Tomcat

...under the heading "Multiple Solr Webapps".

I have configured the context fragment as instructed, placed the apache-solr-3.4.0.war in the directory pointed to by the docBase variable, and modified the solr/home accordingly. I have an empty directory under tomcat/webapps named after the solr home directory in the context fragment.

The context fragment contains:

<?xml version="1.0" encoding="utf-8"?>
<Context docBase="/opt/solr/solr0/apache-solr-3.4.0.war" debug="0" crossContext="true"> <Environment name="solr/home" type="java.lang.String" value="/opt/solr/solr0" override="true"/>
</Context>

An empty /tomcat/webapps/solr0 directory exists.

I expected to fire up tomcat and have it unpack the war file contents into the solr home directory specified in the context fragment, but its empty, as is the webapps directory.

What am I doing wrong?  I'm running Apache Tomcat/6.0.29.


TIA - Tod

Reply via email to