org.h2.jdbc.JdbcSQLException: Database may be already in use: "Locked by another process". Possible solutions: close all other connection(s); use the server mode [90020-187]

userecho.com | 3 months ago
  1. 0

    Error in loading database / General Forum / Ubooquity

    userecho.com | 3 months ago
    org.h2.jdbc.JdbcSQLException: Database may be already in use: "Locked by another process". Possible solutions: close all other connection(s); use the server mode [90020-187]
  2. 0

    Moving from H2 1.3.176 to 1.4.187 results in sporadic ArrayIndexOutOfBoundsExceptions?

    Google Groups | 2 years ago | Steve McLeod
    org.h2.jdbc.JdbcSQLException: General error: "java.lang. ArrayIndexOutOfBoundsException"; SQL statement: SET CACHE_SIZE 65536 [50000-187]
  3. 0

    Can't initialize the database...

    GitHub | 2 years ago | victornoel
    org.waarp.common.database.exception.WaarpDatabaseNoConnectionException: Cannot create Connection
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NRS v1.5.9

    nxtforum.org | 1 year ago
    java.lang.RuntimeException: org.h2.jdbc.JdbcSQLException: File corrupted while reading record: "wrong checksum". Possible solution: use the recovery tool [90030-176]
  6. 0

    NRS server has exited

    nxtforum.org | 1 year ago
    java.lang.RuntimeException: org.h2.jdbc.JdbcSQLException: Database may be already in use: "Locked by another process". Possible solutions: close all other connection(s); use the server mode [90020-176]

    3 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. org.h2.jdbc.JdbcSQLException

      Database may be already in use: "Locked by another process". Possible solutions: close all other connection(s); use the server mode [90020-187]

      at org.h2.message.DbException.getJdbcSQLException()
    2. H2 Database Engine
      JdbcConnectionPool.getConnection
      1. org.h2.message.DbException.getJdbcSQLException(DbException.java:345)[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
      2. org.h2.message.DbException.get(DbException.java:179)[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
      3. org.h2.message.DbException.get(DbException.java:155)[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
      4. org.h2.store.FileLock.getExceptionAlreadyInUse(FileLock.java:461)[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
      5. org.h2.store.FileLock.lockFile(FileLock.java:355)[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
      6. org.h2.store.FileLock.lock(FileLock.java:135)[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
      7. org.h2.engine.Database.open(Database.java:634)[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
      8. org.h2.engine.Database.openDatabase(Database.java:266)[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
      9. org.h2.engine.Database.<init>(Database.java:260)[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
      10. org.h2.engine.Engine.openSession(Engine.java:60)[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
      11. org.h2.engine.Engine.openSession(Engine.java:167)[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
      12. org.h2.engine.Engine.createSessionAndValidate(Engine.java:145)[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
      13. org.h2.engine.Engine.createSession(Engine.java:128)[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
      14. org.h2.engine.Engine.createSession(Engine.java:26)[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
      15. org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:347)[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
      16. org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:108)[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
      17. org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:92)[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
      18. org.h2.Driver.connect(Driver.java:72)[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
      19. org.h2.jdbcx.JdbcDataSource.getJdbcConnection(JdbcDataSource.java:190)[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
      20. org.h2.jdbcx.JdbcDataSource.getXAConnection(JdbcDataSource.java:353)[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
      21. org.h2.jdbcx.JdbcDataSource.getPooledConnection(JdbcDataSource.java:385)[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
      22. org.h2.jdbcx.JdbcConnectionPool.getConnectionNow(JdbcConnectionPool.java:227)[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
      23. org.h2.jdbcx.JdbcConnectionPool.getConnection(JdbcConnectionPool.java:199)[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
      23 frames
    3. com.ubooquity.data
      c.<init>
      1. com.ubooquity.data.database.c.g(SourceFile:121)[Ubooquity.jar:1.10.0]
      2. com.ubooquity.data.database.c.<init>(SourceFile:47)[Ubooquity.jar:1.10.0]
      2 frames
    4. com.ubooquity
      Ubooquity.main
      1. com.ubooquity.Ubooquity.main(SourceFile:258)[Ubooquity.jar:1.10.0]
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_92]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_92]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_92]
      4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_92]
      4 frames
    6. com.ubooquity.e
      c.a
      1. com.ubooquity.e.c.a(SourceFile:823)[Ubooquity.jar:1.10.0]
      1 frame
    7. com.ubooquity
      Launcher.main
      1. com.ubooquity.Launcher.main(SourceFile:10)[Ubooquity.jar:1.10.0]
      1 frame