I have installed a servlet (solr) that requires that I set the variable solr.solr.home
equal to solr home. Something like:
JAVA_OPTS=-D=solr.solr.home='/usr/share/tomcat/solr'
The version of tomcat I am using is running as a service setup through plesk control panel. After googling this I found a page that said I should edit the web.xml file in the war file and then re-jar it. I uncommented a section in the web.xml and filled in the necessary fields:
<env-entry>
<env-entry-name>solr/home</env-entry-name>
<env-entry-value>/usr/share/tomcat5/solr</env-entry-value>
<env-entry-type>java.lang.String</env-entry-type>
</env-entry>
I repackaged the war file and reinstalled through the control panel but the logs are still complaining that solr/home needs to be set.
Anyone got any ideas?