tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jess Holle <je...@ptc.com>
Subject Slower start with Tomcat 7.0.14 and higher
Date Mon, 20 Jun 2011 19:12:04 GMT
Start up takes around 20 seconds longer with Tomcat 7.0.14 and 7.0.16 
than it did with 7.0.12.

This appears to be due to time spent scanning jars for annotations, 
etc.  We have a number of /very /large jar files in both the base 
classloader for Tomcat (which we're embedding) and in our web apps.

This raises 2 questions:

   1. Was jar scanning not working for such uses cases in 7.0.12, e.g.
      was the scanning incomplete?
   2. Did something change to make the performance of the scanning
      perform much worse in 7.0.14 /and /7.0.16 than in 7.0.12?
          * The release notes suggest that 7.0.14 had an issue and that
            it was resolved in 7.0.16, but we're seeing both 7.0.14 and
            7.0.16 being approximately equally slow to start up.

Clearly the answer to both questions could be "yes".  If only #2 is a 
"yes", then I'd really like to get this resolved and get back to the 
previous performance.  If, however, #1 explains much of the degradation, 
then I'll need to look into excluding jars from scanning, etc.

--
Jess Holle


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message