File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes The database file is corrupt. What to do now? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Reply locked New topic

The database file is corrupt. What to do now?

Calin Jebelean

Joined: Sep 22, 2011
Posts: 6

I started this topic because my wife is in the same situation. Both she and I registered for the OCMJD. I got Bodgitt and Scarper, she got URLyBird. My assignment is valid, while hers is not. She received the assignment as an instructions-111.jar file. Inside this jar, there are:
- db-1x1.db
- instructions.html

Her .db file is corrupt, she gets all kinds of curious values when she reads it. After some investigation, she discovered that the .db file is in fact a disguised zip/jar file. If she renamed the db-1x1.db file to, it became a valid zip file that contains META-INF and instructions.html once again. There is obviously something wrong here. The questions is what to do. If she downloads the assignment again, the same corrupt file would come down, and the instructions.html file contains at the end as the address to write to in case problems appear, but this address must obviously be obsolete now, since Sun is not in charge of Java certifications anymore, right?

Roel De Nijs

Joined: Jul 19, 2004
Posts: 8360

Hi Calin,

Just sent an email to and explain the problem.

Kind regards,

SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
I agree. Here's the link:
subject: The database file is corrupt. What to do now?
jQuery in Action, 3rd edition