tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)
Date Thu, 04 Apr 2013 18:35:28 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Saumil,

On 4/3/13 2:16 PM, saumil shah wrote:
> I did change in Tomcat 6.0/Conf/server.xml unpackWARs="false" and
> autoDeploy="false"

Why? I don't believe I mentioned either of those settings...

> but the logs still complaint about the Deploying web
> applications....

Tomcat should not show an error during startup. If you are seeing
errors during startup, please post them.

> org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying
> web application archive CmcAppActions.war 
> org.apache.catalina.core.StandardContextaddApplicationListener 
> INFO: The listener "com.sun.faces.config.ConfigureListener" is 
> alreadyconfigured for this context. The duplicate definition has
> been ignored.

That's entirely an application problem: Tomcat doesn't ship with
JavaFaces. Check your web.xml: you likely have the same listener
configured twice (just like the INFO message says).

> 2.  Also for a 64 bit JVM , could I then just bump up my Tomcat
> Java params as : -Xms1024m -Xmx4096m  instead of my default as
> -Xms512m -Xmx1024m -XX:MaxPermSize=1024m instead of my default
> -XX:MaxPermSize=512m

You can set your heap to whatever you want. IMO, there's no reason to
set the heap any higher than you actually need to support your
expected usage.

- -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/

iQIcBAEBCAAGBQJRXcfvAAoJEBzwKT+lPKRYI88P/R1LW2S+whP/WZ9kaaohwrPb
2pcPVxtmw+imWftSP4W451smB1qYkBNiUVtuv3p3pg0qWEgXB+oxpn0K+bqVx1O1
KJp7NFQDsXqcu2N3wxcOUGPzg1ZbZQMpimm0sN7FcGQiTDQbWvcVbcpQEI3zez0B
eAVAPS2txuT4ew5UCsNwsNF14GgAqton+3M6zd3+xfMYMjYa7jyKm13xmgKHEZ/a
gSyHVh0zFxWyMhV0fD5LFArCXYcw11tgHO0mflXoJc9zkC8mpF+2xNMecQXe/IMK
zieto5v93REF3eivvqk6cySlWeygs35WAuvFdAMsmtCBXeLRx0aptoM6Z+PrRFLj
dlAQMCuN4irZlXyPOlroAd79R5N1NVUjkm6dLqTM9R6T+VGuechozSGM66Q34stC
dTAa6Pxe0MUAQ79IDl+J3/Kg93Znviwo0MREObOX6FqpLXpKDAzX13TypExnXUjA
JzZ/HGsm8XLK2q/inPfIlUpiCRTkZG81Ff1yq9ekQrqD57rYHYHAcRvrpVgWp5/p
WpgdxdHrHo732w6EeDKcJDzBTzhmKpfYDcmcygndKfNGShQDQBXJ5TDniGsvZXS8
cM6LtHTRV+q1VyYQlMclAQfwQYp9JGJSZIKR2lZtvLti+f0HX4Kob5ZC10MpS4g+
V5nxNrxKzluUFeMsVQO0
=c84e
-----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