Configuring Apache Tomcat to use HTTP/TCP proxy:

How to configure Apache Tomcat.

About this task

To configure Apache Tomcat to use the HTTP/TCP proxy:

Procedure

  1. Configure the Tomcat startup script (%CATALINA_HOME%\bin\catalina.bat, if you are using Microsoft Windows; or $CATALINA_HOME/bin/catalina.sh, if you are using Linux/UNIX) by using the JAVA_OPTS variable to set HTTP/TCP proxy properties as follows:
    SET JAVA_OPTS=%JAVA_OPTS% -Dhttp.proxyHost=<Host name or IP address of HTTP/TCP proxy> -Dhttp.proxyPort=<Port number specified during instalation of Rational Integration Tester Platform Pack and/or editing registration.xml file, for example, 3128>
  2. Save and close the file.
  3. Restart Tomcat.
    Note: If you are setting up a HTTP/TCP proxy to provide support for HTTPS, the properties are https.proxyHost and https.proxyPort.

Feedback