I'm running the WAR distribution of TeamCity on a Linux system with Tomcat 7. I seem to be unable to change the data path used by TeamCity.
So far I've tried:
- Globally setting the TEAMCITY_DATA_PATH environment variable for my server (the docs are talking about a Linux environment variable, not some other kind of Tomcat environment variable, are they?). I even rebooted my server to ensure the environment variable was set for the shell Tomcat runs in.
- Adding the following to my conf/web.xml:
Both times, TeamCity complained about not being able to create its database in /dev/null/.BuildServer.
I'm not that familiar with Tomcat and its inner workings, but I think that assigning a home directory for my Tomcat user or editing Tomcat's init script would not be the cleanest of options.