lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: Tomcat JNDI Settings
Date Tue, 06 Nov 2007 06:08:57 GMT
: <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?

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 

"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 


View raw message