tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pïd stèr <...@pidster.com>
Subject Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)
Date Thu, 04 Apr 2013 07:50:11 GMT
On 3 Apr 2013, at 15:36, Christopher Schultz
<chris@christopherschultz.net> wrote:

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

Tomcat6.exe is the thin windows wrapper used to start the JVM.


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

"For some reason": the reason being that it has to put them somewhere
and as they are basically a zip, it unpacks he zip and loads the app
from the unpacked dir.


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

This is probably a red herring.


>> 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).


The question should be: are you restarting Tomcat frequently already
and if so, why?


p




> - -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-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>

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


Mime
View raw message