Red Hat Bugzilla – Bug 813434
[apache plugin] timeout used for the HTTP "ping" used by server and vhost avail checks is hard-coded
Last modified: 2015-02-01 18:27:52 EST
HttpURLConnection connection = (HttpURLConnection) httpURL.openConnection();
The timeouts should be configurable...
We now use the PC avail facet timeout, rather than hard-coded value of 3s, as the timeout for HTTP ping avail checks (for both Apache server Resources and VHost service Resources). I also added lots of DEBUG logging to WWWUtils.isAvailable() to aid in debugging connection failures:
master 8a75f68 (http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commitdiff;h=8a75f68)
We now also log a DEBUG message if we fail to set the read timeout on the URLConnection:
master 0565698 (http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commitdiff;h=0565698)
Add some further improvements to logging and error handling:
Bulk closing of items that are on_qa and in old RHQ releases, which are out for a long time and where the issue has not been re-opened since.