Configuring Tomcat to Work with a Load Balancer

When Jamf Pro is behind a load balancer, you must configure the remote IP valve, proxy port, and scheme in Tomcat's server.xml file. The Load Balancing settings in Jamf Pro allow you to configure these settings without having to edit the server.xml file manually.

Requirements

To configure Load Balancing settings using Jamf Pro, Jamf Pro must be installed as the “ROOT” web app, and the user running the Tomcat process must have read/write access to Tomcat’s server.xml file.

  1. In Jamf Pro, click Settings in the top-right corner of the page.
  2. In the System Settings section, click Apache Tomcat Settings .
  3. Click Edit .
  4. Select Configure Tomcat for working behind a load balancer and click Next.
  5. Follow the onscreen instructions to configure the Load Balancing settings.
  6. Restart Tomcat for the changes to take effect. For instructions on how to restart Tomcat, see the Starting and Stopping Tomcat article.