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

Actual Results:

After many errors in the log, Opencast continues runnning but the Admin UI endpoints like

/admin-ng/event/events.json?filter=status:EVENTS.EVENTS.STATUS.SCHEDULED&limit=1

fail with 404 errors so filters don't work.

Expected Results:

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.

Assignee

Stephen Marquard

Reporter

Stephen Marquard

Severity

Incorrectly Functioning With Workaround

Tags (folksonomy)

None

Components

Fix versions

Affects versions

Priority

Major
Configure