93 words

ObjectDB doctor command

#1
2015-01-03 15:14

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

 

EKK
EKK's picture
Joined on 2013-03-05
User Post #14
#2
2015-01-06 00:19

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)
support
support's picture
Joined on 2010-05-03
User Post #2,104

Post Reply

Please read carefully the posting instructions - before posting to the ObjectDB website.

  • You may have to disable pop up blocking in order to use the toolbar (e.g. in Chrome).
  • Use ctrl + right click to open the browser context menu in the editing area (e.g. for using a browser spell checker).
  • To insert formatted lines (e.g. Java code, stack trace) - select a style in the toolbar and then insert the text in the new created block.
  • Avoid overflow of published source code examples by breaking long lines.
  • You may mark in paragraph code words (e.g. class names) with the code style (can be applied by ctrl + D).
  • Long stack traces (> 50 lines) and complex source examples (> 100 lines) should be posted as attachments.
Attachments:
Maximum file size: 32 MB
Cancel