java.sql.SQLException

Database lock acquisition failure: lockFile: org.hsqldb.persist.LockFile@a4d71f6d[file =C:\Users\Jansu\workspace\poker\db\db.lck, exists=true, locked=false, valid=false, ] method: checkHeartbeat read: 2010-12-22 14:57:53 heartbeat - read: -2700 ms.

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web408

  • via Unknown by Unknown author,
  • via Unknown by Unknown author,
  • Stack trace

    • java.sql.SQLException: Database lock acquisition failure: lockFile: org.hsqldb.persist.LockFile@a4d71f6d[file =C:\Users\Jansu\workspace\poker\db\db.lck, exists=true, locked=false, valid=false, ] method: checkHeartbeat read: 2010-12-22 14:57:53 heartbeat - read: -2700 ms. at org.hsqldb.jdbc.Util.sqlException(Util.java:380) at org.hsqldb.jdbc.Util.sqlException(Util.java:103) at org.hsqldb.jdbc.JDBCConnection.<init>(JDBCConnection.java:3303) at org.hsqldb.jdbc.JDBCDriver.getConnection(JDBCDriver.java:321) at org.hsqldb.jdbc.JDBCDriver.connect(JDBCDriver.java:259) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) at Run.main(Run.java:14) Caused by: org.hsqldb.HsqlException: Database lock acquisition failure: lockFile: org.hsqldb.persist.LockFile@a4d71f6d[file =C:\Users\Jansu\workspace\poker\db\db.lck, exists=true, locked=false, valid=false, ] method: checkHeartbeat read: 2010-12-22 14:57:53 heartbeat - read: -2700 ms. at org.hsqldb.error.Error.error(Error.java:77) at org.hsqldb.persist.LockFile.newLockFileLock(LockFile.java:642) at org.hsqldb.persist.Logger.acquireLock(Logger.java:1076) at org.hsqldb.persist.Logger.openPersistence(Logger.java:284) at org.hsqldb.Database.reopen(Database.java:220) at org.hsqldb.Database.open(Database.java:186) at org.hsqldb.DatabaseManager.getDatabase(DatabaseManager.java:240) at org.hsqldb.DatabaseManager.newSession(DatabaseManager.java:157) at org.hsqldb.jdbc.JDBCConnection.<init>(JDBCConnection.java:3281) ... 5 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    andyglickandyglick
    2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    92 more bugmates