ObjectDB ObjectDB

ObjectDB doctor command

#1

Hi,

I would like to run the Doctor in repair mode with the source file = target file but I get the following error:

java -cp ../../lib/objectdb.jar com.objectdb.Doctor myDB.odb myDB.odb
com.objectdb.o.UserException: Attempt to open a non existing file 'myDB.odb'
at com.objectdb.o.MSG.d(MSG.java:61)
at com.objectdb.o.LFL.I(LFL.java:781)
at com.objectdb.o.SFL.<init>(SFL.java:232)
at com.objectdb.o.MST.<init>(MST.java:109)
at com.objectdb.o.MST.aJ(MST.java:94)
at com.objectdb.o.DMR.<init>(DMR.java:187)
at com.objectdb.o.DMR.B(DMR.java:163)
at com.objectdb.Doctor.main(Doctor.java:22)

[ObjectDB 2.5.1_05] Attempt to open a non existing file 'myDB.odb' (error 114)

Is there a reason why it could not be done?

Thanks

 

edit
delete
#2

This is not supported since usually it is a good idea to keep the original database file, at least for a while.

The error message, however, should be different.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)
edit
delete

Reply

To post on this website please sign in.