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-168]

Samebug tips0

There are no available Samebug tips.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3

  • via by Jānis šteinbergs,
  • via by Jānis šteinbergs,
  • via by Wulf C. Krueger,
  • Stack trace

    • 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-168] at com.google.gerrit.pgm.util.AbstractProgram.die(AbstractProgram.java:95) at com.google.gerrit.pgm.util.SiteProgram.createDbInjector(SiteProgram.java:143) at com.google.gerrit.pgm.Daemon.run(Daemon.java:174) at com.google.gerrit.pgm.util.AbstractProgram.main(AbstractProgram.java:67) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.google.gerrit.launcher.GerritLauncher.invokeProgram(GerritLauncher.java:169) at com.google.gerrit.launcher.GerritLauncher.mainImpl(GerritLauncher.java:92) at com.google.gerrit.launcher.GerritLauncher.main(GerritLauncher.java:50) at Main.main(Main.java:25) Caused by: java.lang.RuntimeException: DbInjector failed ... 11 more Caused by: com.google.inject.CreationException: Guice creation errors: 1) Cannot create ReviewDb while locating com.google.gerrit.server.schema.ReviewDbDatabaseProvider at com.google.gerrit.server.schema.DatabaseModule.configure(DatabaseModule.java:31)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    No Bugmate found.