Capture agent fails to start up

Steps to reproduce

Steps to reproduce:
1.
2.
3.

Actual Results:

2012-09-10 11:51:55 DEBUG (WebConsole:44) - The matterhorn web console will use the org.opencastproject.webconsole.WebConsole$MatterhornBrandingPlugin@c80e21 branding plugin
2012-09-10 11:51:55 DEBUG (TrustedHttpClientImpl:77) - activate
2012-09-10 11:51:56 DEBUG (SharedHttpContext:47) - Shared http context activated with bundle context org.apache.felix.framework.BundleContextImpl@cf5006
2012-09-10 11:51:56 DEBUG (OrganizationDirectoryServiceImpl:216) - Updating organization pid='org.opencastproject.organization.e5d14740-5e80-4f51-80fa-d8fbc733f12f'
2012-09-10 11:51:56 INFO (OrganizationDirectoryServiceImpl:257) - Registering organization 'tenant1'
2012-09-10 11:51:56 DEBUG (OrganizationDirectoryServiceImpl:216) - Updating organization pid='org.opencastproject.organization.b81896ff-eba7-4821-bab7-338adfccbc06'
2012-09-10 11:51:56 INFO (OrganizationDirectoryServiceImpl:257) - Registering organization 'mh_default_org'
2012-09-10 11:51:56 DEBUG (PingBackService:67) - start()
2012-09-10 11:51:56 DEBUG (RestPublisher:116) - activate()
2012-09-10 11:51:56 DEBUG (RestPublisher:191) - Waiting for the servlet at '/org' to be initialized
2012-09-10 11:51:56 DEBUG (RestPublisher:191) - Waiting for the servlet at '/org' to be initialized
2012-09-10 11:51:56 DEBUG (RestPublisher:191) - Waiting for the servlet at '/org' to be initialized
2012-09-10 11:51:56 DEBUG (RestPublisher:191) - Waiting for the servlet at '/org' to be initialized
2012-09-10 11:51:56 DEBUG (RestPublisher:191) - Waiting for the servlet at '/org' to be initialized
2012-09-10 11:51:56 DEBUG (RestPublisher:191) - Waiting for the servlet at '/org' to be initialized
2012-09-10 11:51:57 DEBUG (RestPublisher:191) - Waiting for the servlet at '/org' to be initialized
2012-09-10 11:51:57 DEBUG (RestPublisher:191) - Waiting for the servlet at '/org' to be initialized
2012-09-10 11:51:57 DEBUG (RestPublisher:191) - Waiting for the servlet at '/org' to be initialized
2012-09-10 11:51:57 DEBUG (RestPublisher:191) - Waiting for the servlet at '/org' to be initialized
2012-09-10 11:51:57 DEBUG (RestPublisher:191) - Waiting for the servlet at '/org' to be initialized
2012-09-10 11:51:57 DEBUG (RestPublisher:191) - Waiting for the servlet at '/org' to be initialized
2012-09-10 11:51:57 DEBUG (RestPublisher:191) - Waiting for the servlet at '/org' to be initialized

(continues to log approx 10 per second of these until the system is rebooted, at which point these lines are logged on shutdonw):

2012-09-10 11:54:17 WARN (RestPublisher:195) - Interrupt while waiting for RestServlet initialization
2012-09-10 11:54:17 ERROR (?:?) - [org.opencastproject.kernel.rest.RestPublisher] The activate method has thrown an exception
org.apache.cxf.service.factory.ServiceConstructionException
at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.create(JAXRSServerFactoryBean.java:120)
at org.opencastproject.kernel.rest.RestPublisher.createEndpoint(RestPublisher.java:218)
at org.opencastproject.kernel.rest.RestPublisher$JaxRsServiceTracker.addingService(RestPublisher.java:308)
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896)
at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261)
at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:184)
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:339)
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:273)
at org.opencastproject.kernel.rest.RestPublisher.activate(RestPublisher.java:146)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:227)
at org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:38)
at org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:591)
at org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:47

After a reboot, matterhorn started normally.

Expected Results:

CA should start reliably every time.

Workaround (if any):

reboot. may be fixable by stopping & starting service.

Status

Assignee

Tobias Wunden

Reporter

Stephen Marquard

Severity

Incorrectly Functioning Without Workaround

Tags (folksonomy)

None

Components

Fix versions

Affects versions

1.3

Priority

Major
Configure