In config.properties, the engage.ui.url defaults to pointing to the current server. This explains why Ruben saw the Media Module point to the current server (the default setting). A distributed environment requires the default to be manually changed to point to the actual engage server (once the key is fixed in Runtime.java!)
- K
======================================
From etc/config.properties....
# The base URL of the server hosting the administrative tools. If the admin tools are deployed on this server,
# this should point to this server's public URL.
org.opencastproject.admin.ui.url=${org.opencastproject.server.url}

# The base URL of the server hosting the engage tools. If the engage tools are deployed on this server, this
# should point to this server's public URL.
org.opencastproject.engage.ui.url=${org.opencastproject.server.url}
==========================================

On 8/28/2012 9:51 AM, Karen Dolan (Commented) (JIRA) wrote:
     [ 
http://opencast.jira.com/browse/MH-9064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31631#comment-31631
 ]

Karen Dolan commented on MH-9064:
---------------------------------

The ENGAGE_URL_PROPERTY is looking for the admin  key "org.opencastproject.admin.ui.url" 
instead of the engage key "org.opencastproject.engage.ui.url"
===============
See: org.opencastproject.runtimeinfo.Runtimeinfo.java

   /** Configuration properties id */
...
   private static final String ADMIN_URL_PROPERTY = 
"org.opencastproject.admin.ui.url";
   private static final String ENGAGE_URL_PROPERTY = 
"org.opencastproject.admin.ui.url";
   private static final String SERVER_URL_PROPERTY = 
"org.opencastproject.server.url";
...

line 121
     // Get engage UI url
     String engageBaseUrlStr = bundleContext.getProperty(ENGAGE_URL_PROPERTY);
     if (engageBaseUrl == null)
       engageBaseUrl = serverUrl;
     else
       engageBaseUrl = new URL(engageBaseUrlStr);
In a distributed Matterhorn, the button "Go to Media Module" incorrectly links 
to the admin machine, rather than the engage
---------------------------------------------------------------------------------------------------------------------------

                 Key: MH-9064
                 URL: http://opencast.jira.com/browse/MH-9064
             Project: Matterhorn Project
          Issue Type: Bug
          Components: Administrative Tools
    Affects Versions: 1.4
            Reporter: Rubén Pérez Vázquez
            Priority: Release Blocker
             Fix For: 1.4



--
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]
_______________________________________________


--

Karen Dolan
Harvard University, DCE
617-998-8439
[email protected]

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


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to