Hi Chris, Thanks for getting back to me. The folder /var/lib/tomcat5/solr/home exists as does /var/lib/tomcat5/solr/home/conf/solrconfig.xml. It's basically a copy of the files from examples folder at this point.
I put war files in /var/lib/tomcat5/webapps, so I have the apache-solr-1.2.0.war file outside of the webapps folder. Are there any special permissions these files need? I have them owned by the tomcat user. Wayne Chris Hostetter wrote: > : <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 > -- /** * Wayne Graham * Earl Gregg Swem Library * PO Box 8794 * Williamsburg, VA 23188 * 757.221.3112 * http://swem.wm.edu/blogs/waynegraham/ */