I had an earlier thread where I asked some questions about tomcat startup times. Essentially, by disabling the annotation checking thing, I was able to get my startup time from 700 seconds down to around 30 seconds.

Today I was doing some changes, and I moved a jar from the ${catalina.base}/lib directory to the context/WEB-INF/lib directory. After I did the move, I "touched" the context jar file to force a context reload.

Imagine my surprise when there was an error message:

"Failed to process JAR found at URL [jar:file:/srv/tomcat/lib/xxxx] for static resources to be included in context with name ...."

So what I think I'm seeing here is that not only does my web apps jar files get scanned when the context is deployed, but every jar in all of the class loader hierarchies are getting scanned as well.

Is that by design?



--
George Sexton
*MH Software, Inc.*
Voice: 303 438 9585
http://www.mhsoftware.com

Reply via email to