[
http://opencast.jira.com/browse/MH-8851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=30799#comment-30799
]
Adam McKenzie commented on MH-8851:
-----------------------------------
Not
/MH/msub/uct.ac.za/branches/MH-8311/modules/matterhorn-capture-agent-impl:r11233:
svn diff
http://opencast.jira.com/svn/MH/msub/uct.ac.za/branches/MH-8311/modules/matterhorn-capture-agent-impl
-r11233
Index: src/main/java/org/opencastproject/capture/impl/CaptureAgentImpl.java
===================================================================
--- src/main/java/org/opencastproject/capture/impl/CaptureAgentImpl.java
(revision 11233)
+++ src/main/java/org/opencastproject/capture/impl/CaptureAgentImpl.java
(revision 12271)
@@ -571,6 +571,16 @@
flavor = MediaPackageElementFlavor.parseFlavor(flavorString);
String outputProperty = CaptureParameters.CAPTURE_DEVICE_PREFIX + name
+ CaptureParameters.CAPTURE_DEVICE_DEST;
+ if (null == recording.getProperty(outputProperty)) {
+ logger.error(CaptureParameters.CAPTURE_DEVICE_PREFIX + name +
CaptureParameters.CAPTURE_DEVICE_DEST
+ + "does not exist in the recording's properties. Your CA's
configuration file, or the configuration "
+ + "received from the core is missing information. This
should be checked ASAP.");
+ // FIXME: Is the admin reading the agent logs? (jt)
+ // FIXME: Who will find out why one of the tracks is missing from
the media package? (jt)
+ // FIXME: Think about a notification scheme, this looks like an
emergency to me (jt)
+ setRecordingState(recording.getID(), RecordingState.MANIFEST_ERROR);
+ return false;
+ }
File outputFile = new File(recording.getBaseDir(),
recording.getProperty(outputProperty));
// Adds the file to the MediaPackage
Property changes on: .
___________________________________________________________________
Modified: svn:mergeinfo
Merged /MH/branches/1.3.x/modules/matterhorn-capture-agent-impl:r11563
Merged /MH/trunk/modules/matterhorn-capture-agent-impl:r11232-11704
> Examine diffs between 1.2 and 1.3 capture agent for code changes that causes
> the jvm to crash
> ---------------------------------------------------------------------------------------------
>
> Key: MH-8851
> URL: http://opencast.jira.com/browse/MH-8851
> Project: Matterhorn Project
> Issue Type: Sub-Task
> Components: Capture (Devices and Software)
> Affects Versions: 1.4, 1.3
> Reporter: Adam McKenzie
> Assignee: Adam McKenzie
> Priority: Release Blocker
> Fix For: 1.4, 1.3
>
> Attachments: revision-11044.diff, svn.log
>
>
> I cannot reproduce the issue on 1.2 in conditions that it reliably happens in
> 1.3. Therefore, I am going to go through all of the commits after the svn log
> says the 1.2 branch happened for the capture agent bundle
> (modules/matterhorn-capture-agent-impl) to determine possible candidates that
> are issues. Then I will create tasks to revert the code and test it on
> capture agents to isolate what might be causing the issue.
--
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]
_______________________________________________