[ 
http://opencast.jira.com/browse/MH-9176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31732#comment-31732
 ] 

Stephen Marquard commented on MH-9176:
--------------------------------------

Here is a log comparison of a successful vs failed startup with the following 
logging:

log4j.logger.org.opencastproject=DEBUG
log4j.logger.org.apache.cxf=DEBUG
log4j.logger.org.apache.felix=DEBUG
log4j.logger.org.osgi=DEBUG

SUCCESSFUL

2012-09-12 12:56:54 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:56:54  INFO [FelixStartLevel] (?:?) - Http service whiteboard 
started
2012-09-12 12:56:54 DEBUG [FelixDispatchQueue] (?:?) - BundleEvent STARTED
2012-09-12 12:56:55 DEBUG [FelixDispatchQueue] (?:?) - BundleEvent RESOLVED
2012-09-12 12:56:55 DEBUG [FelixDispatchQueue] (?:?) - BundleEvent STARTED
2012-09-12 12:56:55 DEBUG [FelixDispatchQueue] (?:?) - BundleEvent RESOLVED
2012-09-12 12:56:55 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:56:55 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:56:55 DEBUG [FelixDispatchQueue] (?:?) - BundleEvent STARTED
2012-09-12 12:56:55 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:56:55 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:56:55 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:56:55 DEBUG [FelixDispatchQueue] (?:?) - BundleEvent STARTED
2012-09-12 12:56:55 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:56:55 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:56:55 DEBUG [FelixDispatchQueue] (?:?) - BundleEvent STARTED
2012-09-12 12:56:55 DEBUG [FelixDispatchQueue] (?:?) - BundleEvent RESOLVED
2012-09-12 12:56:55 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:56:55 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:56:55 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:56:55 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:56:55 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:56:55 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:56:55 DEBUG [FelixDispatchQueue] (?:?) - BundleEvent STARTED
2012-09-12 12:56:55 DEBUG [FelixDispatchQueue] (?:?) - BundleEvent RESOLVED
2012-09-12 12:56:55 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:56:55 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:56:55 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:56:55 DEBUG [FelixDispatchQueue] (?:?) - BundleEvent STARTED
2012-09-12 12:56:55 DEBUG [FelixDispatchQueue] (?:?) - BundleEvent STARTED
2012-09-12 12:56:55 DEBUG [FelixDispatchQueue] (?:?) - FrameworkEvent STARTED
2012-09-12 12:57:01  INFO [Jetty HTTP Service] (?:?) - Detected extended 
HttpService. Filters enabled.
2012-09-12 12:57:01 DEBUG [Jetty HTTP Service] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:57:02 DEBUG [Jetty HTTP Service] (?:?) - ServiceEvent MODIFIED
2012-09-12 12:57:02  INFO [Jetty HTTP Service] (?:?) - Started jetty 6.1.x at 
port 8080
2012-09-12 12:57:03 DEBUG [fileinstall-/opt/matterhorn/matterhorn] (?:?) - 
Added context with id [opencast.httpcontext]
2012-09-12 12:57:03 DEBUG [fileinstall-/opt/matterhorn/matterhorn] 
(WebConsole:44) - The matterhorn web console will use the 
org.opencastproject.webconsole.WebConsole$MatterhornBrandingPlugin@57132e76 
branding plugin
2012-09-12 12:57:03 DEBUG [fileinstall-/opt/matterhorn/matterhorn] (?:?) - 
Reusing context with id [opencast.httpcontext]
2012-09-12 12:57:03 DEBUG [fileinstall-/opt/matterhorn/matterhorn] (?:?) - 
Added context with id [opencast.httpcontext]
2012-09-12 12:57:03 DEBUG [fileinstall-/opt/matterhorn/matterhorn] 
(HttpClientFactory:43) - Starting up
2012-09-12 12:57:03 DEBUG [fileinstall-/opt/matterhorn/matterhorn] 
(TrustedHttpClientImpl:125) - activate
2012-09-12 12:57:03 DEBUG [fileinstall-/opt/matterhorn/matterhorn] 
(SharedHttpContext:47) - Shared http context activated with bundle context 
org.apache.felix.framework.BundleContextImpl@ba3bff5
2012-09-12 12:57:03 DEBUG [fileinstall-/opt/matterhorn/matterhorn] (?:?) - 
Reusing context with id [opencast.httpcontext]
2012-09-12 12:57:03 DEBUG [CM Configuration Updater (ManagedServiceFactory 
Update: factoryPid=org.opencastproject.organization)] 
(OrganizationDirectoryServiceImpl:221) - Updating organization 
pid='org.opencastproject.organization.286dc9b5-9411-4700-8298-b72f1693bc43'
2012-09-12 12:57:03  INFO [CM Configuration Updater (ManagedServiceFactory 
Update: factoryPid=org.opencastproject.organization)] 
(OrganizationDirectoryServiceImpl:262) - Registering organization 
'mh_default_org'
2012-09-12 12:57:03 DEBUG [fileinstall-/opt/matterhorn/matterhorn] 
(PingBackService:67) - start()
2012-09-12 12:57:03 DEBUG [fileinstall-/opt/matterhorn/matterhorn] 
(RestPublisher:116) - activate()
2012-09-12 12:57:04 DEBUG [fileinstall-/opt/matterhorn/matterhorn] (?:?) - 
Reusing context with id [opencast.httpcontext]
2012-09-12 12:57:04  INFO [fileinstall-/opt/matterhorn/matterhorn] 
(AbstractApplicationContext:454) - Refreshing 
org.apache.cxf.bus.spring.BusApplicationContext@5d593ce6: startup date [Wed Sep 
12 12:57:04 SAST 2012]; root of context hierarchy
2012-09-12 12:57:04  INFO [fileinstall-/opt/matterhorn/matterhorn] 
(XmlBeanDefinitionReader:315) - Loading XML bean definitions from class path 
resource [META-INF/cxf/cxf.xml]
2012-09-12 12:57:04  INFO [fileinstall-/opt/matterhorn/matterhorn] 
(AbstractApplicationContext:454) - Refreshing 
org.apache.cxf.bus.spring.BusApplicationContext@6c5c90f6: startup date [Wed Sep 
12 12:57:04 SAST 2012]; root of context hierarchy
2012-09-12 12:57:04  INFO [fileinstall-/opt/matterhorn/matterhorn] 
(XmlBeanDefinitionReader:315) - Loading XML bean definitions from class path 
resource [META-INF/cxf/cxf.xml]
2012-09-12 12:57:04  INFO [fileinstall-/opt/matterhorn/matterhorn] 
(XmlBeanDefinitionReader:315) - Loading XML bean definitions from class path 
resource [META-INF/cxf/cxf-extension-http.xml]
2012-09-12 12:57:04  INFO [fileinstall-/opt/matterhorn/matterhorn] 
(XmlBeanDefinitionReader:315) - Loading XML bean definitions from class path 
resource [META-INF/cxf/cxf-extension-http-jetty.xml]
2012-09-12 12:57:04  INFO [fileinstall-/opt/matterhorn/matterhorn] 
(XmlBeanDefinitionReader:315) - Loading XML bean definitions from class path 
resource [META-INF/cxf/cxf-extension-http.xml]
2012-09-12 12:57:04 DEBUG [fileinstall-/opt/matterhorn/matterhorn] 
(AbstractBeanDefinitionReader:185) - Loaded 0 bean definitions from location 
pattern [classpath:META-INF/cxf/cxf-extension-http.xml]
2012-09-12 12:57:04  INFO [fileinstall-/opt/matterhorn/matterhorn] 
(XmlBeanDefinitionReader:315) - Loading XML bean definitions from class path 
resource [META-INF/cxf/cxf-extension-jaxrs-binding.xml]
2012-09-12 12:57:04  INFO [fileinstall-/opt/matterhorn/matterhorn] 
(XmlBeanDefinitionReader:315) - Loading XML bean definitions from class path 
resource [META-INF/cxf/cxf-extension-xml.xml]
2012-09-12 12:57:04 DEBUG [fileinstall-/opt/matterhorn/matterhorn] 
(AbstractApplicationContext:468) - Bean factory for 
org.apache.cxf.bus.spring.BusApplicationContext@6c5c90f6: 
org.springframework.beans.factory.support.DefaultListableBeanFactory@7090f19c: 
defining beans 
[cxf,org.apache.cxf.bus.spring.BusApplicationListener,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.resource.ResourceManager,org.apache.cxf.configuration.Configurer,org.apache.cxf.binding.BindingFactoryManager,org.apache.cxf.transport.DestinationFactoryManager,org.apache.cxf.transport.ConduitInitiatorManager,org.apache.cxf.wsdl.WSDLManager,org.apache.cxf.phase.PhaseManager,org.apache.cxf.workqueue.WorkQueueManager,org.apache.cxf.buslifecycle.BusLifeCycleManager,org.apache.cxf.endpoint.ServerRegistry,org.apache.cxf.endpoint.ServerLifeCycleManager,org.apache.cxf.endpoint.ClientLifeCy
 
cleManager,org.apache.cxf.transports.http.QueryHandlerRegistry,org.apache.cxf.endpoint.EndpointResolverRegistry,org.apache.cxf.headers.HeaderManager,org.apache.cxf.catalog.OASISCatalogManager,org.apache.cxf.endpoint.ServiceContractResolverRegistry,org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder,org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder,org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider,org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory,org.apache.cxf.transport.http_jetty.JettyHTTPTransportFactory,org.apache.cxf.jaxrs.JAXRSBindingFactory,org.apache.cxf.binding.xml.XMLBindingFactory];
 root of factory hierarchy
2012-09-12 12:57:04 DEBUG [fileinstall-/opt/matterhorn/matterhorn] 
(AbstractApplicationContext:753) - Unable to locate MessageSource with name 
'messageSource': using default 
[org.springframework.context.support.DelegatingMessageSource@2026c088]
2012-09-12 12:57:04 DEBUG [fileinstall-/opt/matterhorn/matterhorn] 
(AbstractApplicationContext:777) - Unable to locate ApplicationEventMulticaster 
with name 'applicationEventMulticaster': using default 
[org.springframework.context.event.SimpleApplicationEventMulticaster@502a3135]
2012-09-12 12:57:04 DEBUG [fileinstall-/opt/matterhorn/matterhorn] 
(AbstractApplicationContext:804) - Unable to locate LifecycleProcessor with 
name 'lifecycleProcessor': using default 
[org.springframework.context.support.DefaultLifecycleProcessor@260fa385]
2012-09-12 12:57:04  INFO [fileinstall-/opt/matterhorn/matterhorn] 
(RestPublisher:222) - Registered REST endpoint at /org


FAILED

2012-09-12 12:31:36 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:31:36  INFO [FelixStartLevel] (?:?) - Http service whiteboard 
started
2012-09-12 12:31:36 DEBUG [FelixDispatchQueue] (?:?) - BundleEvent STARTED
2012-09-12 12:31:37 DEBUG [FelixDispatchQueue] (?:?) - BundleEvent RESOLVED
2012-09-12 12:31:37 DEBUG [FelixDispatchQueue] (?:?) - BundleEvent STARTED
2012-09-12 12:31:37 DEBUG [FelixDispatchQueue] (?:?) - BundleEvent RESOLVED
2012-09-12 12:31:37 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:31:37 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:31:37 DEBUG [FelixDispatchQueue] (?:?) - BundleEvent STARTED
2012-09-12 12:31:37 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:31:37 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:31:37 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:31:37 DEBUG [FelixDispatchQueue] (?:?) - BundleEvent STARTED
2012-09-12 12:31:37 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:31:37 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:31:37 DEBUG [FelixDispatchQueue] (?:?) - BundleEvent STARTED
2012-09-12 12:31:37 DEBUG [FelixDispatchQueue] (?:?) - BundleEvent RESOLVED
2012-09-12 12:31:37 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:31:37 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:31:37 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:31:37 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:31:37 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:31:37 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:31:37 DEBUG [FelixDispatchQueue] (?:?) - BundleEvent STARTED
2012-09-12 12:31:37 DEBUG [FelixDispatchQueue] (?:?) - BundleEvent RESOLVED
2012-09-12 12:31:37 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:31:37 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:31:37 DEBUG [FelixStartLevel] (?:?) - ServiceEvent REGISTERED
2012-09-12 12:31:37 DEBUG [FelixDispatchQueue] (?:?) - BundleEvent STARTED
2012-09-12 12:31:37 DEBUG [FelixDispatchQueue] (?:?) - BundleEvent STARTED
2012-09-12 12:31:37 DEBUG [FelixDispatchQueue] (?:?) - FrameworkEvent STARTED
2012-09-12 12:31:45 DEBUG [fileinstall-/opt/matterhorn/matterhorn] (?:?) - 
Added context with id [opencast.httpcontext]
2012-09-12 12:31:45 DEBUG [fileinstall-/opt/matterhorn/matterhorn] 
(WebConsole:44) - The matterhorn web console will use the 
org.opencastproject.webconsole.WebConsole$MatterhornBrandingPlugin@71cd427a 
branding plugin
2012-09-12 12:31:45 DEBUG [fileinstall-/opt/matterhorn/matterhorn] (?:?) - 
Reusing context with id [opencast.httpcontext]
2012-09-12 12:31:45  WARN [Jetty HTTP Service] (?:?) - unavailable
java.lang.IllegalStateException: Can only register services while bundle is 
active or activating.
        at org.apache.felix.framework.Felix.registerService(Felix.java:2949)
        at 
org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:313)
        at 
org.apache.felix.http.base.internal.HttpServiceController.register(HttpServiceController.java:64)
        at 
org.apache.felix.http.base.internal.DispatcherServlet.init(DispatcherServlet.java:41)
        at 
org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)
        at 
org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at 
org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:685)
        at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
        at 
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at 
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
        at org.mortbay.jetty.Server.doStart(Server.java:224)
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at 
org.apache.felix.http.jetty.internal.JettyService.initializeJetty(JettyService.java:145)
        at 
org.apache.felix.http.jetty.internal.JettyService.startJetty(JettyService.java:112)
        at 
org.apache.felix.http.jetty.internal.JettyService.run(JettyService.java:203)
        at java.lang.Thread.run(Thread.java:636)
2012-09-12 12:31:45 DEBUG [fileinstall-/opt/matterhorn/matterhorn] (?:?) - 
Added context with id [opencast.httpcontext]
2012-09-12 12:31:45 DEBUG [fileinstall-/opt/matterhorn/matterhorn] 
(HttpClientFactory:43) - Starting up
2012-09-12 12:31:45 DEBUG [fileinstall-/opt/matterhorn/matterhorn] 
(TrustedHttpClientImpl:125) - activate
2012-09-12 12:31:45  INFO [Jetty HTTP Service] (?:?) - Started jetty 6.1.x at 
port 8080
2012-09-12 12:31:46 DEBUG [fileinstall-/opt/matterhorn/matterhorn] 
(SharedHttpContext:47) - Shared http context activated with bundle context 
org.apache.felix.framework.BundleContextImpl@34baf4ae
2012-09-12 12:31:46 DEBUG [fileinstall-/opt/matterhorn/matterhorn] (?:?) - 
Reusing context with id [opencast.httpcontext]
2012-09-12 12:31:46 DEBUG [CM Configuration Updater (ManagedServiceFactory 
Update: factoryPid=org.opencastproject.organization)] 
(OrganizationDirectoryServiceImpl:221) - Updating organization 
pid='org.opencastproject.organization.eb2689e5-dc20-4f7f-98b3-85bf400fdb70'
2012-09-12 12:31:46  INFO [CM Configuration Updater (ManagedServiceFactory 
Update: factoryPid=org.opencastproject.organization)] 
(OrganizationDirectoryServiceImpl:262) - Registering organization 
'mh_default_org'
2012-09-12 12:31:46 DEBUG [fileinstall-/opt/matterhorn/matterhorn] 
(PingBackService:67) - start()
2012-09-12 12:31:46 DEBUG [fileinstall-/opt/matterhorn/matterhorn] 
(RestPublisher:116) - activate()
2012-09-12 12:31:46 DEBUG [fileinstall-/opt/matterhorn/matterhorn] (?:?) - 
Reusing context with id [opencast.httpcontext]
2012-09-12 12:31:46 DEBUG [fileinstall-/opt/matterhorn/matterhorn] 
(RestPublisher:191) - Waiting for the servlet at '/org' to be initialized
2012-09-12 12:31:46 DEBUG [fileinstall-/opt/matterhorn/matterhorn] 
(RestPublisher:191) - Waiting for the servlet at '/org' to be initialized
2012-09-12 12:31:46 DEBUG [fileinstall-/opt/matterhorn/matterhorn] 
(RestPublisher:191) - Waiting for the servlet at '/org' to be initialized
2012-09-12 12:31:46 DEBUG [fileinstall-/opt/matterhorn/matterhorn] 
(RestPublisher:191) - Waiting for the servlet at '/org' to be initialized
2012-09-12 12:31:46 DEBUG [fileinstall-/opt/matterhorn/matterhorn] 
(RestPublisher:191) - Waiting for the servlet at '/org' to be initialized

                
> Capture agent fails to start up 
> --------------------------------
>
>                 Key: MH-9176
>                 URL: http://opencast.jira.com/browse/MH-9176
>             Project: Matterhorn Project
>          Issue Type: Bug
>          Components: Capture (Devices and Software)
>    Affects Versions: 1.3
>            Reporter: Stephen Marquard
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
http://opencast.jira.com/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to