You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rave.apache.org by "Ankur Goyal (JIRA)" <ji...@apache.org> on 2011/09/07 00:35:11 UTC

[jira] [Created] (RAVE-253) Bug while change made to url property in portal.properties file

Bug while change made to url property in portal.properties file
---------------------------------------------------------------

                 Key: RAVE-253
                 URL: https://issues.apache.org/jira/browse/RAVE-253
             Project: Rave
          Issue Type: Bug
          Components: rave-portal
            Reporter: Ankur Goyal


I was just looking into the widgets rendering part. I did the following:

=> changed the portal.properties file property portal.opensocial_engine.root=156.56.179.245:8080 (my ip address)

=> mvn clean install

=> ran on my pc. works fine.

=> ran on some other pc using my ip address, widgets are not being displayed as the url that is being searched is localhost.

Please see the attached file (screenshot) to get a clear picture of the problem.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (RAVE-253) Bug while change made to url property in portal.properties file

Posted by "Ankur Goyal (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/RAVE-253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ankur Goyal updated RAVE-253:
-----------------------------

    Attachment: Screen shot 2011-09-06 at 4.45.02 PM.png

> Bug while change made to url property in portal.properties file
> ---------------------------------------------------------------
>
>                 Key: RAVE-253
>                 URL: https://issues.apache.org/jira/browse/RAVE-253
>             Project: Rave
>          Issue Type: Bug
>          Components: rave-portal
>            Reporter: Ankur Goyal
>         Attachments: Screen shot 2011-09-06 at 4.45.02 PM.png
>
>
> I was just looking into the widgets rendering part. I did the following:
> => changed the portal.properties file property portal.opensocial_engine.root=156.56.179.245:8080 (my ip address)
> => mvn clean install
> => ran on my pc. works fine.
> => ran on some other pc using my ip address, widgets are not being displayed as the url that is being searched is localhost.
> Please see the attached file (screenshot) to get a clear picture of the problem.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (RAVE-253) Bug while change made to url property in portal.properties file

Posted by "Jasha Joachimsthal (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/RAVE-253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13103567#comment-13103567 ] 

Jasha Joachimsthal commented on RAVE-253:
-----------------------------------------

If you run it in cargo you set the shindig.host property in the pom. 
If you don't do that but try to set it in your custom shindig.properties it will fail because the ConfigurablePropertiesModule extends PropertiesModule which has already injected the values.
Configuring the container.js is also a delicate issue because not all values are replaced at the same time. 
I'll clean up a bit and then re-describe how to configure the different host. 

> Bug while change made to url property in portal.properties file
> ---------------------------------------------------------------
>
>                 Key: RAVE-253
>                 URL: https://issues.apache.org/jira/browse/RAVE-253
>             Project: Rave
>          Issue Type: Bug
>          Components: rave-portal
>            Reporter: Ankur Goyal
>            Assignee: Jasha Joachimsthal
>         Attachments: Screen shot 2011-09-06 at 4.45.02 PM.png
>
>
> I was just looking into the widgets rendering part. I did the following:
> => changed the portal.properties file property portal.opensocial_engine.root=156.56.179.245:8080 (my ip address)
> => mvn clean install
> => ran on my pc. works fine.
> => ran on some other pc using my ip address, widgets are not being displayed as the url that is being searched is localhost.
> Please see the attached file (screenshot) to get a clear picture of the problem.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (RAVE-253) Bug while change made to url property in portal.properties file

Posted by "Jasha Joachimsthal (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/RAVE-253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jasha Joachimsthal resolved RAVE-253.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.4-INCUBATING

Changes:
Removed all "default" system properties. IF someone needs different values then they should be set.
Added properties for shindig.host, shindig.port and shindig.contextroot to the default Shindig properties
Merged Shindig Guice & Shindig Spring properties
Updated documentation: http://incubator.apache.org/rave/documentation/host-configuration.html

Note: The default container.js file contains multiple hard coded values with 'http' or 'localhost'. It's also unclear in which order placeholders in this file are replaced by actual values.



> Bug while change made to url property in portal.properties file
> ---------------------------------------------------------------
>
>                 Key: RAVE-253
>                 URL: https://issues.apache.org/jira/browse/RAVE-253
>             Project: Rave
>          Issue Type: Bug
>          Components: rave-portal
>            Reporter: Ankur Goyal
>            Assignee: Jasha Joachimsthal
>             Fix For: 0.4-INCUBATING
>
>         Attachments: Screen shot 2011-09-06 at 4.45.02 PM.png
>
>
> I was just looking into the widgets rendering part. I did the following:
> => changed the portal.properties file property portal.opensocial_engine.root=156.56.179.245:8080 (my ip address)
> => mvn clean install
> => ran on my pc. works fine.
> => ran on some other pc using my ip address, widgets are not being displayed as the url that is being searched is localhost.
> Please see the attached file (screenshot) to get a clear picture of the problem.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (RAVE-253) Bug while change made to url property in portal.properties file

Posted by "Jasha Joachimsthal (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/RAVE-253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jasha Joachimsthal reassigned RAVE-253:
---------------------------------------

    Assignee: Jasha Joachimsthal

> Bug while change made to url property in portal.properties file
> ---------------------------------------------------------------
>
>                 Key: RAVE-253
>                 URL: https://issues.apache.org/jira/browse/RAVE-253
>             Project: Rave
>          Issue Type: Bug
>          Components: rave-portal
>            Reporter: Ankur Goyal
>            Assignee: Jasha Joachimsthal
>         Attachments: Screen shot 2011-09-06 at 4.45.02 PM.png
>
>
> I was just looking into the widgets rendering part. I did the following:
> => changed the portal.properties file property portal.opensocial_engine.root=156.56.179.245:8080 (my ip address)
> => mvn clean install
> => ran on my pc. works fine.
> => ran on some other pc using my ip address, widgets are not being displayed as the url that is being searched is localhost.
> Please see the attached file (screenshot) to get a clear picture of the problem.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (RAVE-253) Bug while change made to url property in portal.properties file

Posted by "Ankur Goyal (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/RAVE-253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13102943#comment-13102943 ] 

Ankur Goyal commented on RAVE-253:
----------------------------------

We think it was working because after following the content on the link http://incubator.apache.org/rave/documentation/host-configuration.html (as suggested in the previous comment) we tested it, it worked fine.

> Bug while change made to url property in portal.properties file
> ---------------------------------------------------------------
>
>                 Key: RAVE-253
>                 URL: https://issues.apache.org/jira/browse/RAVE-253
>             Project: Rave
>          Issue Type: Bug
>          Components: rave-portal
>            Reporter: Ankur Goyal
>            Assignee: Jasha Joachimsthal
>         Attachments: Screen shot 2011-09-06 at 4.45.02 PM.png
>
>
> I was just looking into the widgets rendering part. I did the following:
> => changed the portal.properties file property portal.opensocial_engine.root=156.56.179.245:8080 (my ip address)
> => mvn clean install
> => ran on my pc. works fine.
> => ran on some other pc using my ip address, widgets are not being displayed as the url that is being searched is localhost.
> Please see the attached file (screenshot) to get a clear picture of the problem.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (RAVE-253) Bug while change made to url property in portal.properties file

Posted by "Jasha Joachimsthal (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/RAVE-253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13102720#comment-13102720 ] 

Jasha Joachimsthal commented on RAVE-253:
-----------------------------------------

I have similar behaviour after deploying Rave on a server. On my local machine with cargo it works fine even if the browser is on a different machine.
When I deploy Rave on a server I see calls to localhost for /gadgets/ifr. Strange enough the protocol has changed to the https I configured but the hostname hasn't. To be continued.

> Bug while change made to url property in portal.properties file
> ---------------------------------------------------------------
>
>                 Key: RAVE-253
>                 URL: https://issues.apache.org/jira/browse/RAVE-253
>             Project: Rave
>          Issue Type: Bug
>          Components: rave-portal
>            Reporter: Ankur Goyal
>            Assignee: Jasha Joachimsthal
>         Attachments: Screen shot 2011-09-06 at 4.45.02 PM.png
>
>
> I was just looking into the widgets rendering part. I did the following:
> => changed the portal.properties file property portal.opensocial_engine.root=156.56.179.245:8080 (my ip address)
> => mvn clean install
> => ran on my pc. works fine.
> => ran on some other pc using my ip address, widgets are not being displayed as the url that is being searched is localhost.
> Please see the attached file (screenshot) to get a clear picture of the problem.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (RAVE-253) Bug while change made to url property in portal.properties file

Posted by "Jasha Joachimsthal (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/RAVE-253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13098632#comment-13098632 ] 

Jasha Joachimsthal commented on RAVE-253:
-----------------------------------------

did you also change the hostname values in the opensocial container itself? The portal may point to the different IP address but if you use the default setup of Shindig, the opensocial container will still use localhost. See [1] for the full configuration.

[1] http://incubator.apache.org/rave/documentation/host-configuration.html

> Bug while change made to url property in portal.properties file
> ---------------------------------------------------------------
>
>                 Key: RAVE-253
>                 URL: https://issues.apache.org/jira/browse/RAVE-253
>             Project: Rave
>          Issue Type: Bug
>          Components: rave-portal
>            Reporter: Ankur Goyal
>         Attachments: Screen shot 2011-09-06 at 4.45.02 PM.png
>
>
> I was just looking into the widgets rendering part. I did the following:
> => changed the portal.properties file property portal.opensocial_engine.root=156.56.179.245:8080 (my ip address)
> => mvn clean install
> => ran on my pc. works fine.
> => ran on some other pc using my ip address, widgets are not being displayed as the url that is being searched is localhost.
> Please see the attached file (screenshot) to get a clear picture of the problem.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira