Resolving java.lang.RuntimeException Timeout waiting for external Repository instance to start in Spectrum


The Spectrum ™ Technology platform server does not start due to the exception :-  "java.lang.RuntimeException Timeout waiting for external Repository instance to start in Spectrum". The exception appears in the wrapper.log file
in <spectrum_home>/server/app/repository/logs.
The debug.log file in <spectrum_home>/repository/logs shows "Exception occurred while starting the datasource. Attempting to close things down. Component 'org.neo4j.kernel.recovery.Recovery@44516d07' failed to initialize. 
org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.recovery.Recovery@44516d07' failed to initialize".


The Spectrum repository is corrupt. This can happen due to a crash or an abrupt shutdown. Recovery was attempted but failed.


UPDATED: November 22, 2017

The Spectrum repository is a graph database called graph.db located in <spectrum_home>/repository/data/databases. If a backup was taken restore from the backup and start the Spectrum server. It is recommended to take frequent backups of the repository. If no backup was taken then delete the graph.db folder and start Spectrum which will start Spectrum with a new database but will result in data loss.


Environment Details

Products Affected: Spectrum 12.x
Product Feature: Start-up / Deployment



  • No Downloads