Tuesday, April 14, 2009
Using Tomcat with mod_heartmonitor (part 2)
This is the second blog on the topic using Tomcat with mod_heartmonitor, here it is using HTTP instead multicast sockets... Well no one like multicast sockets but everyone likes the HTTP protocol no?
In the httpd.conf file add something like the following (to the httpd.conf the previous blog):
In the server.xml add ProxyList to the HeartbeatListener:
Have fun!!!
In the httpd.conf file add something like the following (to the httpd.conf the previous blog):
<Location /HeartbeatListener>
SetHandler hearthbeat
Order deny,allow
Deny from all
Allow from 127.0.0.1
Allow from 10.33.144.4
</Location>
In the server.xml add ProxyList to the HeartbeatListener:
<Listener className="org.apache.catalina.ha.backend.HeartbeatListener" Port="8009" ProxyList="127.0.0.1:7779" />
Have fun!!!
