[ https://issues.apache.org/jira/browse/SOLR-165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474265 ]
Ryan McKinley commented on SOLR-165: ------------------------------------ *something* has changed that makes things blow up if you don't set the solr.solr.home property. In resin (at least), it is not enough to just set the JNDI variable, you must also set the system property: <web-app id="/solr/" document-directory="/path/to/solr/webapp/solr" archive-path="/path/to/solr/webapp/solr.war"> <system-property solr.solr.home="/path/to/solr"/> <env-entry> <env-entry-name>solr/home</env-entry-name> <env-entry-type>java.lang.String</env-entry-type> <env-entry-value>/path/to/solr</env-entry-value> </env-entry> </web-app> I have not looked into why... > Improved Doc on setting env solr/home > ------------------------------------- > > Key: SOLR-165 > URL: https://issues.apache.org/jira/browse/SOLR-165 > Project: Solr > Issue Type: Improvement > Components: documentation > Environment: linux/tomcat > Reporter: Eric Passmore > Priority: Trivial > > It would be nice if this page included the following to > http://wiki.apache.org/solr/SolrTomcat > Here is an example on linux, note the full path to the solr.war and the use > of ${catalina.home}. > <Context docBase="${catalina.home}/webapps/solr.war" debug="0" > crossContext="true" > > <Environment name="solr/home" type="java.lang.String" > value="/home/data/solr" override="true" /> > </Context> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.