Hello all,
The file of
"org.opencastproject.capture.impl.ConfigurationManager.properties" in
my server:
"org.opencastproject.capture.core.url" is 192.168.0.94:8080
-----> this is the address of my Capture Agent
The file of
"org.opencastproject.capture.impl.ConfigurationManager.properties" in
my agent:
"org.opencastproject.capture.core.url" is
${org.opencastproject.server.url}
Now I don't know how to change these address? anyone who can help.
Thanks
Solomon
> Date: Thu, 16 Feb 2012 15:57:35 -0800
> From: Solomon Melchizedek <[email protected]>
> To: [email protected]
> Subject: [Matterhorn-users] a problem of Matterhorn (capture and
> server)
> Message-ID:
> <CAC_XZ+1vLYzA0tborii6htihkt3oFGnGmcjgQOooMq=fyqf...@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hello all,
>
> I have a little confuse about the
> "org.opencastproject.capture.core.url" in
> org.opencastproject.capture.impl.ConfigurationManager.properties of my
> capture agent. This "core url" means my server url?
>
>
> Thanks
> Solomon
>
>
>> Date: Fri, 17 Feb 2012 00:46:10 +0100
>> From: Tobias Wunden <[email protected]>
>> To: Matterhorn Users <[email protected]>
>> Subject: Re: [Matterhorn-users] a problem of Matterhorn (capture and
>> ? ? ? ?server)
>> Message-ID: <[email protected]>
>> Content-Type: text/plain; charset=iso-8859-1
>>
>> Hi Solomon,
>>
>> disclaimer: I am not an expert on the capture agent front (this obviously
>> doesn't keep me from posting, though :-) It seems to me like you want to
>> change the server.url in the capture agent's config.properties to
>> http://<capture agent ip>:8080, and configure the core's address in
>> org.opencastproject.capture.core.url, found in the file
>> conf/services/org.opencastproject.capture.impl.ConfigurationManager.properties.
>>
>> However, capture folks please chime in and help.
>>
>> Tobias
>>
>> Am 17.02.2012 um 00:33 schrieb Solomon Melchizedek:
>>
>>> Hello Tobias,
>>>
>>> ? ? ? ?I have looked my config.properties in both capture and server.
>>> I think may be it have a problem, because I have the same
>>> org.opencastproject.server.url in two files.
>>>
>>> ? ? ? ?config.properties ? in ?capture agent ?(192.168.0.94) :
>>>
>>> ? ? ? ?org.opencastproject.server.url=http://192.168.0.67:8080
>>> ? ? ? .......
>>>
>>> ? ? ? ?config.properties ? in ?server (192.168.0.67) :
>>>
>>> ? ? ? ?org.opencastproject.server.url=http://192.168.0.67:8080
>>> ? ? ? ?........
>>>
>>>
>>> Thanks
>>> Solomon
>>>
>>>
>>>> Date: Thu, 16 Feb 2012 23:46:29 +0100
>>>> From: Tobias Wunden <[email protected]>
>>>> To: Matterhorn Users <[email protected]>
>>>> Subject: Re: [Matterhorn-userMessage-ID:
>>>> <[email protected]>
>>>> Content-Type: text/plain; charset=iso-8859-1
>>>>
>>>> Hi Solomon,
>>>>
>>>> it seems like wherever you configured the server and capture agent ip
>>>> addresses (most probably config.properties, but there may be other config
>>>> files on the capture agent as well), you left out the protocol (http://).
>>>> Add the protocol, and things should start to look better.
>>>>
>>>> Tobias
>>>>
>>>> On 16.02.2012, at 23:35, Solomon Melchizedek wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> ? ? ? ?I use two computer to build capture (192.168.0.94) and server
>>>>> (192.168.0.67). I test capture alone is ok. And test server alone is ok.
>>>>> But when I start them together it have a lot of error in the screen. So I
>>>>> don't know how to deal with these problem.
>>>>>
>>>>> ? ? ? ?The output of my screen:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ? ? ? ?Welcome to Matterhorn 1.2
>>>>> =========================
>>>>> Type 'help' to see a list of commands. ?Type 'help [command]' for more
>>>>> details on how to use a command. ?Type "stop 0" to exit.
>>>>> matterhorn> 16:21:55 ?WARN (ConfigurationManager:126) - Malformed URL for
>>>>> capture.config.remote.endpoint.url, disabling polling.
>>>>> 16:21:55 ?INFO (ConfigurationManager:131) - No remote configuration
>>>>> endpoint was found, relying on local config.
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:241) - Registering encoding
>>>>> profiles from /opt/matterhorn/felix/conf/encoding/epiphan-split.properties
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:245) - Installed profile
>>>>> epiphan.presenter
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:245) - Installed profile
>>>>> epiphan.presentation
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:241) - Registering encoding
>>>>> profiles from /opt/matterhorn/felix/conf/encoding/other-movies.properties
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:245) - Installed profile
>>>>> dvd-ntsc.http
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:245) - Installed profile
>>>>> dvd-pal.http
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:241) - Registering encoding
>>>>> profiles from /opt/matterhorn/felix/conf/encoding/engage-images.properties
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:245) - Installed profile
>>>>> search-cover.http
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:245) - Installed profile
>>>>> player-preview.http
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:245) - Installed profile
>>>>> player-slides.http
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:241) - Registering encoding
>>>>> profiles from
>>>>> /opt/matterhorn/felix/conf/encoding/matterhorn-movies.properties
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:245) - Installed profile
>>>>> audio-only.work
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:245) - Installed profile
>>>>> video-only.work
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:245) - Installed profile trim.work
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:245) - Installed profile
>>>>> video-segmentation.http
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:245) - Installed profile
>>>>> mux-av.work
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:245) - Installed profile av.work
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:241) - Registering encoding
>>>>> profiles from
>>>>> /opt/matterhorn/felix/conf/encoding/matterhorn-images.properties
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:245) - Installed profile
>>>>> image-conversion.http
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:245) - Installed profile
>>>>> text-analysis.http
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:241) - Registering encoding
>>>>> profiles from
>>>>> /opt/matterhorn/felix/conf/encoding/engage-movies-multi-quality.properties
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:245) - Installed profile
>>>>> flash-high.http
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:245) - Installed profile
>>>>> flash-vga-medium.http
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:245) - Installed profile
>>>>> flash-vga-low.http
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:245) - Installed profile
>>>>> flash-vga-hd.http
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:245) - Installed profile
>>>>> flash-hd.http
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:245) - Installed profile
>>>>> flash-medium.http
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:245) - Installed profile
>>>>> flash-low.http
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:245) - Installed profile
>>>>> flash-vga-high.http
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:241) - Registering encoding
>>>>> profiles from /opt/matterhorn/felix/conf/encoding/engage-movies.properties
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:245) - Installed profile
>>>>> flash-preview.http
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:245) - Installed profile
>>>>> flash-audio.http
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:245) - Installed profile
>>>>> flash-vga.http
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:245) - Installed profile flash.http
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:241) - Registering encoding
>>>>> profiles from /opt/matterhorn/felix/conf/encoding/feed-images.properties
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:245) - Installed profile
>>>>> feed-cover.http
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:241) - Registering encoding
>>>>> profiles from /opt/matterhorn/felix/conf/encoding/feed-movies.properties
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:245) - Installed profile
>>>>> feed-m4a.http
>>>>> 16:21:59 ?INFO (EncodingProfileScanner:245) - Installed profile
>>>>> feed-avi.http
>>>>> 16:21:59 ?INFO (StaticResourceServlet:79) - serving static files from
>>>>> '/tmp/opencast/downloads'
>>>>> 16:22:08 ?INFO (RestPublisher:215) - Registered REST endpoint at /org
>>>>> 16:22:08 ?INFO (RestPublisher:215) - Registered REST endpoint at
>>>>> /capture-admin
>>>>> 16:22:09 ?INFO (RestPublisher:215) - Registered REST endpoint at /info
>>>>> 16:22:11 ?INFO (ServiceRegistryJpaImpl:580) - Registering
>>>>> http://192.168.0.67:8080 with a maximum load of 1
>>>>> 16:22:12 ?INFO (RestPublisher:215) - Registered REST endpoint at /caption
>>>>> 16:22:13 ?INFO (RestPublisher:215) - Registered REST endpoint at /services
>>>>> 16:22:13 ?INFO (RestPublisher:215) - Registered REST endpoint at
>>>>> /inspection
>>>>> 16:22:14 ?INFO (CaptureAgentImpl:1227) - Starting CaptureAgentImpl.
>>>>> 16:22:14 ?INFO (CaptureAgentImpl:1232) - Confidence monitoring disabled.
>>>>> 16:22:14 ?INFO (CaptureAgentImpl:1240) - Registering capture agent osgi
>>>>> shell commands
>>>>> 16:22:14 ?INFO (RestPublisher:215) - Registered REST endpoint at
>>>>> /confidence
>>>>> 16:22:14 ?INFO (RestPublisher:215) - Registered REST endpoint at /state
>>>>> 16:22:15 ?INFO (RestPublisher:215) - Registered REST endpoint at
>>>>> /captureagent
>>>>> 16:22:15 ?INFO (CaptureAgentImpl:1197) - CaptureAgentImpl has
>>>>> successfully updated its properties from ConfigurationManager
>>>>> 16:22:15 ?INFO (AgentStateJob:63) - Starting first state push count.
>>>>> 16:22:15 ?INFO (AgentConfigurationJob:56) - Starting first capability
>>>>> push count.
>>>>> 16:22:15 ?WARN (SchedulerImpl:396) - Invalid location specified for
>>>>> capture.schedule.remote.endpoint.url unable to retrieve new scheduling
>>>>> data: 192.168.0.94:8080/recordings/calendars.
>>>>> 16:22:15 ERROR (JobRunShell:211) - Job recurring.agentStateUpdate threw
>>>>> an unhandled Exception:
>>>>> java.lang.IllegalArgumentException
>>>>> ?at java.net.URI.create(URI.java:842)
>>>>> ?at org.apache.http.client.methods.HttpPost.<init>(HttpPost.java:76)
>>>>> ?at
>>>>> org.opencastproject.capture.impl.jobs.AgentStateJob.send(AgentStateJob.java:175)
>>>>> ?at
>>>>> org.opencastproject.capture.impl.jobs.AgentStateJob.sendAgentState(AgentStateJob.java:129)
>>>>> ?at
>>>>> org.opencastproject.capture.impl.jobs.AgentStateJob.execute(AgentStateJob.java:83)
>>>>> ?at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
>>>>> ?at
>>>>> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)
>>>>> Caused by: java.net.URISyntaxException: Illegal character in scheme name
>>>>> at index 0: 192.168.0.94:8080/capture-admin/agents/demo_capture_agent
>>>>> ?at java.net.URI$Parser.fail(URI.java:2809)
>>>>> ?at java.net.URI$Parser.checkChars(URI.java:2982)
>>>>> ?at java.net.URI$Parser.checkChar(URI.java:2992)
>>>>> ?at java.net.URI$Parser.parse(URI.java:3008)
>>>>> ?at java.net.URI.<init>(URI.java:578)
>>>>> ?at java.net.URI.create(URI.java:840)
>>>>> ?... 6 more
>>>>> 16:22:15 ERROR (ErrorLogger:2185) - Job (recurring.agentStateUpdate threw
>>>>> an exception.
>>>>> org.quartz.SchedulerException: Job threw an unhandled exception. [See
>>>>> nested exception: java.lang.IllegalArgumentException]
>>>>> ?at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
>>>>> ?at
>>>>> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)
>>>>> Caused by: java.lang.IllegalArgumentException
>>>>> ?at java.net.URI.create(URI.java:842)
>>>>> ?at org.apache.http.client.methods.HttpPost.<init>(HttpPost.java:76)
>>>>> ?at
>>>>> org.opencastproject.capture.impl.jobs.AgentStateJob.send(AgentStateJob.java:175)
>>>>> ?at
>>>>> org.opencastproject.capture.impl.jobs.AgentStateJob.sendAgentState(AgentStateJob.java:129)
>>>>> ?at
>>>>> org.opencastproject.capture.impl.jobs.AgentStateJob.execute(AgentStateJob.java:83)
>>>>> ?at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
>>>>> ?... 1 more
>>>>> Caused by: java.net.URISyntaxException: Illegal character in scheme name
>>>>> at index 0: 192.168.0.94:8080/capture-admin/agents/demo_capture_agent
>>>>> ?at java.net.URI$Parser.fail(URI.java:2809)
>>>>> ?at java.net.URI$Parser.checkChars(URI.java:2982)
>>>>> ?at java.net.URI$Parser.checkChar(URI.java:2992)
>>>>> ?at java.net.URI$Parser.parse(URI.java:3008)
>>>>> ?at java.net.URI.<init>(URI.java:578)
>>>>> ?at java.net.URI.create(URI.java:840)
>>>>> ?... 6 more
>>>>> 16:22:15 ?INFO (RestPublisher:215) - Registered REST endpoint at /roles
>>>>> 16:22:15 ERROR (JobRunShell:211) - Job recurring.agentCapabilitiesUpdate
>>>>> threw an unhandled Exception:
>>>>> java.lang.IllegalArgumentException
>>>>> ?at java.net.URI.create(URI.java:842)
>>>>> ?at org.apache.http.client.methods.HttpPost.<init>(HttpPost.java:76)
>>>>> ?at
>>>>> org.opencastproject.capture.impl.jobs.AgentConfigurationJob.execute(AgentConfigurationJob.java:109)
>>>>> ?at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
>>>>> ?at
>>>>> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)
>>>>> Caused by: java.net.URISyntaxException: Illegal character in scheme name
>>>>> at index 0:
>>>>> 192.168.0.94:8080/capture-admin/agents/demo_capture_agent/configuration
>>>>> ?at java.net.URI$Parser.fail(URI.java:2809)
>>>>> ?at java.net.URI$Parser.checkChars(URI.java:2982)
>>>>> ?at java.net.URI$Parser.checkChar(URI.java:2992)
>>>>> ?at java.net.URI$Parser.parse(URI.java:3008)
>>>>> ?at java.net.URI.<init>(URI.java:578)
>>>>> ?at java.net.URI.create(URI.java:840)
>>>>> ?... 4 more
>>>>> 16:22:16 ERROR (ErrorLogger:2185) - Job
>>>>> (recurring.agentCapabilitiesUpdate threw an exception.
>>>>> org.quartz.SchedulerException: Job threw an unhandled exception. [See
>>>>> nested exception: java.lang.IllegalArgumentException]
>>>>> ?at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
>>>>> ?at
>>>>> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)
>>>>> Caused by: java.lang.IllegalArgumentException
>>>>> ?at java.net.URI.create(URI.java:842)
>>>>> ?at org.apache.http.client.methods.HttpPost.<init>(HttpPost.java:76)
>>>>> ?at
>>>>> org.opencastproject.capture.impl.jobs.AgentConfigurationJob.execute(AgentConfigurationJob.java:109)
>>>>> ?at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
>>>>> ?... 1 more
>>>>> Caused by: java.net.URISyntaxException: Illegal character in scheme name
>>>>> at index 0:
>>>>> 192.168.0.94:8080/capture-admin/agents/demo_capture_agent/configuration
>>>>> ?at java.net.URI$Parser.fail(URI.java:2809)
>>>>> ?at java.net.URI$Parser.checkChars(URI.java:2982)
>>>>> ?at java.net.URI$Parser.checkChar(URI.java:2992)
>>>>> ?at java.net.URI$Parser.parse(URI.java:3008)
>>>>> ?at java.net.URI.<init>(URI.java:578)
>>>>> ?at java.net.URI.create(URI.java:840)
>>>>> ?... 4 more
>>>>> 16:22:16 ?INFO (SpringSecurityConfigurationArtifactInstaller:115) -
>>>>> registered OsgiBundleXmlApplicationContext(bundle=matterhorn-kernel,
>>>>> config=file:/opt/matterhorn/felix/conf/security/mh_default_org.xml):
>>>>> startup date [Wed Dec 31 16:00:00 PST 1969]; root of context hierarchy
>>>>> for mh_default_org
>>>>> 16:22:16 ?INFO (WorkingFileRepositoryImpl:123) - Usable space 213 Gb out
>>>>> of 227 Gb (94%)
>>>>> 16:22:17 ?INFO (RestPublisher:215) - Registered REST endpoint at /files
>>>>> 16:22:17 ?INFO (WorkspaceImpl:441) - Mapping workspace to working file
>>>>> repository using /tmp/opencast/files
>>>>> 16:22:17 ?INFO (WorkspaceImpl:105) - CONFIG
>>>>> org.opencastproject.workspace.rootdir: /tmp/opencast/workspace
>>>>> 16:22:17 ?INFO (WorkspaceImpl:150) - Hard links between the working file
>>>>> repository and the workspace enabled
>>>>> 16:22:17 ?WARN (StreamingDistributionService:103) - Stream url was not
>>>>> set (org.opencastproject.streaming.url)
>>>>> 16:22:17 ?WARN (StreamingDistributionService:110) - Streaming
>>>>> distribution directory must be set
>>>>> (org.opencastproject.streaming.directory)
>>>>> 16:22:17 ?INFO (StreamingDistributionService:122) - Streaming
>>>>> distribution directory is null
>>>>> 16:22:18 ?INFO (RestPublisher:215) - Registered REST endpoint at
>>>>> /distribution/streaming
>>>>> 16:22:25 ERROR (JobRunShell:211) - Job recurring.agentStateUpdate threw
>>>>> an unhandled Exception:
>>>>> java.lang.IllegalArgumentException
>>>>> ?at java.net.URI.create(URI.java:842)
>>>>> ?at org.apache.http.client.methods.HttpPost.<init>(HttpPost.java:76)
>>>>> ?at
>>>>> org.opencastproject.capture.impl.jobs.AgentStateJob.send(AgentStateJob.java:175)
>>>>> ?at
>>>>> org.opencastproject.capture.impl.jobs.AgentStateJob.sendAgentState(AgentStateJob.java:129)
>>>>> ?at
>>>>> org.opencastproject.capture.impl.jobs.AgentStateJob.execute(AgentStateJob.java:83)
>>>>> ?at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
>>>>> ?at
>>>>> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)
>>>>> Caused by: java.net.URISyntaxException: Illegal character in scheme name
>>>>> at index 0: 192.168.0.94:8080/capture-admin/agents/demo_capture_agent
>>>>> ?at java.net.URI$Parser.fail(URI.java:2809)
>>>>> ?at java.net.URI$Parser.checkChars(URI.java:2982)
>>>>> ?at java.net.URI$Parser.checkChar(URI.java:2992)
>>>>> ?at java.net.URI$Parser.parse(URI.java:3008)
>>>>> ?at java.net.URI.<init>(URI.java:578)
>>>>> ?at java.net.URI.create(URI.java:840)
>>>>> ?... 6 more
>>>>> 16:22:25 ERROR (ErrorLogger:2185) - Job (recurring.agentStateUpdate threw
>>>>> an exception.
>>>>> org.quartz.SchedulerException: Job threw an unhandled exception. [See
>>>>> nested exception: java.lang.IllegalArgumentException]
>>>>> ?at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
>>>>> ?at
>>>>> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)
>>>>> Caused by: java.lang.IllegalArgumentException
>>>>> ?at java.net.URI.create(URI.java:842)
>>>>> ?at org.apache.http.client.methods.HttpPost.<init>(HttpPost.java:76)
>>>>> ?at
>>>>> org.opencastproject.capture.impl.jobs.AgentStateJob.send(AgentStateJob.java:175)
>>>>> ?at
>>>>> org.opencastproject.capture.impl.jobs.AgentStateJob.sendAgentState(AgentStateJob.java:129)
>>>>> ?at
>>>>> org.opencastproject.capture.impl.jobs.AgentStateJob.execute(AgentStateJob.java:83)
>>>>> ?at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
>>>>> ?... 1 more
>>>>> Caused by: java.net.URISyntaxException: Illegal character in scheme name
>>>>> at index 0: 192.168.0.94:8080/capture-admin/agents/demo_capture_agent
>>>>> ?at java.net.URI$Parser.fail(URI.java:2809)
>>>>> ?at java.net.URI$Parser.checkChars(URI.java:2982)
>>>>> ?at java.net.URI$Parser.checkChar(URI.java:2992)
>>>>> ?at java.net.URI$Parser.parse(URI.java:3008)
>>>>> ?at java.net.URI.<init>(URI.java:578)
>>>>> ?at java.net.URI.create(URI.java:840)
>>>>>
>>>>> _______________________________________________
>>>>> Matterhorn-users mailing list
>>>>> [email protected]
>>>>> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
>>>>
> Date: Fri, 17 Feb 2012 01:00:15 +0100
> From: Tobias Wunden <[email protected]>
> To: Matterhorn Users <[email protected]>
> Subject: Re: [Matterhorn-users] a problem of Matterhorn (capture and
> server)
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=iso-8859-1
>
> Yes.
>
> Am 17.02.2012 um 00:57 schrieb Solomon Melchizedek:
>
>> Hello all,
>>
>> I have a little confuse about the
>> "org.opencastproject.capture.core.url" in
>> org.opencastproject.capture.impl.ConfigurationManager.properties of my
>> capture agent. This "core url" means my server url?
>>
>>
>> Thanks
>> Solomon
>>
>>
>>> Date: Fri, 17 Feb 2012 00:46:10 +0100
>>> From: Tobias Wunden <[email protected]>
>>> To: Matterhorn Users <[email protected]>
>>> Subject: Re: [Matterhorn-users] a problem of Matterhorn (capture and
>>> server)
>>> Message-ID: <[email protected]>
>>> Content-Type: text/plain; charset=iso-8859-1
>>>
>>> Hi Solomon,
>>>
>>> disclaimer: I am not an expert on the capture agent front (this obviously
>>> doesn't keep me from posting, though :-) It seems to me like you want to
>>> change the server.url in the capture agent's config.properties to
>>> http://<capture agent ip>:8080, and configure the core's address in
>>> org.opencastproject.capture.core.url, found in the file
>>> conf/services/org.opencastproject.capture.impl.ConfigurationManager.properties.
>>>
>>> However, capture folks please chime in and help.
>>>
>>> Tobias
>>>
>>> Am 17.02.2012 um 00:33 schrieb Solomon Melchizedek:
>>>
>>>> Hello Tobias,
>>>>
>>>> I have looked my config.properties in both capture and server.
>>>> I think may be it have a problem, because I have the same
>>>> org.opencastproject.server.url in two files.
>>>>
>>>> config.properties in capture agent (192.168.0.94) :
>>>>
>>>> org.opencastproject.server.url=http://192.168.0.67:8080
>>>> .......
>>>>
>>>> config.properties in server (192.168.0.67) :
>>>>
>>>> org.opencastproject.server.url=http://192.168.0.67:8080
>>>> ........
>>>>
>>>>
>>>> Thanks
>>>> Solomon
>>>>
>>>>
>>>>> Date: Thu, 16 Feb 2012 23:46:29 +0100
>>>>> From: Tobias Wunden <[email protected]>
>>>>> To: Matterhorn Users <[email protected]>
>>>>> Subject: Re: [Matterhorn-userMessage-ID:
>>>>> <[email protected]>
>>>>> Content-Type: text/plain; charset=iso-8859-1
>>>>>
>>>>> Hi Solomon,
>>>>>
>>>>> it seems like wherever you configured the server and capture agent ip
>>>>> addresses (most probably config.properties, but there may be other config
>>>>> files on the capture agent as well), you left out the protocol (http://).
>>>>> Add the protocol, and things should start to look better.
>>>>>
>>>>> Tobias
>>>>>
>>>>> On 16.02.2012, at 23:35, Solomon Melchizedek wrote:
>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> I use two computer to build capture (192.168.0.94) and server
>>>>>> (192.168.0.67). I test capture alone is ok. And test server alone is ok.
>>>>>> But when I start them together it have a lot of error in the screen. So
>>>>>> I don't know how to deal with these problem.
>>>>>>
>>>>>> The output of my screen:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Welcome to Matterhorn 1.2
>>>>>> =========================
>>>>>> Type 'help' to see a list of commands. Type 'help [command]' for more
>>>>>> details on how to use a command. Type "stop 0" to exit.
>>>>>> matterhorn> 16:21:55 WARN (ConfigurationManager:126) - Malformed URL
>>>>>> for capture.config.remote.endpoint.url, disabling polling.
>>>>>> 16:21:55 INFO (ConfigurationManager:131) - No remote configuration
>>>>>> endpoint was found, relying on local config.
>>>>>> 16:21:59 INFO (EncodingProfileScanner:241) - Registering encoding
>>>>>> profiles from
>>>>>> /opt/matterhorn/felix/conf/encoding/epiphan-split.properties
>>>>>> 16:21:59 INFO (EncodingProfileScanner:245) - Installed profile
>>>>>> epiphan.presenter
>>>>>> 16:21:59 INFO (EncodingProfileScanner:245) - Installed profile
>>>>>> epiphan.presentation
>>>>>> 16:21:59 INFO (EncodingProfileScanner:241) - Registering encoding
>>>>>> profiles from /opt/matterhorn/felix/conf/encoding/other-movies.properties
>>>>>> 16:21:59 INFO (EncodingProfileScanner:245) - Installed profile
>>>>>> dvd-ntsc.http
>>>>>> 16:21:59 INFO (EncodingProfileScanner:245) - Installed profile
>>>>>> dvd-pal.http
>>>>>> 16:21:59 INFO (EncodingProfileScanner:241) - Registering encoding
>>>>>> profiles from
>>>>>> /opt/matterhorn/felix/conf/encoding/engage-images.properties
>>>>>> 16:21:59 INFO (EncodingProfileScanner:245) - Installed profile
>>>>>> search-cover.http
>>>>>> 16:21:59 INFO (EncodingProfileScanner:245) - Installed profile
>>>>>> player-preview.http
>>>>>> 16:21:59 INFO (EncodingProfileScanner:245) - Installed profile
>>>>>> player-slides.http
>>>>>> 16:21:59 INFO (EncodingProfileScanner:241) - Registering encoding
>>>>>> profiles from
>>>>>> /opt/matterhorn/felix/conf/encoding/matterhorn-movies.properties
>>>>>> 16:21:59 INFO (EncodingProfileScanner:245) - Installed profile
>>>>>> audio-only.work
>>>>>> 16:21:59 INFO (EncodingProfileScanner:245) - Installed profile
>>>>>> video-only.work
>>>>>> 16:21:59 INFO (EncodingProfileScanner:245) - Installed profile trim.work
>>>>>> 16:21:59 INFO (EncodingProfileScanner:245) - Installed profile
>>>>>> video-segmentation.http
>>>>>> 16:21:59 INFO (EncodingProfileScanner:245) - Installed profile
>>>>>> mux-av.work
>>>>>> 16:21:59 INFO (EncodingProfileScanner:245) - Installed profile av.work
>>>>>> 16:21:59 INFO (EncodingProfileScanner:241) - Registering encoding
>>>>>> profiles from
>>>>>> /opt/matterhorn/felix/conf/encoding/matterhorn-images.properties
>>>>>> 16:21:59 INFO (EncodingProfileScanner:245) - Installed profile
>>>>>> image-conversion.http
>>>>>> 16:21:59 INFO (EncodingProfileScanner:245) - Installed profile
>>>>>> text-analysis.http
>>>>>> 16:21:59 INFO (EncodingProfileScanner:241) - Registering encoding
>>>>>> profiles from
>>>>>> /opt/matterhorn/felix/conf/encoding/engage-movies-multi-quality.properties
>>>>>> 16:21:59 INFO (EncodingProfileScanner:245) - Installed profile
>>>>>> flash-high.http
>>>>>> 16:21:59 INFO (EncodingProfileScanner:245) - Installed profile
>>>>>> flash-vga-medium.http
>>>>>> 16:21:59 INFO (EncodingProfileScanner:245) - Installed profile
>>>>>> flash-vga-low.http
>>>>>> 16:21:59 INFO (EncodingProfileScanner:245) - Installed profile
>>>>>> flash-vga-hd.http
>>>>>> 16:21:59 INFO (EncodingProfileScanner:245) - Installed profile
>>>>>> flash-hd.http
>>>>>> 16:21:59 INFO (EncodingProfileScanner:245) - Installed profile
>>>>>> flash-medium.http
>>>>>> 16:21:59 INFO (EncodingProfileScanner:245) - Installed profile
>>>>>> flash-low.http
>>>>>> 16:21:59 INFO (EncodingProfileScanner:245) - Installed profile
>>>>>> flash-vga-high.http
>>>>>> 16:21:59 INFO (EncodingProfileScanner:241) - Registering encoding
>>>>>> profiles from
>>>>>> /opt/matterhorn/felix/conf/encoding/engage-movies.properties
>>>>>> 16:21:59 INFO (EncodingProfileScanner:245) - Installed profile
>>>>>> flash-preview.http
>>>>>> 16:21:59 INFO (EncodingProfileScanner:245) - Installed profile
>>>>>> flash-audio.http
>>>>>> 16:21:59 INFO (EncodingProfileScanner:245) - Installed profile
>>>>>> flash-vga.http
>>>>>> 16:21:59 INFO (EncodingProfileScanner:245) - Installed profile
>>>>>> flash.http
>>>>>> 16:21:59 INFO (EncodingProfileScanner:241) - Registering encoding
>>>>>> profiles from /opt/matterhorn/felix/conf/encoding/feed-images.properties
>>>>>> 16:21:59 INFO (EncodingProfileScanner:245) - Installed profile
>>>>>> feed-cover.http
>>>>>> 16:21:59 INFO (EncodingProfileScanner:241) - Registering encoding
>>>>>> profiles from /opt/matterhorn/felix/conf/encoding/feed-movies.properties
>>>>>> 16:21:59 INFO (EncodingProfileScanner:245) - Installed profile
>>>>>> feed-m4a.http
>>>>>> 16:21:59 INFO (EncodingProfileScanner:245) - Installed profile
>>>>>> feed-avi.http
>>>>>> 16:21:59 INFO (StaticResourceServlet:79) - serving static files from
>>>>>> '/tmp/opencast/downloads'
>>>>>> 16:22:08 INFO (RestPublisher:215) - Registered REST endpoint at /org
>>>>>> 16:22:08 INFO (RestPublisher:215) - Registered REST endpoint at
>>>>>> /capture-admin
>>>>>> 16:22:09 INFO (RestPublisher:215) - Registered REST endpoint at /info
>>>>>> 16:22:11 INFO (ServiceRegistryJpaImpl:580) - Registering
>>>>>> http://192.168.0.67:8080 with a maximum load of 1
>>>>>> 16:22:12 INFO (RestPublisher:215) - Registered REST endpoint at /caption
>>>>>> 16:22:13 INFO (RestPublisher:215) - Registered REST endpoint at
>>>>>> /services
>>>>>> 16:22:13 INFO (RestPublisher:215) - Registered REST endpoint at
>>>>>> /inspection
>>>>>> 16:22:14 INFO (CaptureAgentImpl:1227) - Starting CaptureAgentImpl.
>>>>>> 16:22:14 INFO (CaptureAgentImpl:1232) - Confidence monitoring disabled.
>>>>>> 16:22:14 INFO (CaptureAgentImpl:1240) - Registering capture agent osgi
>>>>>> shell commands
>>>>>> 16:22:14 INFO (RestPublisher:215) - Registered REST endpoint at
>>>>>> /confidence
>>>>>> 16:22:14 INFO (RestPublisher:215) - Registered REST endpoint at /state
>>>>>> 16:22:15 INFO (RestPublisher:215) - Registered REST endpoint at
>>>>>> /captureagent
>>>>>> 16:22:15 INFO (CaptureAgentImpl:1197) - CaptureAgentImpl has
>>>>>> successfully updated its properties from ConfigurationManager
>>>>>> 16:22:15 INFO (AgentStateJob:63) - Starting first state push count.
>>>>>> 16:22:15 INFO (AgentConfigurationJob:56) - Starting first capability
>>>>>> push count.
>>>>>> 16:22:15 WARN (SchedulerImpl:396) - Invalid location specified for
>>>>>> capture.schedule.remote.endpoint.url unable to retrieve new scheduling
>>>>>> data: 192.168.0.94:8080/recordings/calendars.
>>>>>> 16:22:15 ERROR (JobRunShell:211) - Job recurring.agentStateUpdate threw
>>>>>> an unhandled Exception:
>>>>>> java.lang.IllegalArgumentException
>>>>>> at java.net.URI.create(URI.java:842)
>>>>>> at org.apache.http.client.methods.HttpPost.<init>(HttpPost.java:76)
>>>>>> at
>>>>>> org.opencastproject.capture.impl.jobs.AgentStateJob.send(AgentStateJob.java:175)
>>>>>> at
>>>>>> org.opencastproject.capture.impl.jobs.AgentStateJob.sendAgentState(AgentStateJob.java:129)
>>>>>> at
>>>>>> org.opencastproject.capture.impl.jobs.AgentStateJob.execute(AgentStateJob.java:83)
>>>>>> at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
>>>>>> at
>>>>>> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)
>>>>>> Caused by: java.net.URISyntaxException: Illegal character in scheme name
>>>>>> at index 0: 192.168.0.94:8080/capture-admin/agents/demo_capture_agent
>>>>>> at java.net.URI$Parser.fail(URI.java:2809)
>>>>>> at java.net.URI$Parser.checkChars(URI.java:2982)
>>>>>> at java.net.URI$Parser.checkChar(URI.java:2992)
>>>>>> at java.net.URI$Parser.parse(URI.java:3008)
>>>>>> at java.net.URI.<init>(URI.java:578)
>>>>>> at java.net.URI.create(URI.java:840)
>>>>>> ... 6 more
>>>>>> 16:22:15 ERROR (ErrorLogger:2185) - Job (recurring.agentStateUpdate
>>>>>> threw an exception.
>>>>>> org.quartz.SchedulerException: Job threw an unhandled exception. [See
>>>>>> nested exception: java.lang.IllegalArgumentException]
>>>>>> at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
>>>>>> at
>>>>>> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)
>>>>>> Caused by: java.lang.IllegalArgumentException
>>>>>> at java.net.URI.create(URI.java:842)
>>>>>> at org.apache.http.client.methods.HttpPost.<init>(HttpPost.java:76)
>>>>>> at
>>>>>> org.opencastproject.capture.impl.jobs.AgentStateJob.send(AgentStateJob.java:175)
>>>>>> at
>>>>>> org.opencastproject.capture.impl.jobs.AgentStateJob.sendAgentState(AgentStateJob.java:129)
>>>>>> at
>>>>>> org.opencastproject.capture.impl.jobs.AgentStateJob.execute(AgentStateJob.java:83)
>>>>>> at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
>>>>>> ... 1 more
>>>>>> Caused by: java.net.URISyntaxException: Illegal character in scheme name
>>>>>> at index 0: 192.168.0.94:8080/capture-admin/agents/demo_capture_agent
>>>>>> at java.net.URI$Parser.fail(URI.java:2809)
>>>>>> at java.net.URI$Parser.checkChars(URI.java:2982)
>>>>>> at java.net.URI$Parser.checkChar(URI.java:2992)
>>>>>> at java.net.URI$Parser.parse(URI.java:3008)
>>>>>> at java.net.URI.<init>(URI.java:578)
>>>>>> at java.net.URI.create(URI.java:840)
>>>>>> ... 6 more
>>>>>> 16:22:15 INFO (RestPublisher:215) - Registered REST endpoint at /roles
>>>>>> 16:22:15 ERROR (JobRunShell:211) - Job recurring.agentCapabilitiesUpdate
>>>>>> threw an unhandled Exception:
>>>>>> java.lang.IllegalArgumentException
>>>>>> at java.net.URI.create(URI.java:842)
>>>>>> at org.apache.http.client.methods.HttpPost.<init>(HttpPost.java:76)
>>>>>> at
>>>>>> org.opencastproject.capture.impl.jobs.AgentConfigurationJob.execute(AgentConfigurationJob.java:109)
>>>>>> at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
>>>>>> at
>>>>>> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)
>>>>>> Caused by: java.net.URISyntaxException: Illegal character in scheme name
>>>>>> at index 0:
>>>>>> 192.168.0.94:8080/capture-admin/agents/demo_capture_agent/configuration
>>>>>> at java.net.URI$Parser.fail(URI.java:2809)
>>>>>> at java.net.URI$Parser.checkChars(URI.java:2982)
>>>>>> at java.net.URI$Parser.checkChar(URI.java:2992)
>>>>>> at java.net.URI$Parser.parse(URI.java:3008)
>>>>>> at java.net.URI.<init>(URI.java:578)
>>>>>> at java.net.URI.create(URI.java:840)
>>>>>> ... 4 more
>>>>>> 16:22:16 ERROR (ErrorLogger:2185) - Job
>>>>>> (recurring.agentCapabilitiesUpdate threw an exception.
>>>>>> org.quartz.SchedulerException: Job threw an unhandled exception. [See
>>>>>> nested exception: java.lang.IllegalArgumentException]
>>>>>> at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
>>>>>> at
>>>>>> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)
>>>>>> Caused by: java.lang.IllegalArgumentException
>>>>>> at java.net.URI.create(URI.java:842)
>>>>>> at org.apache.http.client.methods.HttpPost.<init>(HttpPost.java:76)
>>>>>> at
>>>>>> org.opencastproject.capture.impl.jobs.AgentConfigurationJob.execute(AgentConfigurationJob.java:109)
>>>>>> at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
>>>>>> ... 1 more
>>>>>> Caused by: java.net.URISyntaxException: Illegal character in scheme name
>>>>>> at index 0:
>>>>>> 192.168.0.94:8080/capture-admin/agents/demo_capture_agent/configuration
>>>>>> at java.net.URI$Parser.fail(URI.java:2809)
>>>>>> at java.net.URI$Parser.checkChars(URI.java:2982)
>>>>>> at java.net.URI$Parser.checkChar(URI.java:2992)
>>>>>> at java.net.URI$Parser.parse(URI.java:3008)
>>>>>> at java.net.URI.<init>(URI.java:578)
>>>>>> at java.net.URI.create(URI.java:840)
>>>>>> ... 4 more
>>>>>> 16:22:16 INFO (SpringSecurityConfigurationArtifactInstaller:115) -
>>>>>> registered OsgiBundleXmlApplicationContext(bundle=matterhorn-kernel,
>>>>>> config=file:/opt/matterhorn/felix/conf/security/mh_default_org.xml):
>>>>>> startup date [Wed Dec 31 16:00:00 PST 1969]; root of context hierarchy
>>>>>> for mh_default_org
>>>>>> 16:22:16 INFO (WorkingFileRepositoryImpl:123) - Usable space 213 Gb out
>>>>>> of 227 Gb (94%)
>>>>>> 16:22:17 INFO (RestPublisher:215) - Registered REST endpoint at /files
>>>>>> 16:22:17 INFO (WorkspaceImpl:441) - Mapping workspace to working file
>>>>>> repository using /tmp/opencast/files
>>>>>> 16:22:17 INFO (WorkspaceImpl:105) - CONFIG
>>>>>> org.opencastproject.workspace.rootdir: /tmp/opencast/workspace
>>>>>> 16:22:17 INFO (WorkspaceImpl:150) - Hard links between the working file
>>>>>> repository and the workspace enabled
>>>>>> 16:22:17 WARN (StreamingDistributionService:103) - Stream url was not
>>>>>> set (org.opencastproject.streaming.url)
>>>>>> 16:22:17 WARN (StreamingDistributionService:110) - Streaming
>>>>>> distribution directory must be set
>>>>>> (org.opencastproject.streaming.directory)
>>>>>> 16:22:17 INFO (StreamingDistributionService:122) - Streaming
>>>>>> distribution directory is null
>>>>>> 16:22:18 INFO (RestPublisher:215) - Registered REST endpoint at
>>>>>> /distribution/streaming
>>>>>> 16:22:25 ERROR (JobRunShell:211) - Job recurring.agentStateUpdate threw
>>>>>> an unhandled Exception:
>>>>>> java.lang.IllegalArgumentException
>>>>>> at java.net.URI.create(URI.java:842)
>>>>>> at org.apache.http.client.methods.HttpPost.<init>(HttpPost.java:76)
>>>>>> at
>>>>>> org.opencastproject.capture.impl.jobs.AgentStateJob.send(AgentStateJob.java:175)
>>>>>> at
>>>>>> org.opencastproject.capture.impl.jobs.AgentStateJob.sendAgentState(AgentStateJob.java:129)
>>>>>> at
>>>>>> org.opencastproject.capture.impl.jobs.AgentStateJob.execute(AgentStateJob.java:83)
>>>>>> at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
>>>>>> at
>>>>>> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)
>>>>>> Caused by: java.net.URISyntaxException: Illegal character in scheme name
>>>>>> at index 0: 192.168.0.94:8080/capture-admin/agents/demo_capture_agent
>>>>>> at java.net.URI$Parser.fail(URI.java:2809)
>>>>>> at java.net.URI$Parser.checkChars(URI.java:2982)
>>>>>> at java.net.URI$Parser.checkChar(URI.java:2992)
>>>>>> at java.net.URI$Parser.parse(URI.java:3008)
>>>>>> at java.net.URI.<init>(URI.java:578)
>>>>>> at java.net.URI.create(URI.java:840)
>>>>>> ... 6 more
>>>>>> 16:22:25 ERROR (ErrorLogger:2185) - Job (recurring.agentStateUpdate
>>>>>> threw an exception.
>>>>>> org.quartz.SchedulerException: Job threw an unhandled exception. [See
>>>>>> nested exception: java.lang.IllegalArgumentException]
>>>>>> at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
>>>>>> at
>>>>>> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)
>>>>>> Caused by: java.lang.IllegalArgumentException
>>>>>> at java.net.URI.create(URI.java:842)
>>>>>> at org.apache.http.client.methods.HttpPost.<init>(HttpPost.java:76)
>>>>>> at
>>>>>> org.opencastproject.capture.impl.jobs.AgentStateJob.send(AgentStateJob.java:175)
>>>>>> at
>>>>>> org.opencastproject.capture.impl.jobs.AgentStateJob.sendAgentState(AgentStateJob.java:129)
>>>>>> at
>>>>>> org.opencastproject.capture.impl.jobs.AgentStateJob.execute(AgentStateJob.java:83)
>>>>>> at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
>>>>>> ... 1 more
>>>>>> Caused by: java.net.URISyntaxException: Illegal character in scheme name
>>>>>> at index 0: 192.168.0.94:8080/capture-admin/agents/demo_capture_agent
>>>>>> at java.net.URI$Parser.fail(URI.java:2809)
>>>>>> at java.net.URI$Parser.checkChars(URI.java:2982)
>>>>>> at java.net.URI$Parser.checkChar(URI.java:2992)
>>>>>> at java.net.URI$Parser.parse(URI.java:3008)
>>>>>> at java.net.URI.<init>(URI.java:578)
>>>>>> at java.net.URI.create(URI.java:840)
>>>>>>
>>>>>> _______________________________________________
>>>>>> Matterhorn-users mailing list
>>>>>> [email protected]
>>>>>> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
>>>>>
> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
>
>
>
_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users