Hello,
Encountered similar exception as mentioned above .
But it was resolved by setting System property 'h2.serverCachedObjects'
(default: 64) to a higher value like 2000.
See
https://groups.google.com/d/msg/h2-database/jQJsENSc1LY/_3rIC6aaacEJ
Now got another issue with blob column in table .
See error log below. Any help is appreciated.
Caused by: java.io.IOException: org.h2.message.DbException: General error:
"java.lang.RuntimeException: Lob not found: 12603" [50000-181]
at org.h2.message.DbException.convertToIOException(DbException.java:364)
at
org.h2.store.LobStorageRemoteInputStream.read(LobStorageRemoteInputStream.java:73)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
at
java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2265)
at
java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2278)
at
java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2749)
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:779)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:279)
at
org.apache.ode.scheduler.simple.JdbcDelegate.dequeueImmediate(JdbcDelegate.java:214)
... 12 more
Caused by: org.h2.message.DbException: General error:
"java.lang.RuntimeException: Lob not found: 12603" [50000-181]
at org.h2.message.DbException.convert(DbException.java:283)
at org.h2.engine.SessionRemote.done(SessionRemote.java:629)
at org.h2.engine.SessionRemote.readLob(SessionRemote.java:778)
at
org.h2.store.LobStorageRemoteInputStream.read(LobStorageRemoteInputStream.java:71)
... 21 more
Caused by: org.h2.jdbc.JdbcSQLException: General error:
"java.lang.RuntimeException: Lob not found: 12603" [50000-181]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
at org.h2.message.DbException.get(DbException.java:168)
at org.h2.message.DbException.convert(DbException.java:295)
at org.h2.server.TcpServerThread.sendError(TcpServerThread.java:221)
at org.h2.server.TcpServerThread.run(TcpServerThread.java:161)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.RuntimeException: Lob not found: 12603
at org.h2.message.DbException.throwInternalError(DbException.java:242)
at org.h2.store.LobStorageMap.getInputStream(LobStorageMap.java:236)
at org.h2.server.TcpServerThread.process(TcpServerThread.java:454)
at org.h2.server.TcpServerThread.run(TcpServerThread.java:159)
... 1 more
Thanks,
Cyril
--
View this message in context:
http://h2-database.66688.n3.nabble.com/1-4-181-BLOB-related-issue-tp4029954p4030124.html
Sent from the H2 Database mailing list archive at Nabble.com.