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](https://github.com/search?utf8=%E2%9C%93&q=%22Environment%20name%22%20%22solr.data.dir%22&type=Code&ref=searchresults) and there are some configuration files which they have it there, but I couldn't make it working.