Bug 54621 - [PATCH] custom mod_jk availability checks
Summary: [PATCH] custom mod_jk availability checks
Status: NEW
Alias: None
Product: Tomcat Connectors
Classification: Unclassified
Component: mod_jk (show other bugs)
Version: 1.2.37
Hardware: HP Linux
: P2 enhancement (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
Keywords: PatchAvailable
: 43341 46676 54620 (view as bug list)
Depends on:
Reported: 2013-02-28 13:27 UTC by Alan F
Modified: 2019-06-16 14:27 UTC (History)
2 users (show)

Patch to add custom ping feature (12.88 KB, patch)
2013-02-28 13:27 UTC, Alan F
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alan F 2013-02-28 13:27:37 UTC
Created attachment 30004 [details]
Patch to add custom ping feature


I've added a feature to mod_jk which provides an alternative to CPING/CPONG to determine if a worker is "alive". It allows you to configure a URI to test (using a GET request), and an expected HTTP status code.


The reason for this is that we do rolling deploys across a cluster of Tomcat servers, and in the time the app is redeploying mod_jk continues to route requests to the Tomcat instance, resulting in 404's to our clients.

Is this something which would be considered for inclusion in mod_jk? Does it need more work?

Thanks and Best Regards,
Comment 1 Alan F 2013-02-28 13:45:16 UTC
*** Bug 54620 has been marked as a duplicate of this bug. ***
Comment 2 Mark Thomas 2013-02-28 14:00:50 UTC
*** Bug 46676 has been marked as a duplicate of this bug. ***
Comment 3 Rainer Jung 2014-12-31 15:13:34 UTC
*** Bug 43341 has been marked as a duplicate of this bug. ***