tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Shutdown hook for correctly unloading drivers
Date Tue, 06 Apr 2010 22:56:18 GMT
On 06/04/2010 23:38, Propes, Barry L wrote:
> Hi Mark,
> 
> I've downloaded this profiler, but it tells me it's good for 15 days....what's the provision
for having this free?

I have an OpenSource license. A full license isn't that expensive. I've
bought one a couple of times when I needed one for projects at work.

Mark

> 
> Thanks,
> 
> Barry 
> 
> -----Original Message-----
> From: Mark Thomas [mailto:markt@apache.org] 
> Sent: Friday, March 26, 2010 7:27 AM
> To: Tomcat Users List
> Subject: Re: Shutdown hook for correctly unloading drivers
> 
> On 26/03/2010 11:52, Timo Meinen wrote:
>> Hi,
>>
>> I would like to know, if there is a shutdown-hook for Tomcat 
>> available. Or what the prefered way is, to correctly unload drivers 
>> like JDBC drivers.
>>
>> Unloading the drivers seems to be important for us, because after 
>> redeploying the web appliction to often during continuous integration 
>> leads to a OutOfMemory-Errors. And although Tomcat tells me, that it 
>> forces the driver to unload, I can see a significant amount of memory 
>> allocated additionally each time the webapp is redeployed.
> 
> Tomcat has unloaded the driver. That won't be causing your memory leak.
> 
> The memory leak prevention doesn't detect every possible cause of a leak. Get yourself
a profiler (I use YourKit because they give open source committers free licenses) and follow
these steps:
> 
> http://markmail.org/message/fcbvwapt6afyndxn
> 
> Mark
> 
> 
> 
> ---------------------------------------------------------------------
> 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
> 




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


Mime
View raw message