Updating serviceregistry config while running leaves Opencast in a non-functional state
Steps to reproduce
Steps to reproduce:
1. Start Opencast
2. Update a configuration value in etc/org.opencastproject.serviceregistry.impl.ServiceRegistryJpaImpl.cfg
After many errors in the log, Opencast continues runnning but the Admin UI endpoints like
fail with 404 errors so filters don't work.
ServiceRegistry config should be updated without any other failures.
Workaround (if any):
Don't edit this file in a runnning system.
From the log, it appears that the CM calls the updated() method, then deactivate() then activate().
It doesn't seem necessary to deactivate then activate the component again, as the updated method can deal with any updates without further disruption.