: Is there some way to override the data directory in the Tomcat context file?
i don't believe so.
work was done a long time ago to support system property substitution when
the solrconfig.xml file is loaded, but i don't think that was ever
generalized to support JNDI values as well (which is
I have Solr configured on Centos 5 with Tomcat 5. I'd like to have several
solr instances on the machine that share the same solrconfig.xml file but
override the data directory and set their own data location.
Is there some way to override the data directory in the Tomcat context file?
I tried