: <Context docBase="/var/lib/tomcat5/solr/apache-solr-1.2.0.war" debug="0" : crossContext="true" > : <Environment name="solr/home" type="java.lang.String" : value="/var/lib/tomcat5/solr/home" override="true" /> : </Context>
: SEVERE: Exception starting filter SolrRequestFilter class : java.lang.NoClassDefFoundError: Could not initialize class : org.apache.solr.core.SolrConfig this may be a variant of SOLR-337 ... are you sure /var/lib/tomcat5/solr/home exists? does it contain a ./conf directory? does the conf directory contain a solrconfig.xml file? https://issues.apache.org/jira/browse/SOLR-337 Second suggestion: is /var/lib/tomcat5/ the directory where you normally put war files for tomcat? i recall people saying that with tomcat, if you want to use a context file then the war *must* not be in the nromal webaps directory... http://wiki.apache.org/solr/SolrTomcat#head-7036378fa48b79c0797cc8230a8aa0965412fb2e "For Tomcat 5.5 and later, the war file must be stored outside of the webapps directory for this to work. Otherwise, this Context element is ignored." -Hoss