Greetings, I am unable to understand how Tomcat v7.0.23 suppresses startup messages in catalina.out and Tomcat v7.0.52 displays them all in catalina.out. Also Tomcat 7.0.23 starts up much faster than Tomcat v7.0.52. Contexts are served immediately upon a v7.0.23 restart. I used the same logging.properties file from 7.0.23 into 7.0.52. I would like to avoid the context being redeployed every time v7.0.52 starts up. Here are some details:
(1) Startup Times: ------------------------ v7.0.23 starts up in a couple of minutes at most (can't see exact times as they are not captured in catalina.out) v7.0.52 starts up in 479924 ms <-- so so long! (2) Catalina.out messages: v7.0.23 catalina.out is empty. ------------------------------------ ----------v7.0.52 catalina.out snippet:----------- Apr 3, 2014 9:07:24 AM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor /opt/tomcat/delivery/apache-tomcat-7.0.52/conf/Catalina/localhost/context_1.xml Apr 3, 2014 9:07:28 AM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor /opt/tomcat/delivery/apache-tomcat-7.0.52/conf/Catalina/localhost/context_2.xml ... Apr 3, 2014 9:07:31 AM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor /opt/tomcat/delivery/apache-tomcat-7.0.52/conf/Catalina/localhost/context_136.xml ... Apr 3, 2014 9:15:04 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 479924 ms ----------end of v7.0.52 catalina.out snippet:----------- (3) Contexts after a restart: ------------------------------------ After a restart, the contexts load up right away with v7.0.23 rather than a "Service Temporarily Unavailable" as in 7.0.52. (4) My Questions are: ------------------------------ a.) How can I prevent contexts from being redeployed? I have 136 contexts under /opt/tomcat/apache/conf/Catalina/localhost/ and these are deployed everytime I restart v7.0.52 I don't think JARs are scanned in 7.0.52 for things to slow down so much. Not sure if "metadata-complete=true" will help here. Running all the FIleHandlers in FINEST mode shows nothing while contexts are being deployed. But I can see time being spent as each context is deployed. b) I want to speed up the startup times in v7.0.52 drastically. Thanks for all help! -Shanti