Locking at the OS level breaks c3p0 when using an H2 database.  Use a lock file instead