InstantDB Project
About InstantDB
Project Mail Lists
Short History
Reporting Bugs
Screen Shots
3rd Party Examples
FAQs

Software
Downloads
Documentation
CVS Repositories
Roadmap
License

About Enhydra.org
Who We Are
News, Articles & Events
Getting Involved
Contact Us

Community
Demos
Contributions
Resources
Case Studies
On The Edge! -NEW-
Commercial Vendors


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InstantDB: How to recover form a corrupted DB


If the database has been corrupted due to multiple JVM access then your 
database is probably gone. You'll have to restore backups. If there's 
some really critical data in there that hasn't been backed up then it's 
possible that Lutris might be able to get at it (probably for a fee).

> If such concurrent accesses by multiple JVM is so dangerous, why 
> not lock
> IDB to the current JVM (lock in a file for example ...)

The default setup prevents multiple JVM access by setting 
recoveryPolicy=2 in the .prp file. If this value is changed to one, 
then multiple JVM access will be allowed, but AYOR.

Regards

Pete
----- Original Message -----
From: dherlemont@yats.com
Date: Monday, December 11, 2000 2:31 am
Subject: InstantDB: How to recover form a corrupted DB

> Maybe I miss something. But I do some work while my DB was still 
> access by
> an other JVM.
> Now I connot recover the DB, raising an exception like this :
> 
> java.sql.SQLException: Internal error header recLength=0
> Computed record length should be 101
> Table: Article
> at 
> org.enhydra.instantdb.jdbc.idbConnection.<init>
(idbConnection.java:88) at org.enhydra.instantdb.jdbc.idbDriver.connect
(idbDriver.java:40)
> at java.sql.DriverManager.getConnection(DriverManager.java:517)
> at java.sql.DriverManager.getConnection(DriverManager.java:177)
> 
> 
> How is it possible to get the Data ????
> 
> If such concurrent accesses by multiple JVM is so dangerous, why 
> not lock
> IDB to the current JVM (lock in a file for example ...)
> 
> Thanks for help
> 
> 
> 
> -------------------------------------------------------------------
> ----------
> To unsubscribe from this mailing list, send email to 
> majordomo@enhydra.orgwith the text "unsubscribe instantdb" in the 
> body of the email.
> If you have other questions regarding this mailing list, send 
> email to
> the list admin at owner-instantdb@enhydra.org.
> 

-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.