I want to set my datapath to some network attached storage while I am testing things out. I'll also be using HSQLDB with this configuration. The docs tell me that I can set the TEAMCITY_DATA_PATH environment variable and that all will be well. Oddly, this is not the case for me.
TeamCity 3.1.2 (build 6881) initialized, OS: Linux, JRE: 1.5.0_10-b03
SNIPS FROM ATTACHED CAT LOG
TeamCity data path directory: /mvn-repo/teamcity_work_test/
Cannot find /mvn-repo/teamcity_work_test/config/database.properties.
Use database settings from buildServerSpring.xml
Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'dbSettings' defined in URL : Unsatisfied dependency expressed through constructor argument with index 0 of type : No unique bean of type is defined: Unsatisfied dependency of type : expected at least 1 matching bean
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class : Constructor threw exception; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (The database is already in use by another process: org.hsqldb.persist.NIOLockFile@f1606f26[file =/mvn-repo/teamcity_work_test/system/buildserver.lck, exists=true, locked=false, valid=false, fl =null]: )