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)

hsqldb | trejus | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    File input/output errorerror java.io.IOExcept

    hsqldb | 1 decade ago | trejus
    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)
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    [jboss-user] [JCA/JBoss] - WHY pingDatabase failed status=-1?

    jboss.org | 1 year ago
    java.sql.SQLException: pingDatabase failed status=-1

    5 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. JBoss Application Server Connector
      WrapperDataSource.getConnection
      1. org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:158)
      2. org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:508)
      3. org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:207)
      4. org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:535)
      5. org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:445)
      6. org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:298)
      7. org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:497)
      8. org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:888)
      9. org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102)
      9 frames
    3. Hibernate
      DatasourceConnectionProvider.getConnection
      1. org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:59)
      1 frame
    4. Hibernate
      Configuration.buildSettings
      1. org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:72)
      2. org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1464)
      2 frames