Configuring Tomcat to use a proxy server - 7.0

Talend Data Integration Installation Guide for Windows

EnrichVersion
7.0
EnrichProdName
Talend Data Integration
task
Installation and Upgrade
EnrichPlatform
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend Data Preparation
Talend Data Stewardship
Talend Identity and Access Management
Talend Installer
Talend JobServer
Talend Log Server
Talend Runtime
Talend Studio

Procedure

  1. Stop your Tomcat server.
  2. Go to <TomcatPath>\bin, and edit the setenv.bat file. If the file does not exist, create it.
  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.