java.sql.SQLException: The database is already in use by another process: org.hsqldb.persist.NIOLockFile@1fc06b48[file =C:\temp\testdb.lck, exists=true, locked=false, valid=false, fl =null]: java.lang.Exception: java.io.IOException: The process cannot access the file because another process has locked a portion of the file : C:\temp\testdb.lck

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 bludginozzie
, 1 year ago
The database is already in use by another process: org.hsqldb.persist.NIOLockFile@1fc06b48\[file =C:\temp\testdb.lck, exists=true, locked=false, valid=false, fl =null\]: java.lang.Exception: java.io.IOException: The process cannot access the file because another process has locked a portion of the file : C:\temp\testdb.lck
via sourceforge.net by Unknown author, 1 year ago
The database is already in use by another process: org.hsqldb.persist.NIOLockFile@1fc06b48[file =C:\temp\testdb.lck, exists=true, locked=false, valid=false, fl =null]: java.lang.Exception: java.io.IOException: The process cannot access the file because another process has locked a portion of the file : C:\temp\testdb.lck
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
java.sql.SQLException: The database is already in use by another process: org.hsqldb.persist.NIOLockFile@1fc06b48[file =C:\temp\testdb.lck, exists=true, locked=false, valid=false, fl =null]: java.lang.Exception: java.io.IOException: The process cannot access the file because another process has locked a portion of the file : C:\temp\testdb.lck
at org.hsqldb.jdbc.Util.sqlException(Util.java:63)
at org.hsqldb.jdbc.jdbcConnection.(jdbcConnection.java:2410)

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.