tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 46676] New: Configurable test request for Watchdog thread
Date Mon, 09 Feb 2009 11:42:16 GMT

           Summary: Configurable test request for Watchdog thread
           Product: Tomcat Connectors
           Version: 1.2.27
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: mod_jk

It would be really great to have a configurable thread to test for the
availability of a node in a cluster by the watchdog thread. The ping test is
not always enough and in a production environment you don't really want
production threads to be used as a way of testing whether a node is available
or not. 

In our environment we use the web interface of modjk programatically to
stop/start (remove/add to cluster) tomcat nodes in a load balanced cluster
while they are upgraded. If the watchdog thread were extended the following
additions to the web interface would be handy:
A function to test a node using the configured request.
A function to enter a custom url test string to test the node.

Furthermore if the test url could be set dynamically without needing a config
reload it would be very handy to do dynamic differentiated testing during the
course of a day.

As a start a url and search string to match on the page would probably be
TestString='hello world'

Maybe in the future one could extend this even more to submit xml(soap,
something else) to a server and have a seperate parser/program to evaluate the
result. This is probably beyond the scope of modjk but I thought it good to
mention non the less for any interesting other ideas it might provoke.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message