java.sql.SQLException: The database is already in use by another process: org.hsqldb.persist.NIOLockFile@d6a71f16[file =D:\JBPM\jbpm-starters-kit-3.1\jbpm-server\server\jbpm\data\hypersonic\localDB.lck, exists=true, locked=false, valid=false, fl =sun.nio.ch.FileLockImpl[0:16 exclusive valid]]: java.security.AccessControlException: access denied (java.io.FilePermission D:\JBPM\jbpm-starters-kit-3.1\jbpm-server\server\jbpm\data\hypersonic\localDB.lck delete)

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

Solutions on the web

via jboss.org by Unknown author, 1 year ago
The database is already in use by another process: org.hsqldb.persist.NIOLockFile@d6a71f16[file =D:\JBPM\jbpm-starters-kit-3.1\jbpm-server\server\jbpm\data\hypersonic\localDB.lck, exists=true, locked=false, valid=false, fl =sun.nio.ch.FileLockImpl[0
via Oracle Community by 800344, 11 months ago
File input/output error: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
via hsqldb by txie
, 1 year ago
error in script file line: 1 Unexpected token: SCHEMA in statement \[CREATE SCHEMA\]
via hsqldb by pit3r
, 1 year ago
error in script file line: 4 S1000 General error java.lang.NullPointerException in statement \[SET TABLE ACTUALCATALOGTREE INDEX'3976216 272 0'\]
via gilead by fredrikericson
, 1 year ago
Connection is broken: java.io.EOFException
via hsqldb by datenimperator
, 1 year ago
The database is already in use by another process: org.hsqldb.persist.NIOLockFile@c7b661ea\[file =D:\Documents and Settings\christian.aust\database\db.lck, exists=true, locked=false, valid=false, fl =null\]: java.lang.Exception:  java.io.IOException
java.sql.SQLException: The database is already in use by another process: org.hsqldb.persist.NIOLockFile@d6a71f16[file =D:\JBPM\jbpm-starters-kit-3.1\jbpm-server\server\jbpm\data\hypersonic\localDB.lck, exists=true, locked=false, valid=false, fl =sun.nio.ch.FileLockImpl[0:16 exclusive valid]]: java.security.AccessControlException: access denied (java.io.FilePermission D:\JBPM\jbpm-starters-kit-3.1\jbpm-server\server\jbpm\data\hypersonic\localDB.lck delete)
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.jdbcConnection.(Unknown Source)
at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
at org.hsqldb.jdbcDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:72)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859)
at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)
at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74)
at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:79)
at org.jbpm.persistence.db.DbPersistenceService.getGraphSession(DbPersistenceService.java:216)
at org.jbpm.JbpmContext.getGraphSession(JbpmContext.java:427)
at org.jbpm.JbpmContext.deployProcessDefinition(JbpmContext.java:166)

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, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
11 more bugmates

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