Configuring Tomcat to use a proxy server - 7.0

Talend Big Data Installation Guide for Windows

EnrichVersion
7.0
EnrichProdName
Talend Big Data
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://proxy.server.com # Specify the host name or IP address of the proxy. If your proxy uses an https host name, use Dhttp.proxyHost=https.
    -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.