Hello.

I'm trying to upgrade H2 used in our tests from 1.3.154 to 1.4.190

After test finish I can see such exceptions in the log

org.h2.jdbc.JdbcSQLException: Timeout trying to lock table "SYS" [50200-160]
    at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
    at org.h2.message.DbException.get(DbException.java:169)
    at org.h2.message.DbException.get(DbException.java:146)
    at org.h2.table.RegularTable.doLock(RegularTable.java:500)
    at org.h2.table.RegularTable.lock(RegularTable.java:434)
    at org.h2.engine.Database.lockMeta(Database.java:748)
    at org.h2.engine.Database.removeMeta(Database.java:762)
    at org.h2.table.Table.removeChildrenAndResources(Table.java:469)
    at 
org.h2.table.RegularTable.removeChildrenAndResources(RegularTable.java:656)
    at org.h2.engine.Session.cleanTempTables(Session.java:681)
    at org.h2.engine.Session.close(Session.java:561)
    at org.h2.jdbc.JdbcConnection.close(JdbcConnection.java:363)
    at 
com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:642)
    at 
com.mchange.v2.c3p0.impl.NewPooledConnection.closeMaybeCheckedOut(NewPooledConnection.java:255)
    at 
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.destroyResource(C3P0PooledConnectionPool.java:621)
    at 
com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask.run(BasicResourcePool.java:1065)
    at 
com.mchange.v2.resourcepool.BasicResourcePool.destroyResource(BasicResourcePool.java:1090)
    at 
com.mchange.v2.resourcepool.BasicResourcePool.destroyResource(BasicResourcePool.java:1051)
    at 
com.mchange.v2.resourcepool.BasicResourcePool.access$100(BasicResourcePool.java:44)
    at 
com.mchange.v2.resourcepool.BasicResourcePool$5.run(BasicResourcePool.java:1305)

What can be cause of that? How to identify what cause is?

I checked intermediates versions. This problem is reproduced with H2 
1.3.160+
1.3.159 works fine, any version started with 1.3.160 have such issue.

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to