java.io.IOException: The process cannot access the file because another process has locked a portion of the file : C:\code\project\trunk\db\db\_test.lck

hsqldb | mfullerihets | 10 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Server Mode Failed to connect lock file

    hsqldb | 10 years ago | mfullerihets
    java.io.IOException: The process cannot access the file because another process has locked a portion of the file : C:\code\project\trunk\db\db\_test.lck

    Root Cause Analysis

    1. java.io.IOException

      The process cannot access the file because another process has locked a portion of the file : C:\code\project\trunk\db\db\_test.lck

      at org.hsqldb.jdbc.Util.sqlException()
    2. HSQLDB
      jdbcDriver.connect
      1. org.hsqldb.jdbc.Util.sqlException(Unknown Source)
      2. org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
      3. org.hsqldb.jdbcDriver.getConnection(Unknown Source)
      4. org.hsqldb.jdbcDriver.connect(Unknown Source)
      4 frames
    3. Java RT
      DriverManager.getConnection
      1. java.sql.DriverManager.getConnection(Unknown Source)
      2. java.sql.DriverManager.getConnection(Unknown Source)
      2 frames
    4. HSQLDB
      SqlTool.main
      1. org.hsqldb.util.RCData.getConnection(Unknown Source)
      2. org.hsqldb.util.SqlTool.main(Unknown Source)
      2 frames