Forum Discussion
How to monitor TOMCAT AJP port
The setp up we have: HTTPS Request > Web server (APACHE)> Firewall>F5 Load Balancer> Application server (TOMCAT> UROUTER Middleware service) > Database (Oracle). I would like to configure Monitors for Application Pool (TOMCAT). This document (http://www.f5.com/pdf/deployment-guides/tomcat-dg.pdf) suggest to use this string (GET /bookstore/healtcheck.jsp HTTP/1.0\r\n\r\n). However, we do not have an option to use JSP file on Application (TOMCAT) server. Are there any otherways to Monitor TOMCAT (AJP)? Thank you.
5 Replies
- What_Lies_Bene1
Cirrostratus
The details in the guide are simply examples, simply change the request URI (from /bookstore/healtcheck.jsp) to something valid in your environment. - Mayank_125228
Nimbostratus
Thanks for your suggestion. This is an Application server and listening on TOMCAT AJP port so none of the GET command works for valid URL. i.e http://FQDN:TMOCATAJPPORT/test/test.com
- Kevin_Leicht_51
Nimbostratus
Did you ever find a way to monitor the AJP port?
- davey_hathorn_2
Nimbostratus
I'm not sure how or why the deployment guide would suggest an HTTP test for AJP. They must be assuming an HTTP server front-end, I suppose?
I think you should create a new TCP test using the ping command from the AJP specification. You would transmit and expect the following hexadecimal-formatted data:
Transmit (AJP ping): \x12\x34\x00\x01\x0A
Expected response (AJP pong): \x41\x42\x00\x01\x09
I hope this proves helpful.
- Kevin_Leicht_51
Nimbostratus
Thanks so much. I'll give that a try.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com