It's all about the answers!

Ask a question

External RSS feeds in dashboard while RTC server firewalled


Mathias Hermansson (43166) | asked Feb 14 '10, 11:39 p.m.
How do you configure RTC to use a HTTP proxy server to access external content to display in the dashboard(s)?

Using:

CATALINA_OPTS="$CATALINA_OPTS -Dhttp.proxyHost=<proxyserver>
CATALINA_OPTS="$CATALINA_OPTS -Dhttp.proxyPort=<proxyport>

...does not seem to work. I'm using the packaged Tomcat as application server.

2 answers



permanent link
Curtis d'Entremont (1.3k3) | answered Feb 16 '10, 11:14 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Hi Herman,

I don't believe there's any official support for this, but the dashboard fetches its feeds using the normal java API:

HttpURLConnection connection = (HttpURLConnection)new URL(url).openConnection();

So it should be affected by any global settings like the ones you've tried, although if the proxy requires authentication, we'd probably need to add code to support this. But otherwise I can't see any reason why the params you've specified wouldn't work. Can you confirm these are the VM arguments, and not program arguments ? Otherwise, I'd recommend checking the logs, or trying it out on a simple Java class that just opens the connection, and see what the exception says.

permanent link
Mathias Hermansson (43166) | answered Feb 19 '10, 5:04 p.m.
Hi,

Yes, changing the JAVA_OPTS in server.startup did the trick.

JAVA_OPTS="-Dhttp.proxyHost=<proxyhost> -Dhttp.proxyPort=<proxyport> $JAVA_OPTS"


Thanks for the input!

Your answer


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.