[ 
https://issues.apache.org/jira/browse/RAVE-388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13173055#comment-13173055
 ] 

Paul Sharples commented on RAVE-388:
------------------------------------

Just some additional info, for whats it worth - It seems that an entry in the 
shindig properties file at...

webapps\ROOT\WEB-INF\classes\containers\default\container.js

line 72:  "gadgets.uri.iframe.basePath" : "${CONTEXT_ROOT}/gadgets/ifr",

Is the one which eventually forms *part* of the link back to the gadget in 
rave. 

<script>rave.registerWidget(widgetsByRegionIdMap, 
..............,"iframeUrl":"http://miserver.com:5580/gadgets/ifr..........);&lt;/script>
 

However, I could not see where you can specify/change the host and port for 
this (rather than just the local path).  When I changed this value, I could 
alter the context path but shindig still prepended the 'http://host:port' part. 
(Is it possible to specify the 'host:port' somewhere else, in another property?)
                
> Bad construction of widgets' URL in Rave Portal
> -----------------------------------------------
>
>                 Key: RAVE-388
>                 URL: https://issues.apache.org/jira/browse/RAVE-388
>             Project: Rave
>          Issue Type: Bug
>          Components: rave-portal
>    Affects Versions: 0.7-INCUBATING
>         Environment: GNU/Linux, Apache Tomcat 6.x
>            Reporter: David del Pozo González
>              Labels: configuration, properties
>             Fix For: 0.7-INCUBATING
>
>
> I deployed Rave in an Apache Tomcat 6.x which uses the port 5580. I have an 
> Apache server in another machine which redirects the request from Internet to 
> the server in which is installed Rave (example from miserver.com to 
> 192.168.1.32:5580).
> So I configured the portal.properties like this:
> portal.opensocial_engine.protocol=http
> portal.opensocial_engine.root=miserver.com:80
> portal.opensocial_engine.gadget_path=/gadgets
> But when I login, the widgets are not found (404) because Rave searches in 
> the URL http://miserver.com:5580/gadgets..... instead of 
> http://miserver.com/gadgets..... despite I specified the port 80. Without 
> specifying the port (portal.opensocial_engine.root=miserver.com) I have the 
> same problem.

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


Reply via email to