tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Precompile JSPs, avoid thousands of servlets?
Date Thu, 15 Mar 2012 19:47:30 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tim,

On 3/15/12 3:41 PM, Christopher Schultz wrote:
> Gotcha. Please tell me you are using the Tomcat precompiler and
> not just deploying the webapp and trying to hit all of the URLs.
> Tomcat has a precompiler for (I believe) all currently-supported
> versions.

I should add that the precompiler is command-line based, and so it
could be scripted. That way, you could line-up all the supported
versions of Tomcat next to each other and just do a sanity-check JSP
compile. It would take a while to compile 2000 JSPs under every
point-release of Tomcat between 5.5.x and 7.0.x but it's better than
doing it by hand (or just praying).

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

iEYEARECAAYFAk9iR1IACgkQ9CaO5/Lv0PA4sQCePne5hpB3oW4bZb/yLq8HdpRb
w6gAnjzmIG2YV+eFtUKasDzo5MUuDpA4
=4wii
-----END PGP SIGNATURE-----

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


Mime
View raw message