Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 31022 invoked from network); 9 Feb 2009 11:42:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Feb 2009 11:42:47 -0000 Received: (qmail 12539 invoked by uid 500); 9 Feb 2009 11:42:41 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 12501 invoked by uid 500); 9 Feb 2009 11:42:40 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 12490 invoked by uid 99); 9 Feb 2009 11:42:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Feb 2009 03:42:40 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Feb 2009 11:42:38 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id 025B4234C4AF; Mon, 9 Feb 2009 03:42:16 -0800 (PST) From: bugzilla@apache.org To: dev@tomcat.apache.org Subject: DO NOT REPLY [Bug 46676] New: Configurable test request for Watchdog thread X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Tomcat Connectors X-Bugzilla-Component: mod_jk X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: gerhardus.geldenhuis@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dev@tomcat.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Mon, 9 Feb 2009 03:42:16 -0800 (PST) X-Virus-Checked: Checked by ClamAV on apache.org 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.geldenhuis@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-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org