24 July, 2007

JBoss Portal and Proxy Server

"News" and "Weather" pages didn't work in my JBoss Portal.
My computer located in the the local network area and I use Internet via HTTP proxy server.

Today I found a solution how to configure my JBoss Portal in order to connect it with Internet.

The simplest way is to add specific properties to the JAVA_OPTS variable.

I added one string at the beginning of run.bat file:

set JAVA_OPTS=-Dhttp.proxyHost=<Proxy Host> -Dhttp.proxyPort=<Proxy Port>

In Linux it should be:

JAVA_OPTS="-Dhttp.proxyHost=<Proxy Host> -Dhttp.proxyPort=<Proxy Port>"

You should replace values "Proxy Host" and "Proxy Port" with actual data for your network.

Now all portlets are working and I'm happy.


Sunil said...

This sorted out my issue with JBOSS portal!! Thank you for your post.

Anonymous said...

How can I configure a proxy that needs authentication?

Anonymous said...

Does anyone knows how to use JBoss Portal Bridge, need step-by-step integration