Heartbeat URLs for Load Balancing
System administrators setting up a load balancer for multiple Tomcat instances can access heartbeat URLs to check connection status for each instance.
Load balancing scripts (or other custom status scripts) can access the following links under http://TomcatHost:TomcatPort/heartbeat/:
• status.jsp — returns a status message containing the number of agents that are All, Idle, Init, or Busy.
• idle.jsp — returns a page containing the number of idle connections
• busy.jsp — returns a page containing the number of busy connections
• init.jsp — returns a page containing the number of initializing connections
The pages are installed in TomcatInstallDir/webapps/heartbeat/.