On 3 Apr 2013, at 19:16, saumil shah <saumil...@hotmail.com> wrote:

> Thanks again Chris ....
> I did change in Tomcat 6.0/Conf/server.xml
> unpackWARs="false" and autoDeploy="false"
> but the logs still complaint about the Deploying web applications....
> org.apache.catalina.startup.HostConfig deployWARINFO: Deploying web 
> application archive 
> CmcAppActions.warorg.apache.catalina.core.StandardContextaddApplicationListenerINFO:
>  The listener "com.sun.faces.config.ConfigureListener" is alreadyconfigured 
> for this context. The duplicate definition has been ignored.
> 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

Yes, but first please tell us where the original settings came from.

512M seems a little high to me for MaxPermSize.

You should enable JMX on this Tomcat instance and use VisualVM (or
JConsole), which you can find in the JDK bin directory to inspect the
process memory use.


p




>
> Appreciate all your help.
> Thanks again.
>> Date: Wed, 3 Apr 2013 10:35:50 -0400
>> From: ch...@christopherschultz.net
>> To: users@tomcat.apache.org
>> CC: saumil...@hotmail.com
>> Subject: Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA256
>>
>> Saumil,
>>
>> Please try to keep discussions on the mailing list to everyone can
>> benefit.
>>
>> On 4/2/13 6:48 PM, saumil shah wrote:
>>> For some reason ...I do not see Java process in Task Manager in
>>> Windows, just Tomcat6 process. I am assuming killing Tomcat6 kills
>>> JVM internally...is this correct assumption ?
>>
>> I'm not sure what the Tomca6 process is, but if you kill the service
>> (and nothing goes wrong), the JVM should terminate.
>>
>>> Also, I am NOT re-deploying the application WAR's for some
>>> reason...when I deployed the application using Tomcat Manager ...
>>> for some reason it put WAR in the WebApps folder and then exploded
>>> them.
>>
>> That is entirely expected behavior. If you don't want your webapps to
>> be deployed on startup, you'll need to set deployOnStartup="false" in
>> your <Host>.
>>
>> If you set deplyOnStartup="false", you'll have to use the Manager
>> webapp to deploy your webapps after Tomcat has started.
>>
>>> Now it seems every time I start Tomcat , it tries to Re-deploy the
>>> application because it finds .WAR there ?
>>
>> I wouldn't use the term "re-deploy" since the webapp isn't running
>> prior to that. I usually use the term re-deploy to mean that the
>> webapp is taken out of service in a running Tomcat, then a new webapp
>> is deployed in its place (usually on the same context path).
>>
>> - -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/
>>
>> iQIcBAEBCAAGBQJRXD5GAAoJEBzwKT+lPKRYq0gQAJZ9E4OSrYj+ypDTmHUV5ADa
>> GdUbo/TYfyZNPFjmHzl/GYeZlYTirs24dA95VacIiAdJhtZ2g0J44Oc6PnT9pqmR
>> RxcGtqNF+kN+AV5i0Lf4ewAZE8MQBvWmBHumqt75ETEsYYAlEv0NaVza9EcM7DNi
>> RTpR9MrD4QUS7jhrKsyvQiagL7hF8xJgDij9CY5Bc5j6wQjuh6nttW4JtJXOTxb1
>> iiMbQqndmX0RkZHY3Dw3BJOuFU/NjAmSGB5pfmDBrA+z6jasH4SZd0KOy3DKcSgX
>> EV8ja57U161yJMdH7Bt7ap9C2mpAaoFKMvANaPYCy29oRcUgQ3qMB7lofRCy2NZ5
>> JDWDnVaKa4UdXoCK4pUvt/noo4EZwUhHI9y8IAtCOC+5xgEDA65FPeTnXBBWYqyu
>> uASODSRe4DdQYfLJjMw6rWmGFCqM+aPICeZKcXlC+UR8eqp3pmoLL1I5Y15xth2y
>> mW9dA/qVAUNLUXlW1oWw7b58UAyCi7nVSASC4p3LcQ1K+cnQ8j8/VB0GtMMgA2gL
>> Bpk7RR19NlzeUXmK//AN/BthZY6oK09qz6n+yNTi2tiV4T2XCjlRO4dsLOoW73nP
>> FPTMSFfzYaeBKkn0pHsORZLCtWz8bZ060dYrfKkKLSKhk11CzwGNeP4A5So9xa+J
>> ncBMVYTGyKnanbDE3Fj9
>> =dZYT
>> -----END PGP SIGNATURE-----
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>

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

Reply via email to