In abnormal circumstances, server data may not be saved correctly or completely in the databases. JReport Server allows you to check the integrity of server data.
The integrity check mainly examines two aspects of the realm database:
If any inconsistent or incomplete server data is found, it will be removed from the realm database since it is unused. The same process also applies to files.
To check server data integrity, do one of the following:
-cleanup
.
C:\JReport\Server\bin>JRServer -cleanup
-Dcheck.realmtables=true
to the line that starts JReport Server:
"%JAVAHOME%\bin\java.exe" -Dcheck.realmtables=true "-Dinstall.root= <install_root>"
...
Note: The integrity check checks only the realm database.