So yesterday I noticed that Ubooquity wasn't running anymore, so I just started it back up and it seemed to be working just fine. Then this morning I actually closed a few windows that I'd left open for a while and I noticed an error window from Ubooquity withe the following text:
"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(DbException.java:345)
at org.h2.message.DbException.get(DbException.java:179)
at org.h2.message.DbException.get(DbException.java:155)
at org.h2.store.FileLock.getExceptionAlreadyInUse(FileLock.java:461)
at org.h2.store.FileLock.lockFile(FileLock.java:355)
at org.h2.store.FileLock.lock(FileLock.java:135)
at org.h2.engine.Database.open(Database.java:634)
at org.h2.engine.Database.openDatabase(Database.java:266)
at org.h2.engine.Database.<init>(Database.java:260)
at org.h2.engine.Engine.openSession(Engine.java:60)
at org.h2.engine.Engine.openSession(Engine.java:167)
at org.h2.engine.Engine.createSessionAndValidate(Engine.java:145)
at org.h2.engine.Engine.createSession(Engine.java:128)
at org.h2.engine.Engine.createSession(Engine.java:26)
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:347)
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:108)
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:92)
at org.h2.Driver.connect(Driver.java:72)
at org.h2.jdbcx.JdbcDataSource.getJdbcConnection(JdbcDataSource.java:190)
at org.h2.jdbcx.JdbcDataSource.getXAConnection(JdbcDataSource.java:353)
at org.h2.jdbcx.JdbcDataSource.getPooledConnection(JdbcDataSource.java:385)
at org.h2.jdbcx.JdbcConnectionPool.getConnectionNow(JdbcConnectionPool.java:227)
at org.h2.jdbcx.JdbcConnectionPool.getConnection(JdbcConnectionPool.java:199)
at com.ubooquity.data.database.b.e(SourceFile:610)
at com.ubooquity.data.database.c.<init>(SourceFile:57)
at com.ubooquity.Ubooquity.main(SourceFile:255)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.ubooquity.e.c.a(SourceFile:823)
at com.ubooquity.Launcher.main(SourceFile:10)"
So I took a look at the logs and found this:
"20151015 04:10:54 [Thread-3] INFO com.ubooquity.Ubooquity - Ubooquity has closed.
20151015 04:11:02 [main] INFO com.ubooquity.Ubooquity - Running with the following parameters - headless: false, port: -1, webadmin: false, host: null, debug: false, execdir: D:\Downloads\Ubooquity
20151015 04:11:02 [main] INFO com.ubooquity.Ubooquity - #############################
20151015 04:11:02 [main] INFO com.ubooquity.Ubooquity - # Starting Ubooquity #
20151015 04:11:02 [main] INFO com.ubooquity.Ubooquity - #############################
20151015 04:11:02 [main] INFO com.ubooquity.Ubooquity - Java version: 1.8.0_60
20151015 04:11:02 [main] INFO com.ubooquity.Ubooquity - Java vendor: Oracle Corporation
20151015 04:11:02 [main] INFO com.ubooquity.Ubooquity - Max heap size available: 3634 MB
20151015 04:11:02 [main] INFO com.ubooquity.Ubooquity - OS name: Windows 7
20151015 04:11:02 [main] INFO com.ubooquity.Ubooquity - OS version: 6.1
20151015 04:11:02 [main] INFO com.ubooquity.Ubooquity - OS architecture: amd64
20151015 04:11:02 [main] INFO com.ubooquity.Ubooquity - Loading local version info
20151015 04:11:02 [main] INFO com.ubooquity.Ubooquity - Ubooquity 1.8.2 built on 2015-08-23 at 16:10
20151015 04:11:02 [main] INFO com.ubooquity.Ubooquity - Creating application folders
20151015 04:11:02 [main] INFO com.ubooquity.Ubooquity - Loading preferences
20151015 04:11:05 [main] ERROR com.ubooquity.data.database.c - Cound not get number of existing tables
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(DbException.java:345) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.message.DbException.get(DbException.java:179) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.message.DbException.get(DbException.java:155) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.store.FileLock.getExceptionAlreadyInUse(FileLock.java:461) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.store.FileLock.lockFile(FileLock.java:355) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.store.FileLock.lock(FileLock.java:135) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.Database.open(Database.java:634) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.Database.openDatabase(Database.java:266) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.Database.<init>(Database.java:260) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.Engine.openSession(Engine.java:60) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.Engine.openSession(Engine.java:167) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.Engine.createSessionAndValidate(Engine.java:145) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.Engine.createSession(Engine.java:128) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.Engine.createSession(Engine.java:26) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:347) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:108) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:92) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.Driver.connect(Driver.java:72) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.jdbcx.JdbcDataSource.getJdbcConnection(JdbcDataSource.java:190) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.jdbcx.JdbcDataSource.getXAConnection(JdbcDataSource.java:353) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.jdbcx.JdbcDataSource.getPooledConnection(JdbcDataSource.java:385) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.jdbcx.JdbcConnectionPool.getConnectionNow(JdbcConnectionPool.java:227) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.jdbcx.JdbcConnectionPool.getConnection(JdbcConnectionPool.java:199) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at com.ubooquity.data.database.c.g(SourceFile:121) [Ubooquity.jar:1.8.2]
at com.ubooquity.data.database.c.<init>(SourceFile:47) [Ubooquity.jar:1.8.2]
at com.ubooquity.Ubooquity.main(SourceFile:255) [Ubooquity.jar:1.8.2]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_60]
at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_60]
at com.ubooquity.e.c.a(SourceFile:823) [Ubooquity.jar:1.8.2]
at com.ubooquity.Launcher.main(SourceFile:10) [Ubooquity.jar:1.8.2]
20151015 04:11:07 [main] ERROR com.ubooquity.data.database.c - Could not configure collation strength
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(DbException.java:345) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.message.DbException.get(DbException.java:179) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.message.DbException.get(DbException.java:155) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.store.FileLock.getExceptionAlreadyInUse(FileLock.java:461) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.store.FileLock.lockFile(FileLock.java:355) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.store.FileLock.lock(FileLock.java:135) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.Database.open(Database.java:634) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.Database.openDatabase(Database.java:266) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.Database.<init>(Database.java:260) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.Engine.openSession(Engine.java:60) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.Engine.openSession(Engine.java:167) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.Engine.createSessionAndValidate(Engine.java:145) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.Engine.createSession(Engine.java:128) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.Engine.createSession(Engine.java:26) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:347) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:108) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:92) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.Driver.connect(Driver.java:72) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.jdbcx.JdbcDataSource.getJdbcConnection(JdbcDataSource.java:190) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.jdbcx.JdbcDataSource.getXAConnection(JdbcDataSource.java:353) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.jdbcx.JdbcDataSource.getPooledConnection(JdbcDataSource.java:385) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.jdbcx.JdbcConnectionPool.getConnectionNow(JdbcConnectionPool.java:227) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.jdbcx.JdbcConnectionPool.getConnection(JdbcConnectionPool.java:199) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at com.ubooquity.data.database.c.h(SourceFile:144) [Ubooquity.jar:1.8.2]
at com.ubooquity.data.database.c.<init>(SourceFile:48) [Ubooquity.jar:1.8.2]
at com.ubooquity.Ubooquity.main(SourceFile:255) [Ubooquity.jar:1.8.2]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_60]
at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_60]
at com.ubooquity.e.c.a(SourceFile:823) [Ubooquity.jar:1.8.2]
at com.ubooquity.Launcher.main(SourceFile:10) [Ubooquity.jar:1.8.2]
20151015 04:11:10 [main] ERROR com.ubooquity.data.database.b - Cound not create COMIC table
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(DbException.java:345) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.message.DbException.get(DbException.java:179) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.message.DbException.get(DbException.java:155) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.store.FileLock.getExceptionAlreadyInUse(FileLock.java:461) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.store.FileLock.lockFile(FileLock.java:355) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.store.FileLock.lock(FileLock.java:135) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.Database.open(Database.java:634) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.Database.openDatabase(Database.java:266) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.Database.<init>(Database.java:260) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.Engine.openSession(Engine.java:60) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.Engine.openSession(Engine.java:167) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.Engine.createSessionAndValidate(Engine.java:145) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.Engine.createSession(Engine.java:128) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.Engine.createSession(Engine.java:26) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:347) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:108) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:92) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.Driver.connect(Driver.java:72) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.jdbcx.JdbcDataSource.getJdbcConnection(JdbcDataSource.java:190) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.jdbcx.JdbcDataSource.getXAConnection(JdbcDataSource.java:353) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.jdbcx.JdbcDataSource.getPooledConnection(JdbcDataSource.java:385) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.jdbcx.JdbcConnectionPool.getConnectionNow(JdbcConnectionPool.java:227) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.jdbcx.JdbcConnectionPool.getConnection(JdbcConnectionPool.java:199) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at com.ubooquity.data.database.b.e(SourceFile:610) ~[Ubooquity.jar:1.8.2]
at com.ubooquity.data.database.c.<init>(SourceFile:57) [Ubooquity.jar:1.8.2]
at com.ubooquity.Ubooquity.main(SourceFile:255) [Ubooquity.jar:1.8.2]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_60]
at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_60]
at com.ubooquity.e.c.a(SourceFile:823) [Ubooquity.jar:1.8.2]
at com.ubooquity.Launcher.main(SourceFile:10) [Ubooquity.jar:1.8.2]
20151015 04:11:10 [main] ERROR com.ubooquity.Ubooquity - Exiting application because of exception
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(DbException.java:345) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.message.DbException.get(DbException.java:179) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.message.DbException.get(DbException.java:155) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.store.FileLock.getExceptionAlreadyInUse(FileLock.java:461) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.store.FileLock.lockFile(FileLock.java:355) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.store.FileLock.lock(FileLock.java:135) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.Database.open(Database.java:634) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.Database.openDatabase(Database.java:266) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.Database.<init>(Database.java:260) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.Engine.openSession(Engine.java:60) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.Engine.openSession(Engine.java:167) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.Engine.createSessionAndValidate(Engine.java:145) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.Engine.createSession(Engine.java:128) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.Engine.createSession(Engine.java:26) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:347) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:108) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:92) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.Driver.connect(Driver.java:72) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.jdbcx.JdbcDataSource.getJdbcConnection(JdbcDataSource.java:190) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.jdbcx.JdbcDataSource.getXAConnection(JdbcDataSource.java:353) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.jdbcx.JdbcDataSource.getPooledConnection(JdbcDataSource.java:385) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.jdbcx.JdbcConnectionPool.getConnectionNow(JdbcConnectionPool.java:227) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at org.h2.jdbcx.JdbcConnectionPool.getConnection(JdbcConnectionPool.java:199) ~[h2-1.4.187.jar.1793428740605104529.tmp:1.4.187]
at com.ubooquity.data.database.b.e(SourceFile:610) ~[Ubooquity.jar:1.8.2]
at com.ubooquity.data.database.c.<init>(SourceFile:57) ~[Ubooquity.jar:1.8.2]
at com.ubooquity.Ubooquity.main(SourceFile:255) ~[Ubooquity.jar:1.8.2]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_60]
at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_60]
at com.ubooquity.e.c.a(SourceFile:823) [Ubooquity.jar:1.8.2]
at com.ubooquity.Launcher.main(SourceFile:10) [Ubooquity.jar:1.8.2]"
It looks like on the 15th Ubooquity was performing a scan, then restarted, and choked and died. Since manually starting it back up yesterday, there haven't been any errors.
I keep Ubooquity running on my main server with Win-7 x64, and my media stored on a Netgear ReadyNAS 104. I check the logs on the NAS and it's been running smoothly for several weeks now with out any errors or down time. I don't believe I've ever received this error before, and I've been happily running Ubooquity for several months now.
Any idea what happened?