: 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 the <Environment/> tags in context files set) -Hoss