Hi, It sounds like something called Thread.interrupt, do you know what component it could be? I will then investigate (after my vacation).
Regards, Thomas Am 12.04.2011 14:02 schrieb "Eric Jain" <[email protected]>: > Noticed this failure in the logs, just once so far. I recently > upgraded from 1.3.153 to 1.3.154. The connection is obtained like so: > jdbc:h2:file:db/test;AUTO_SERVER=TRUE;MVCC=TRUE. > > > org.h2.jdbc.JdbcSQLException: Error opening database: "Sleep > interrupted" [8000-153] > at org.h2.message.DbException.getJdbcSQLException(DbException.java: > 327) > at org.h2.message.DbException.get(DbException.java:156) > at org.h2.store.FileLock.getExceptionFatal(FileLock.java:439) > at org.h2.store.FileLock.sleep(FileLock.java:434) > at org.h2.store.FileLock.lockFile(FileLock.java:336) > at org.h2.store.FileLock.lock(FileLock.java:134) > at org.h2.engine.Database.open(Database.java:535) > at org.h2.engine.Database.openDatabase(Database.java:218) > at org.h2.engine.Database.<init>(Database.java:213) > at org.h2.engine.Engine.openSession(Engine.java:56) > at org.h2.engine.Engine.openSession(Engine.java:159) > at org.h2.engine.Engine.createSessionAndValidate(Engine.java:138) > at org.h2.engine.Engine.createSession(Engine.java:121) > at org.h2.engine.Engine.createSession(Engine.java:28) > at > org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java: > 285) > at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:114) > at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:98) > at org.h2.Driver.connect(Driver.java:72) > at org.h2.jdbcx.JdbcDataSource.getJdbcConnection(JdbcDataSource.java: > 184) > at org.h2.jdbcx.JdbcDataSource.getConnection(JdbcDataSource.java:159) > at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: > 25) > at java.lang.reflect.Method.invoke(Method.java:597) > ... > Caused by: java.lang.InterruptedException: sleep interrupted > at java.lang.Thread.sleep(Native Method) > at org.h2.store.FileLock.sleep(FileLock.java:432) > ... 94 more > > -- > You received this message because you are subscribed to the Google Groups "H2 Database" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to [email protected]. > For more options, visit this group at http://groups.google.com/group/h2-database?hl=en. > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
