TDM: OrientDB corruption resolution


Article ID: 130267


Updated On:


CA Test Data Manager (Data Finder / Grid Tools)


OrientDB has become corrupt


OrientDB journal files became corrupted


TDM 4.7


carry out the following steps (no exception)
1. Stop TDMPortal and OrientDB
2. Remove entry <entry value="false" name="storage.useWAL"/> from orientdb-server-config.xml
3. Restore backup from March
4. Now  go to C:\ProgramData\CA\CA Test Data Manager Portal\orientdb\databases\ReservationDB
5. sort by type and delete all the files with are empty(0kb) and name ReservationDB.<<id>>.wal

<Please see attached file for image>

id="m_8598127359230969710Picture_x0020_1" alt="image.png" height="500" src="" style="width: 5.8541in; height: 5.2083in;" width="562">
6. Open command prompt as administrator and navigate to C:\Program Files\CA\CA Test Data Manager Portal\orientdb\bin
7. run console.bat
8. At orientdb prompt execute command  connect plocal:"C:/ProgramData/CA/CA Test Data Manager Portal/orientdb/databases/ReservationDB" admin admin
9.  Now run command  check database
10. Run command REPAIR DATABASE --fix-graph --fix-ridbags --fix-bonsai --fix-links -v
11. Run command exit
12. Restart OrientDB and TDM Portal

Additional Information

Video URL on how to open a Support Case -

You can download the latest version of TDM by following the directions in this document:   

To contact support, go to


1558688108707000130267_sktwi1f5rjvs16fih.html get_app