Forum Discussion

shivajothi's avatar
shivajothi
New Contributor
10 years ago

liquibase.exception.LockException: Could not acquire change log lock. locked by the system

In recent Days,whenever I am using the test runner,its performance is too slow and in logs

17:07:53,170 INFO [LiquibaseDbInitializer] Initializing database..
17:12:54,415 ERROR [LiquibaseDbInitializer] Failed to initialize database
liquibase.exception.LockException: Could not acquire change log lock. Currently locked by 01HW273984 (10.239.97.155) since 9/9/15 12:53 PM

 

Please note that the asset id and the ip address mentioned here are the ones in which i am using the Pro

1 Reply

  • tomlee2's avatar
    tomlee2
    New Contributor

    I had the same issue and takes 4-5 mins for ReadyAPI to startup.  I fixed it by going to this folder

     

    C:\Users\yournamehere\.readyapi\db and moved the files to somewhere.

     

    I think readyapi.trace.db is the file that casuing the problem for me which should not be there.

     

    When ReadyAPI is running.... you will see 2 files:

    readyapi.h2.db

    readyapi.lock.db

     

    When you close it.... only readyapi.h2.db should be in the folder.

     

    Hope that helps.