Hi, I've finally managed to reduce the test case to something minimal that reproducibly fails. The little project is on GitHub: https://github.com/bwaldvogel/h2-lob-issue
Just run ./gradlew --info in your shell or run the H2LobIssueTest in your IDE. At least it fails on my machine and on Travis: https://travis-ci.org/bwaldvogel/h2-lob-issue/builds/41416079 HTH, Benedikt On Wednesday, November 5, 2014 5:29:55 PM UTC+1, [email protected] wrote: > > Hi, > > I encountered this issue (java.lang.RuntimeException: Lob not found) with > 1.4.182. Using 1.3.x with "MVCC=true" or 1.4 with > ";mv_store=false;MVCC=true" mitigates this issue for me. > Anyway, I would like to contribute to find the issue in the MV Store since > I can reliably reproduce the issue in my unit test when I start several > instances concurrently. > Unfortunately, I wasn't able to reduce my test case nor can I publish the > test. > > Thomas, do you have an idea how I could help anyway? > > Best, > Benedikt > > On Wednesday, October 15, 2014 8:13:06 AM UTC+2, Thomas Mueller wrote: >> >> Hi, >> >> If you have a reproducible test case, could you please post it? >> >> Please note version 1.4.x is still beta. If you need a stable version, >> you can download version 1.3.x, or you can append ";mv_store=false" to the >> database URL. >> >> Regards, >> Thomas >> >> >> On Tuesday, October 14, 2014, cyrilantony <[email protected]> wrote: >> >>> 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 >>> >> -- 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 http://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
