Configuring Tomcat to use a proxy server - 6.5

Talend Real-Time Big Data Platform Installation Guide for Linux

EnrichVersion
6.5
EnrichProdName
Talend Real-Time Big Data Platform
task
Installation and Upgrade
EnrichPlatform
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend Data Preparation
Talend Data Stewardship
Talend DQ Portal
Talend ESB
Talend Identity and Access Management
Talend Installer
Talend JobServer
Talend Log Server
Talend Repository Manager
Talend Runtime
Talend SAP RFC Server
Talend Studio

Procedure

  1. Stop your Tomcat server.
  2. Edit the configuration file.
    • On Ubuntu, the configuration file is <TomcatPath>/bin/setenv.sh. If the file does not exist, create it.
    • On other Linux distributions, the configuration file is /usr/share/tomcat/conf.
  3. Add the following lines, changing the parameters to match with your configuration:
    [Tomcat Proxy Property]
    -Dhttp.proxySet=true
    -Dhttp.proxyHost=http(s)://proxy.server.com # Specify the host name or IP address of the proxy. You can use this parameter for http and https host names.
    -Dhttp.proxyPort=3128 # Specify the port number of the proxy server.
    -Dhttp.nonProxyHost=localhost|host.mydomain.com|192.168.0 # Specify a list of hosts separated by "|" that do not require access through the proxy server.
  4. Restart your Tomcat server.