Hey All,
I'm receiving the following exception when trying to recover an h2db
database:
[root@atlas02 database]# ls -altri
total 56234668
13067355279336189181 -rw-------. 1 confluence confluence 742060032 Mar 6
01:54 h2db.mv.db
11352732999063530166 -rw-------. 1 confluence confluence 56319543725 Mar 22
21:48 h2db.trace.db
13355378936170850912 -rw-r--r--. 1 root root 343500332 Mar 22
22:06 h2db.trace.db.tar.gz
13405356810350932222 -rw-r--r--. 1 root root 177008009 Mar 22
22:23 h2db.mv.db.tar.gz
9672442205410070239 drwx------. 19 confluence root 4096 Mar 22
22:36 ..
13781603641321592294 -rw-r--r--. 1 root root 2178179 Mar 23
00:42 h2-1.4.199.jar
9671834734385157213 drwx------. 2 confluence confluence 4096 Mar 23
01:08 .
[root@atlas02 database]#
[root@atlas02 database]#
[root@atlas02 database]#
[root@atlas02 database]# java -cp h2*.jar org.h2.tools.Recover
Exception in thread "main" java.nio.BufferUnderflowException
at java.nio.Buffer.nextGetIndex(Buffer.java:500)
at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:135)
at org.h2.mvstore.DataUtils.readString(DataUtils.java:313)
at org.h2.mvstore.type.StringDataType.read(StringDataType.java:46)
at org.h2.mvstore.MVStoreTool.dump(MVStoreTool.java:238)
at org.h2.tools.Recover.process(Recover.java:343)
at org.h2.tools.Recover.runTool(Recover.java:195)
at org.h2.tools.Recover.main(Recover.java:158)
[root@atlas02 database]#
Has anyone seen this similar issue and be able to share a solution please?
Thx,
TK
--
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.