-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Chris,

On 7/11/13 2:51 PM, Chris Cheshire wrote:
> I am working on migrating from TC6 to 7, and noticed in the log
> file the info messages about jars being needlessly scanned. Did all
> my googling and stuff and added all the jars mentioned to the
> catalina.properties file.
> 
> All the warnings are gone, but it has done absolutely nothing to
> improve startup time nor page compile time. For a setup with about
> 12 hosts, and at least one context each it is still taking about 75
> seconds to start up, give or take a couple of seconds every time,
> and it still takes about 10 seconds to compile a page.
> 
> The last couple of replies on 
> https://issues.apache.org/bugzilla/show_bug.cgi?id=51248 seem to
> imply that doing so should increase performance, but I'm not seeing
> it.
> 
> Is there really any benefit to this that I am missing? It's
> cumbersome editing this and restarting tomcat if I update a web app
> and add have to add a new dependency.

Are you using 3.0-compatible webapps? If so, try setting
metadata-complete="true" in your <web-app> element: this will stop
Tomcat from scanning the JAR files for other things (not just TLDs)
and may improve startup time.

If you want to know what Tomcat is doing during those 75-seconds, take
some thread dumps and read them.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJR4AbIAAoJEBzwKT+lPKRYRxsQAIaSx341PvI28cmC5/Atw0od
eMP0sw0c3bjj+yHe4RH14sjnqVvv5lA4OgeK/VwAx+dXoG/boWmQzQey7HKFfKKz
P0FvAgTpZHZJuMP4hOt7UYgt/iWr4R04EbqW4FxQa+zNxwMr+6Ea8FQmpFbGbCIK
pNGH54NcfPB9HKI9tb4GHs0GGK+z9KeldSjyHTKpxkm+lyqa8irca9jvJcrSD8vf
5huEsYOZh38f9ocHrSKp+jU2uuzHUjryAfb3+uYxQxpQ9ass7p7VetnzNyzxyYDw
2neBISYrW5VsM/yXgYjotVCMUd3+yj7lPjAmy3/FX2vcWmmJoNvmPW3PXLgyfyOV
btx6LMlkIe7F+xnzVA7db7qbb5Pk+hem0ZGA2NG998tIPPvOd7m+50biJjJ2py5l
eT8lIg63iPV10NqgoBf20q430Ej0cR4cATBPfl2FmLEmqTg5urnk3Vif4RH0LfyJ
jwreFzDKtltcdrDf8VAumtNWz5pg4ZZH1oPOq2pCZPNIjXxKOZUAIkgetz6iV5xA
OCPHwkSpj4ZrNm3GzcdmFvYpvMOaFCxlO83g+9qco6r2aYaJ7FlQlm1JnLK4Hx1l
ZUFagsiJR2CDfpezPJUltD/u3/Mq5sxIk4jpVW9ZKuREce/gKXVGpUaMIBbG68qe
5270Mn5gibpHG8e1OOPW
=vK1a
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to