Configuring Tomcat to use a proxy server

Talend MDM Platform Installation Guide

EnrichVersion
6.1
EnrichProdName
Talend MDM Platform
task
Installation and Upgrade
EnrichPlatform
Talend Identity Management
Talend Administration Center
Talend Artifact Repository
Talend Activity Monitoring Console
Talend MDM Server
Talend Project Audit
Talend Studio
Talend ESB
Talend SAP RFC Server
Talend DQ Portal
Talend JobServer
Talend CommandLine
Talend Log Server
Talend Installer
Talend Repository Manager
Talend Runtime
Talend MDM Web UI

To configure Tomcat to connect to a proxy server, proceed as follows:

On Windows

  1. Go to <TomcatPath>/bin where <TomcatPath> is the Tomcat installation directory, and edit the file catalina.bat.

  2. Add the following lines, changing the parameters to match with your configuration:

    [Tomcat Proxy Property]
    http.proxyHost=proxy.server.com # Specify the host name or IP address of the proxy.
    server.http.proxyPort=3128 # Specify the port number of the proxy server.
    http.proxynonHost=localhost|host.mydomain.com|192.168.0 # Specify a list of hosts separated by "|" that do not require access through the proxy server.

    The proxy configuration for Tomcat is set.

On Linux

  1. If you are using Ubuntu, change directory to <TomcatPath>/bin where <TomcatPath> is the Tomcat installation directory, and edit the file catalina.sh.

    If you are using another Linux distribution, edit the file /usr/share/tomcat/conf.

  2. Add the following lines, changing the parameters to match with your configuration:

    [Tomcat Proxy Property]
    http.proxyHost=proxy.server.com # Specify the host name or IP address of the proxy.
    server.http.proxyPort=3128 # Specify the port number of the proxy server.
    http.proxynonHost=localhost|host.mydomain.com|192.168.0 # Specify a list of hosts separated by "|" that do not require access through the proxy server.

    The proxy configuration for Tomcat is set.