Ross, do the logs throw an error when you click on the processing instructions drop down when scheduling a recording? If so, does the error look like this? Also when you go to the services documentation section of Matterhorn's welcome page, is the workflow rest service listed?

19:55:07 ERROR (AbstractFaultChainInitiatorObserver:101) - Error occurred during error handling, give up!
org.apache.cxf.interceptor.Fault
at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:155) at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:121)
        at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:133)
......
Caused by: java.lang.NullPointerException
at org.opencastproject.workflow.endpoint.WorkflowRestService.getWorkflowDefinitions(WorkflowRestService.java:287)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)


If you still run into problems installing Matterhorn from source, you might want to try installing the binary and see whether it works. If the binary gives you issues, it is likely an environment issue.
http://www.opencastproject.org/sites/default/files/matterhorn-v1.0.0-bin-all-dist.zip
http://opencast.jira.com/wiki/display/MH/Install+Binary+All+in+One+v1.0


On 3/16/11 11:57 AM, Ross Brandes wrote:
The .xml workflow files are the same in both /opt/matterhorn/1.0.0 and $FELIX_HOME. I don't think I've touched my $FELIX_HOME/conf/config.properties file other than to change the database backend. Do I need to change anything else in that file?

Here are the first 21 lines of the log file, up until /Registered REST endpoint at /series/rest/ (there is no /Registered REST endpoint at /series/):

    2011-03-16 14:10:13  INFO (StaticResource:111) - registering
    classpath:/ui at /engage/ui with welcome file index.html , test
    suite: TestSuite.html from classpath /uitests
    2011-03-16 14:10:14  INFO (WorkflowRestService:100) - configured
    server url is http://153.106.119.225:8080
    2011-03-16 14:10:14  INFO (StaticResource:111) - registering
    classpath:/sample at /workflow/samples with welcome file index.txt
    , test suite: null from classpath null
    2011-03-16 14:10:14  INFO
    (SecurityConfigurationScanner$ScannerTask:104) - Updating the
    security configuration
    2011-03-16 14:10:14  INFO
    (SecurityConfigurationScanner$ScannerTask:113) - registered
    OsgiBundleXmlApplicationContext(bundle=matterhorn-security-impl,
    config=file:/opt/matterhorn/felix/conf/security.xml): startup date
    [Wed Dec 31 19:00:00 EST 1969]; root of context hierarchy
    2011-03-16 14:10:16  INFO (CaptureAgentStateServiceImpl:83) -
    CaptureAgentStateServiceImpl starting.
    2011-03-16 14:10:19  INFO (StaticResource:111) - registering
    classpath:/ui at /admin with welcome file recordings.html?show=all
    , test suite: TestSuite.html from classpath /uitests
    2011-03-16 14:10:19  INFO (SeriesServiceImpl:66) - Series Service
    instantiated
    2011-03-16 14:10:19  INFO (SeriesServiceImpl:213) - SeriesService
    activated.
    2011-03-16 14:10:19  INFO (SeriesRestService:95) - configured
    server url is http://153.106.119.225:8080
    2011-03-16 14:10:19  INFO (StaticResourcePublisher:39) - activate()
    2011-03-16 14:10:19  INFO
    (StaticResourcePublisher$StaticResourceTracker:72) - Registered
    static resource  at /system/console/res
    2011-03-16 14:10:19  INFO
    (StaticResourcePublisher$StaticResourceTracker:72) - Registered
    static resource  at /workflow/samples
    2011-03-16 14:10:19  INFO
    (StaticResourcePublisher$StaticResourceTracker:72) - Registered
    static resource  at /admin
    2011-03-16 14:10:19  INFO
    (StaticResourcePublisher$StaticResourceTracker:72) - Registered
    static resource  at /engage/ui
    2011-03-16 14:10:19  INFO (RestPublisher:54) - activate()
    2011-03-16 14:10:20  INFO (RestPublisher:90) - Registered REST
    endpoint at /workflow/rest
    2011-03-16 14:10:21  INFO (RestPublisher:90) - Registered REST
    endpoint at /admin/rest
    2011-03-16 14:10:21  INFO (RestPublisher:90) - Registered REST
    endpoint at /version/rest
    2011-03-16 14:10:21  INFO (RestPublisher:90) - Registered REST
    endpoint at /capture-admin/rest
    2011-03-16 14:10:22  INFO (RestPublisher:90) - Registered REST
    endpoint at /series/rest


And here's section of the log that actually contains ERRORs:

    2011-03-16 14:10:24 ERROR (?:?) -
    [org.opencastproject.workflow.impl.WorkflowServiceImplDao] The
    activate method has thrown an exception
    java.lang.RuntimeException
    at
    
org.opencastproject.workingfilerepository.remote.WorkingFileRepositoryRemoteImpl.getCollectionContents(WorkingFileRepositoryRemoteImpl.java:179)
    at
    
org.opencastproject.workspace.impl.WorkspaceImpl.getCollectionContents(WorkspaceImpl.java:469)
    at
    
org.opencastproject.workflow.impl.WorkflowServiceImplDaoFileImpl.activate(WorkflowServiceImplDaoFileImpl.java:128)
    at
    
org.opencastproject.workflow.impl.WorkflowServiceImplDaoFileImpl.activate(WorkflowServiceImplDaoFileImpl.java:88)
    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:213)
    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:542)
    at
    org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:434)
    at
    
org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.java:138)
    at
    
org.apache.felix.scr.impl.manager.ImmediateComponentManager.createImplementationObject(ImmediateComponentManager.java:226)
    at
    
org.apache.felix.scr.impl.manager.ImmediateComponentManager.createComponent(ImmediateComponentManager.java:118)
    at
    
org.apache.felix.scr.impl.manager.AbstractComponentManager$Unsatisfied.activate(AbstractComponentManager.java:991)
    at
    
org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:298)
    at
    
org.apache.felix.scr.impl.manager.AbstractComponentManager$3.doRun(AbstractComponentManager.java:505)
    at
    
org.apache.felix.scr.impl.ComponentActivatorTask.run(ComponentActivatorTask.java:67)
    at
    
org.apache.felix.scr.impl.ComponentActorThread.run(ComponentActorThread.java:96)
    at java.lang.Thread.run(Thread.java:662)
    2011-03-16 14:10:24 ERROR (?:?) -
    [org.opencastproject.workflow.impl.WorkflowServiceImplDao]
    Component instance could not be created, activation failed
    2011-03-16 14:10:24 ERROR (?:?) -
    [org.opencastproject.distribution.streaming.StreamingDistributionService]
    The activate method has thrown an exception
    java.lang.IllegalStateException: Stream url must be set
    (org.opencastproject.streaming.url)
    at
    
org.opencastproject.distribution.streaming.StreamingDistributionService.activate(StreamingDistributionService.java:65)
    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:213)
    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:542)
    at
    org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:434)
    at
    
org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.java:138)
    at
    
org.apache.felix.scr.impl.manager.ImmediateComponentManager.createImplementationObject(ImmediateComponentManager.java:226)
    at
    
org.apache.felix.scr.impl.manager.ImmediateComponentManager.createComponent(ImmediateComponentManager.java:118)
    at
    
org.apache.felix.scr.impl.manager.AbstractComponentManager$Unsatisfied.activate(AbstractComponentManager.java:991)
    at
    
org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:298)
    at
    
org.apache.felix.scr.impl.manager.AbstractComponentManager$3.doRun(AbstractComponentManager.java:505)
    at
    
org.apache.felix.scr.impl.ComponentActivatorTask.run(ComponentActivatorTask.java:67)
    at
    
org.apache.felix.scr.impl.ComponentActorThread.run(ComponentActorThread.java:96)
    at java.lang.Thread.run(Thread.java:662)
    2011-03-16 14:10:24 ERROR (?:?) -
    [org.opencastproject.distribution.streaming.StreamingDistributionService]
    Component instance could not be created, activation failed
    2011-03-16 14:10:24  INFO (SearchServiceImpl:120) - DEFAULT
    search.searchindexdir: /tmp/opencast/searchindex
    2011-03-16 14:10:24  INFO (SearchServiceImpl:147) - Setting up
    solr search index at /tmp/opencast/searchindex
    2011-03-16 14:10:24  INFO (SearchServiceImpl:154) - solr config
    directory doesn't exist.  Creating /tmp/opencast/searchindex/conf
    2011-03-16 14:10:25  WARN (RemoteServiceManagerImpl:272) - An
    existing service registration exists for
    org.opencastproject.search@http://153.106.119.225:8080.  Perhaps
    there was an unclean shutdown?
    2011-03-16 14:10:25  INFO (RestPublisher:90) - Registered REST
    endpoint at /search/rest
    2011-03-16 14:10:25  INFO (FeedRegistrationScanner:92) -
    Installing a feed from
    /opt/matterhorn/felix/conf/feeds/search.properties
    2011-03-16 14:10:25  INFO (FeedServlet:181) - Registering 'search'
    feed
    2011-03-16 14:10:25  INFO (FeedRegistrationScanner:92) -
    Installing a feed from
    /opt/matterhorn/felix/conf/feeds/aggregation.properties
    2011-03-16 14:10:25  INFO (FeedServlet:181) - Registering
    'aggregated' feed
    2011-03-16 14:10:25  INFO (FeedRegistrationScanner:92) -
    Installing a feed from
    /opt/matterhorn/felix/conf/feeds/latest.properties
    2011-03-16 14:10:25  INFO (FeedServlet:181) - Registering 'latest'
    feed
    2011-03-16 14:10:25  INFO (FeedRegistrationScanner:92) -
    Installing a feed from
    /opt/matterhorn/felix/conf/feeds/custom.properties
    2011-03-16 14:10:25  INFO (FeedServlet:181) - Registering 'custom'
    feed
    2011-03-16 14:10:25  INFO (FeedRegistrationScanner:92) -
    Installing a feed from
    /opt/matterhorn/felix/conf/feeds/series.properties
    2011-03-16 14:10:25  INFO (FeedServlet:181) - Registering 'series'
    feed
    2011-03-16 14:10:46  WARN (SchedulerServiceImpl:585) - Could not
    validate Calendar: Calendar must contain at least one component
    2011-03-16 14:11:49  WARN (AdminuiRestService:398) - workflow
    service not present, unable to retrieve workflow statistics
    2011-03-16 14:11:49  WARN (Event:349) - No event found for
    Unscheduled-matterhorn-capture-1299773151480
    2011-03-16 14:11:49  WARN (AdminuiRestService:533) - Could not get
    state from recording: Unscheduled-matterhorn-capture-1299773151480
    2011-03-16 14:11:49  WARN (Event:349) - No event found for
    Unscheduled-matterhorn-capture-1299703597242
    2011-03-16 14:11:49  WARN (AdminuiRestService:533) - Could not get
    state from recording: Unscheduled-matterhorn-capture-1299703597242
    2011-03-16 14:11:49  WARN (Event:349) - No event found for
    Unscheduled-matterhorn-capture-1299773219582
    2011-03-16 14:11:49  WARN (AdminuiRestService:533) - Could not get
    state from recording: Unscheduled-matterhorn-capture-1299773219582
    2011-03-16 14:11:49  WARN (AdminuiRestService:283) -
    WorkflowService not present, returning empty list
    2011-03-16 14:11:49  WARN (AdminuiRestService:283) -
    WorkflowService not present, returning empty list
    2011-03-16 14:11:49  WARN (AdminuiRestService:283) -
    WorkflowService not present, returning empty list
    2011-03-16 14:11:49  WARN (AdminuiRestService:283) -
    WorkflowService not present, returning empty list
    2011-03-16 14:11:49  WARN (AdminuiRestService:283) -
    WorkflowService not present, returning empty list
    2011-03-16 14:11:49  WARN (AdminuiRestService:283) -
    WorkflowService not present, returning empty list
    2011-03-16 14:11:52 ERROR
    (AbstractFaultChainInitiatorObserver:101) - Error occurred during
    error handling, give up!
    org.apache.cxf.interceptor.Fault
    at
    
org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:155)
    at
    
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:121)
    at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:133)
    at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:82)
    at
    
org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
    at
    java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at
    
org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
    at
    
org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)
    at
    
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)
    at
    
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:110)
    at
    
org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:98)
    at
    
org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:423)
    at
    
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:139)
    at
    
org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:142)
    at
    
org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179)
    at
    
org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:108)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at
    
org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159)
    at
    org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
    at
    org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389)
    at
    
org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.handle(HttpServiceServletHandler.java:64)
    at
    org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    at
    org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
    at
    
org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.handle(HttpServiceContext.java:111)
    at
    
org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:64)
    at
    org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    at org.mortbay.jetty.Server.handle(Server.java:326)
    at
    org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
    at
    
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
    at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
    at
    org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
    at
    
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
    Caused by: java.lang.NullPointerException
    at
    
org.opencastproject.workflow.endpoint.WorkflowRestService.getWorkflowDefinitions(WorkflowRestService.java:287)
    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.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:173)
    at
    
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:89)
    ... 34 more


And when I go actually go to the admin recordings page, I get this log line repeated over and over again:

    2011-03-16 14:37:40  WARN (AdminuiRestService:283) -
    WorkflowService not present, returning empty list


Sorry to dump so much of the log, but hopefully someone can make sense of it.

--
Ross Brandes
Calvin Theological Seminary


2011/3/16 Rubén Pérez-2 [via Opencast] <[email protected] <mailto:ml-node%[email protected]>>

    Hi

    No, that line you mention is normal, or, at least, shows up in a
    working system, so it doesn't have to do with your problem.

    I guess you have double-checked the configuration values in
    $FELIX_HOME/conf/config.properties... can you check the .xml
    workflow flies are in place? those are in
    $FELIX_HOME/conf/workflows . It's unlikely the copy went wrong,
    but I can't see anything else, given that you are not getting
    errors in your logs...

    Best regards,
    Rubén

    2011/3/16 Lovemore Nalube <[hidden email]
    <http://user/SendEmail.jtp?type=node&node=6177096&i=0&by-user=t>>

        Hi
        I think the org.springframework.security... log line have to
        do with the requests coming into your server instance (I could
        be wrong but it does not look like a error to me).
        Can you send us the log lines from the beginning of the log to
        the line that sets up the rest end-point like this one:
        /19:29:25  INFO (RestPublisher:196) - Registered REST endpoint
        at /series
        /
        Do you see any ERROR lines?
        Cheers

        --
        Lovemore Nalube
        OLE Developer (Vula)
        University of Cape Town
        http://www.cet.uct.ac.za/LovemoreN

        ###

        UNIVERSITY OF CAPE TOWN

        This e-mail is subject to the UCT ICT policies and e-mail
        disclaimer published on our website at
        http://www.uct.ac.za/about/policies/emaildisclaimer/ or
        obtainable from +27 21 650 9111 <tel:%2B27%2021%20650%209111>.
        This e-mail is intended only for the person(s) to whom it is
        addressed. If the e-mail has reached you in error, please
        notify the author. If you are not the intended recipient of
        the e-mail you may not use, disclose, copy, redirect or print
        the content. If this e-mail is not related to the business of
        UCT it is sent by the sender in the sender's individual capacity.

        ###


        _______________________________________________
        Matterhorn-users mailing list
        [hidden email]
        <http://user/SendEmail.jtp?type=node&node=6177096&i=4&by-user=t>
        http://lists.opencastproject.org/mailman/listinfo/matterhorn-users



    _______________________________________________
    Matterhorn-users mailing list
    [hidden email]
    <http://user/SendEmail.jtp?type=node&node=6177096&i=5&by-user=t>
    http://lists.opencastproject.org/mailman/listinfo/matterhorn-users


    ------------------------------------------------------------------------
    If you reply to this email, your message will be added to the
    discussion below:
    
http://opencast.3480289.n2.nabble.com/Matterhorn-users-Processing-instructions-tp6174086p6177096.html

    To unsubscribe from [Matterhorn-users] Processing instructions,
    click here
    
<http://opencast.3480289.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=6174086&code=cmJyYW5kZXNAY2Fsdmluc2VtaW5hcnkuZWR1fDYxNzQwODZ8LTE5Njk3MDQzNTA=>.




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

Reply via email to