java.sql.SQLException: File input/output errorerror java.io.IOException: The process cannot access the file because another process has locked a portion of the file closing file - file ../server/nodeserver/db/event\_db.data at org.hsqldb.jdbc.Util.sqlException(Lorg.hsqldb.HsqlException;)Ljava.sql.SQLException;(Unknown Source) at org.hsqldb.jdbc.jdbcConnection.<init>(Lorg.hsqldb.persist.HsqlProperties;)V(Unknown Source) at org.hsqldb.jdbcDriver.getConnection(Ljava.lang.String;Ljava.util.Properties;)Ljava.sql.Connection;(Unknown Source) at org.hsqldb.jdbcDriver.connect(Ljava.lang.String;Ljava.util.Properties;)Ljava.sql.Connection;(Unknown Source)

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 hsqldb by trejus
, 1 year ago
File input/output errorerror java.io.IOException: The process cannot access the file because another process has locked a portion of the file closing file - file ../server/nodeserver/db/event\_db.data at org.hsqldb.jdbc.Util.sqlException
java.sql.SQLException: File input/output errorerror java.io.IOException: The process cannot access the file because another process has locked a portion of the file closing file - file ../server/nodeserver/db/event\_db.data at org.hsqldb.jdbc.Util.sqlException(Lorg.hsqldb.HsqlException;)Ljava.sql.SQLException;(Unknown Source) at org.hsqldb.jdbc.jdbcConnection.<init>(Lorg.hsqldb.persist.HsqlProperties;)V(Unknown Source) at org.hsqldb.jdbcDriver.getConnection(Ljava.lang.String;Ljava.util.Properties;)Ljava.sql.Connection;(Unknown Source) at org.hsqldb.jdbcDriver.connect(Ljava.lang.String;Ljava.util.Properties;)Ljava.sql.Connection;(Unknown Source)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:158)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:508)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:207)
at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:535)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:445)
at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:298)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:497)
at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:888)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:72)

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

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