java.sql.SQLException: The database is already in use by another process: org.hsqldb.persist.NIOLockFile@9dc5e497\[file =C:\workplace\src\FooPersistence\target\test-databases\Foos.lck, exists=true, locked=false, valid=false, fl =null\]: java.lang.Exception: checkHeartbeat(): lock file \[C:\workplace\src\FooPersistence\target\test-databases\Foos.lck\] is presumably locked by another process.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via hsqldb by joe_emporium
, 1 year ago
The database is already in use by another process: org.hsqldb.persist.NIOLockFile@9dc5e497\[file =C:\workplace\src\FooPersistence\target\test-databases\Foos.lck, exists=true, locked=false, valid=false, fl =null\]: java.lang.Exception: checkHeartbeat(): lock file \[C:\workplace\src\FooPersistence\target\test-databases\Foos.lck\] is presumably locked by another process.
via sourceforge.net by Unknown author, 1 year ago
The database is already in use by another process: org.hsqldb.persist.NIOLockFile@9dc5e497[file =C:\workplace\src\FooPersistence\target\test-databases\Foos.lck, exists=true, locked=false, valid=false, fl =null]: java.lang.Exception: checkHeartbeat(): lock file [C:\workplace\src\FooPersistence\target\test-databases\Foos.lck] is presumably locked by another process.
via blogspot.com by Unknown author, 2 years ago
The database is already in use by another process: org.hsqldb.persist.NIOLockFile@79409313[file =/home/rbrackma/middleware/jboss-eap-5.1/jboss-as/server/all/data/hypersonic/localDB.lck, exists=true, locked=false, valid=false, fl =null
via blogspot.com by Unknown author, 2 years ago
The database is already in use by another process: org.hsqldb.persist.NIOLockFile@79409313[file =/home/rbrackma/middleware/jboss-eap-5.1/jboss-as/server/all/data/hypersonic/localDB.lck, exists=true, locked=false, valid=false, fl =null
via Stack Overflow by bks
, 2 years ago
The database is already in use by another process: org.hsqldb.persist.NIOLockFile@f3788b66[file =C:\Servers\jboss-4.2.3\server\default\data\hypersonic\localDB.lck, exists=true, locked=false, valid=false, fl =null]: java.io.FileNotFoundException: C:\Servers\jboss-4.2.3\server\default\data\hypersonic\localDB.lck (Access is denied)
via YouTrack by Unknown author, 1 year ago
The database is already in use by another process: lockFile: org.hsqldb.persist.LockFile@360b6fef[file =C:\.BuildServer\system\buildserver.lck, exists=true, locked=false, valid=false, ] method: checkMagic magic: '0000000000000000'
java.sql.SQLException: The database is already in use by another process: org.hsqldb.persist.NIOLockFile@9dc5e497\[file =C:\workplace\src\FooPersistence\target\test-databases\Foos.lck, exists=true, locked=false, valid=false, fl =null\]: java.lang.Exception: checkHeartbeat(): lock file \[C:\workplace\src\FooPersistence\target\test-databases\Foos.lck\] is presumably locked by another process.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.