Most Popular
Recently Added
Recently Updated

File Sync Locking Issue


Common error to all databases

java.lang.RuntimeException: Could not obtain file sync shared lock within 300000 millis

Database specific error


com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure


The database connection has timed out which causes the sym_lock.csv file to be out of sync. As a result SymmetricDS assumes there is a lock in place and will not proceed.


1.) Add the following property:

 db.validation.query=select 1

2.) Delete the sym_lock.csv

3.) Restart SymmetricDS

Properties ID: 000027   Views: 1860   Updated: 7 years ago
Filed under: