How to detect Tomcat Startup Programmatically from within a Servlet?
问题 Question How can you programmatically determine when Tomcat has completed startup? I mean programmatically from within a WAR file running on Tomcat, most likely via a Servlet that can tap into container info if possible? Background The Catalina log entry that you normally see after a WAR has fully deployed would be equal to what I'm looking for. I have a constraint that makes parsing the logs undesirable. But the data that goes to Catalina.out is precisely what I'm looking for. I'm trying to