Registry not starting - Our audit file is either missing or we are not a model archive or are corrupt.

Document ID : KB000100746
Last Modified Date : 03/07/2018
Show Technical Document Details
When trying to restart the registry, registry is not staring and throwing the below errors.

2018-06-08 06:45:02,656Z (15:45) [Thread-12] INFO  com.itko.lisa.coordinator.EmbeddedWebServer - The max threads in Server Connector thread pool is 100
2018-06-08 06:45:02,718Z (15:45) [main] ERROR com.itko.lisa.coordinator.TestRegistryImpl - Error occurred creating Scheduler: Our audit file is either missing or we are not a model archive or are corrupt.
java.lang.IllegalArgumentException: Our audit file is either missing or we are not a model archive or are corrupt.
    at com.itko.lisa.model.mar.ModelArchive.init(
    at com.itko.lisa.model.mar.ModelArchive.<init>(
    at com.itko.lisa.coordinator.CVSMonitor.getModelArchive(
    at com.itko.lisa.coordinator.CVSMonitor.setArchiveFile(
    at com.itko.lisa.coordinator.CVSMonitor.<init>(
    at com.itko.lisa.coordinator.CVSCatalog.storeNewMonitor(
    at com.itko.lisa.coordinator.CVSCatalog.syncFileList(
    at com.itko.lisa.coordinator.CVSCatalog.<init>(
    at com.itko.lisa.coordinator.ScheduleManager.<init>(
    at com.itko.lisa.coordinator.TestRegistryImpl.initScheduler(
    at com.itko.lisa.coordinator.TestRegistryImpl.main(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
    at com.exe4j.runtime.WinLauncher.main(Unknown Source)
    at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
Some MAR files for CVS were corrupted, which caused the issue in staring registry.
To solve the problem, stop registry and select one of these
  1. Delete the corrupted MAR files under DevTest_Home/cvsMonitors folder (Corrupted MAR files can be identified by the size which is usually zero bytes)
  2. Rename DevTest_Home/cvsMonitors folder and create empty DevTest_Home/cvsMonitors folder
And restart the Registry.