https://issues.apache.org/bugzilla/show_bug.cgi?id=47242

--- Comment #4 from Ken Van Camp <ken.vanc...@andesaservices.com> 2010-02-18 
21:37:38 UTC ---
I have not heard any updates, but I'll give you a little more detail on my use
case: It is frequently useful to be able to test the health of a web server by
making individual requests to it, for instance if receiving reports of server
being unreachable.  We may also wish to institute automated health checks from
a script or third-party software, and it is easy to do both over an HTTP
connection because many tools exist.  Over AJP, however, this is not generally
feasible.

My Tomcat web server is not on the Internet - it sits behind an IIS proxy
server.  Users connect to the IIS proxy over HTTPS, and the proxy communicates
to my Tomcat server over AJP.  When I get reports that my web server is
unreachable via the proxy over HTTPS, my next step is to hit my Tomcat server
over HTTP and verify that's working.  If Tomcat is working properly over HTTP,
but the proxy is not responding over HTTPS, there are still a number of
possible causes, including the proxy server itself, network connectivity
between the proxy and Tomcat, and the AJP connections on Tomcat.  I currently
have no way to directly test Tomcat over AJP - no simple tools exist that I
know of.

There are many possible ways to fill this need - one way I've found useful, and
fairly reusable, in the HTTP world is a simple command line tool like wget,
which is a standard command-line utility in Linux.  It allows me to issue a
simple GET request from the command line, or a script, which may be used to
check the health of my web server, and may be automated.

Wget has a large number of command line options, but all of my use cases could
be satisfied with probably just one of them: a timeout option so the request
doesn't hang there forever if the server is unresponsive.  The only other
parameter I need to give this wget-like AJP utility is the URL I'd like to hit
on Tomcat.

Please let me know if you need any further clarification.  Thanks.
Ken

-- 
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

Reply via email to