tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jess Holle <>
Subject Re: Slower start with Tomcat 7.0.14 and higher
Date Mon, 20 Jun 2011 21:47:47 GMT
On 6/20/2011 4:35 PM, Christopher Schultz wrote:
> Hash: SHA1
> Jess,
> On 6/20/2011 3:41 PM, Jess Holle wrote:
>> On 6/20/2011 2:16 PM, Mark Thomas wrote:
>>> It should have improved for the majority of use cases in 7.0.14 but at
>>> the price of making it worse for JARs in CATALINA_[HOME_BASE]/lib.
>>> 7.0.16 should have returned scanning of JARs in CATALINA_[HOME_BASE]/lib
>>> to the pre 7.0.14 performance levels.
>> We're embedding Tomcat in a larger server process and the base
>> classloader includes a lot more than CATALINA_BASE/lib.  Some of these
>> jars are huge -- and the intent (and effect) is that these are shared by
>> any/all web app instances.
> Couldn't you place the libraries in question at a level /higher/ than
> Tomcat's base ClassLoader? Or, do you need some of those libraries to be
> scanned for annotations but not all.
> Maybe you could move /some/ of them?
The libraries in question are actually loaded by the application 
classloader -- as is Tomcat's Bootstrap class.

And, yes, eventually I'll want to scan some of these jars for 
annotations -- but not all unless this is really fast/cheap.

Jess Holle

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message