Steps to reproduce:
1. On a fresh system, install a capture agent as described at https://opencast.jira.com/wiki/display/mh14/Install+Capture+Agent
2. At prompts, accept default responses except for admin server url. (Therefore, engage url will default to same response as admin url)
3. Once installation is complete, view contents of config.properties
The following is an excerpt from my install. Note that "org.opencast.serviceregistry.url" appears three times:
The url of the remote service registry. This is used in cases where there is no direct connection to the service
registry database such as capture agens running in protected environments. This is typically true for capture agents
and should be set to the url of a server running the actual implementation of the service registry and the path to
the service registry(admin, worker, etc. See the build profiles in pom.xml for a complete list).
The base URL of the server hosting the administrative tools. If the admin tools are deployed on this server,
this should point to this server's public URL.
The base URL of the server hosting the engage tools. If the engage tools are deployed on this server, this
should point to this server's public URL.
Two instances of "#org.opencastproject.serviceregistry.url" should be "#org.opencastproject.admin.ui.url" and "#org.opencastproject.engage.ui.url", respectively.
Workaround (if any):
Manually replace the admin and engage config keys.