It's all about the answers!

Ask a question

Whitelist doesn't seem to be working for Opensocial Gadgets


Simon Fisher (1631710) | asked Nov 04 '11, 9:33 a.m.
JAZZ DEVELOPER
Hi,

I've got CLM set up on Tomcat running on the Jazz default port (9443). I've added an opensocial gadget to the dashboard, and have hosted the gadget in a folder inside the Jazz tomcat under a separate folder (/sonar/) so that the gadget is available at https://clmwb:9443/sonar/gadget.xml

The gadget in question makes a request to a URL specified in an input box, however isn't able to hit the URL - even though I've added it to the whitelist.

I've augmented the gadget Javascript to look at the HTTP response body of the request, and it give a 500 error, as shown below:

&lt;html&gt;&lt;head&gt;&lt;title&gt;Apache Tomcat/5.5.30 - Error report&lt;/title&gt;&lt;style&gt;&lt;H1&gt;&lt;/style&gt; &lt;/head&gt;&lt;body&gt;&lt;h1&gt;HTTP Status 500 - &lt;/h1&gt;&lt;HR&gt;&lt;p&gt;<b>type</b> Status report&lt;/p&gt;&lt;p&gt;<b>message</b> <u></u>&lt;/p&gt;&lt;p&gt;<b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u>&lt;/p&gt;&lt;HR&gt;&lt;h3&gt;Apache Tomcat/5.5.30&lt;/h3&gt;&lt;/body&gt;&lt;/html&gt;

As a test I've also added the Twitter Gadget detailed here https://jazz.net/wiki/bin/view/Main/CustomDashboardWidgets and the twitter feed isn't displayed.

Aside from adding URLs to the whitelist, is there any extra configuration I need to do to Tomcat/RTC?

Be the first one to answer this question!


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.