You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sylvain Goulmy <sy...@gmail.com> on 2013/03/06 16:39:48 UTC

Tomcat 7 : Detect that tomcat is ready to handle requests

Hi all,

I used to detect if an application was able to handle request in Tomcat 6
by testing if the port of the connector was opened or not. Indeed this port
was only opened when all the web modules were successfully loaded and that
tomcat was really able to deliver access to the pages on these modules.

I notice now with Tomcat 7 that the connector ports (ajp and http) are
opened as soon as the process is launched.

Which method could i use now with Tomcat 7 to consider that the web modules
are successfully loaded and that i can effectively send requests ?

Thanks in advance for your support.

Best Regards.