If I start with the complete workflow, use a remote debugger with a breakpoint set in WorkflowDeployer.java, function public void init() and just press continue when the breakpoint is reached the system the repository starts up fully. There seems to be some sort of race hazard.
Any ideas on how to debug further or, better still, fix the issue?
Edit, further information:
Whilst in the locked state the following thread states exist: