-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ted,

On 10/25/12 7:24 PM, Ted Smith wrote:
> After upgrading to 7, deploying a new war file often results in
> PermGen error, much more often than in 6.(with identical JVM
> settings) I have tried all those JVM settings for perm memory but
> no help.
> 
> Is there any way to reduce the chance of PermGen errors? such as
> how deployment should be done, etc?

There have been some recent changes involving JAR scanning that are
actually mandated by the Servlet 3.0 spec even though many of us
(myself included) disagree with the EG's decisions.

Anyhow, you said that you were running 7.0.29: 7.0.30 fixes a bug in
the way that JAR scanning is done which ends up wasting a ton of
memory. Consider upgrading to 7.0.30 (or, better yet, 7.0.32) to see
if that helps.
http://issues.apache.org/bugzilla/show_bug.cgi?id=53535

Next, you can disable JAR scanning entirely if you'd like for various
components. See
http://tomcat.apache.org/tomcat-7.0-doc/config/systemprops.html and
search for "jarsToSkip". I'm not sure if there is a way to skip such
JARs only for specific web applications.... I think you may only
affect the entire server.

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

iEYEARECAAYFAlCKokAACgkQ9CaO5/Lv0PAN8QCaA7OQ6UwC1L3/ibmUSy/FdO65
3n8AoJnoC0bmY8w/HEUMnnyFkRNas4W7
=/A4q
-----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