https://issues.apache.org/bugzilla/show_bug.cgi?id=46676
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 AssignedTo: dev@tomcat.apache.org ReportedBy: gerhardus.geldenh...@gmail.com 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 enough. Eg TestUrl='localhost:/myapp/deployinfo.jsp' 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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org