Configuring Tomcat to use a proxy server - 6.1

Talend MDM Platform Installation Guide

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

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.