Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

External RSS feeds in dashboard while RTC server firewalled

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.

0 votes



2 answers

Permanent link
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.

0 votes


Permanent link
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!

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Feb 14 '10, 11:39 p.m.

Question was seen: 5,683 times

Last updated: Feb 14 '10, 11:39 p.m.

Confirmation Cancel Confirm