Reading this thread, I'm a bit confused about whether there's an
existing error in the bit handling logic or not. But I'm seeing an
Exception in this area, and I'm wondering if I'm running into a known
problem.
I'm using version 1.1.100 (2008-10-04)
Starting from an empty database, I loaded approximately 2GB of data,
and closed the database. I think this load appeared to be successful
(that is, I don't think it threw any exceptions).
The next time I tried to connect to the database, however, I received
this error:
12-05 15:29:35 database: error initializing summary for C:\ProgramData
\Company\Product\cache\h2\productDB.data.db size:3437000 stage:1
java.lang.RuntimeException: Redo failure, block: 512 expected in-use
bit: false
at org.h2.message.Message.getInternalError(Message.java:179)
at org.h2.store.DiskFile.initFromSummary(DiskFile.java:314)
at org.h2.log.LogFile.redoOrUndo(LogFile.java:316)
at org.h2.log.LogFile.redoAllGoEnd(LogFile.java:375)
at org.h2.log.LogSystem.recover(LogSystem.java:246)
at org.h2.engine.Database.open(Database.java:538)
at org.h2.engine.Database.<init>(Database.java:212)
at org.h2.engine.Engine.openSession(Engine.java:57)
at org.h2.engine.Engine.openSession(Engine.java:126)
at org.h2.engine.Engine.getSession(Engine.java:109)
at org.h2.engine.Session.createSession(Session.java:242)
at org.h2.engine.SessionRemote.connectEmbeddedOrServer
(SessionRemote.java:240)
at org.h2.engine.SessionRemote.createSession(SessionRemote.java:221)
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:103)
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:87)
at org.h2.Driver.connect(Driver.java:57)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
<remainder of stack is in my code>
This seems to happen whenever I try to reconnect to this database.
Looking at the change log for releases newer than 1.1.100, I don't see
any changes to this area of code. Is this a known problem of any sort?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---