I've the following configuration file within conf/Catalina/localhost
in Tomcat 7:
<Context docBase="webapps/solr.war" debug="0" crossContext="true" >
<Environment name="solr/home" type="java.lang.String" value="/opt/solr/home" override="true" />
<Environment name="data/dir" type="java.lang.String" value="/var/lib/solr" override="true" />
</Context>
where I would like to separate my solr.home
from data.dir
.
I've tested the above config files, but doesn't seems to work.
Is it something possible using that this kind of XML configuration file?
I've checked on GitHub and there are some configuration files which they have it there, but I couldn't make it working.