Unable to start registry

Document ID : KB000100746
Last Modified Date : 11/06/2018
Show Technical Document Details
Issue:
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(ModelArchive.java:257)
    at com.itko.lisa.model.mar.ModelArchive.<init>(ModelArchive.java:229)
    at com.itko.lisa.coordinator.CVSMonitor.getModelArchive(CVSMonitor.java:143)
    at com.itko.lisa.coordinator.CVSMonitor.setArchiveFile(CVSMonitor.java:165)
    at com.itko.lisa.coordinator.CVSMonitor.<init>(CVSMonitor.java:63)
    at com.itko.lisa.coordinator.CVSCatalog.storeNewMonitor(CVSCatalog.java:234)
    at com.itko.lisa.coordinator.CVSCatalog.syncFileList(CVSCatalog.java:212)
    at com.itko.lisa.coordinator.CVSCatalog.<init>(CVSCatalog.java:196)
    at com.itko.lisa.coordinator.ScheduleManager.<init>(ScheduleManager.java:124)
    at com.itko.lisa.coordinator.TestRegistryImpl.initScheduler(TestRegistryImpl.java:2118)
    at com.itko.lisa.coordinator.TestRegistryImpl.main(TestRegistryImpl.java:2462)
    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)



Re-creating the new database and deleting all the files under lisatmp_X.X.X\lads folder can not solve the problem.
Cause:
Some MAR files for CVS were corrupted, which caused the issue in staring registry.
Resolution:
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 are usually zero bytes.)
  2. Rename DevTest_Home/cvsMonitors folder and create empty DevTest_Home/cvsMonitors folder
And restart registry.