This page last changed on Aug 05, 2005 by david.soul@atlassian.com.

To make Confluence aware of your proxy, you need to start it up with a system parameter.

If you are using Tomcat, you can add this to the catalina.bat/sh file:

JAVA_OPTS=-Dhttp.proxyHost=yourProxyHostAddressHere

I found out the slow way this not always works (although it should). The Confluence setup 226a intergrated with JIRA (3.6.3) on windows did not function with the mentioned additions.

What did work was adding the options to cataline.properties.

In order for a web application to access the service layer resource, a proxy server for the Tomcat server hosting the web application must be configured.

To do this, you only have to add a few lines to a properties file. Simply add to the %{*}CATALINA_HOME%/*conf/catalina.properties file the following lines:

  • http.proxyPort=PORT(the port number that your proxy server is listening to for connections); and       
  • http.proxyHost=PROXYADDRESS(the IP address or the DNS name of your proxy server).
    Replace PORT with the port number that your proxy server is listening for connections. Replace PROXYADDRESS with either the IP address or the DNS name of your proxy server.

After making the changes restart the Tomcat Server.

Note that %CATALINA_HOME% refers to the location where you installed Tomcat.
For example, assume the Tomcat server is installed in C:\Tomcat, the proxy PORT is 80 and the PROXYADDRESS is www-proxy.company.com
Append the following lines to the file C:\Tomcat\conf\catalina.properties:
http.proxyPort=80
http.proxyHost= www-proxy.company.com

Restart the Tomcat server.

(original articel here:http://www.ericsson.com/mobilityworld/sub/open/technologies/open_development_tips/docs/odt_proxy_for_tomcat )

Posted by r.van.gijn@portinfolink.com at Aug 04, 2006 07:51
Document generated by Confluence on Mar 22, 2007 20:58