I'm running Tomcat 9.0.56 in a production environment on AWS Linux2. My
environment is 4 virtual hosts with about 9-10 web applications on
each. The web apps are already expanded in the webapps folder. So
there are no war file expansions involved. The first time after I reboot
the server each web app takes ~15-20 seconds to start up which is an
eternity to get the full Tomcat up. But if I stop TC and restart it,
everything starts up in just a few seconds. This same situation happens
on my local windows development machine with eclipse. After starting
eclipse, the first TC start I watch the stdout log creep along saying it
loaded webapp xyz in 18 seconds... then loads the next web app in 16
seconds, etc. But if I stop TC and restart, immediate quick load. No
errors or anything. No messages about taglib searches that I've seen.
Simply starting a web app msg, wait 18 seconds.... completed. It's now
gotten so bad in production TC taking so long to start that the heath
checks are failing, terminating the server, spinning up a new one, and
the process repeats again.
Any ideas what might be causing this?
Thanks.
Jerry
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org