Ok, thanks. Having a bit of an issue early on, since I'm notusing an IDE of any
kind to embed it.
-Original Message-
From: Mark Thomas [mailto:ma...@apache.org]
Sent: Tuesday, April 06, 2010 5:56 PM
To: Tomcat Users List
Subject: Re: Shutdown hook for correctly unloading drivers
e a couple of times when I needed one for projects at work.
Mark
>
> Thanks,
>
> Barry
>
> -Original Message-
> From: Mark Thomas [mailto:ma...@apache.org]
> Sent: Friday, March 26, 2010 7:27 AM
> To: Tomcat Users List
> Subject: Re: Shutdown hook for corr
t: 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
> From: Steffen Heil [mailto:li...@steffen-heil.de]
> Subject: AW: Shutdown hook for correctly unloading drivers
>
> However, there are web applications that have own threads
> (file reaper, connection pool, etc.).
It's the application's responsibility to manage those threads, and shut them
down
> From: Steffen Heil [mailto:li...@steffen-heil.de]
> Subject: AW: Shutdown hook for correctly unloading drivers
>
> This does not hold, as soon as Threads are involved, right?
I don't understand your comment; Thread objects always exist, and what do you
think that has to do with unloading class
> From: Steffen Heil [mailto:li...@steffen-heil.de]
> Subject: AW: Shutdown hook for correctly unloading drivers
>
> How does tomcat unload classes?
It doesn't, at least not directly. Tomcat simply eliminates all references to
the classes; the actual unloading is done by GC at some point in the
On 26/03/2010 12:35, Timo Meinen wrote:
> Hi Mark,
>
> thank you for the answer. I do have a YourKit license for our open
> source framework, so I will profile my webapp.
>
>> Tomcat has unloaded the driver. That won't be causing your memory leak.
> Does this mean, that the additional memory whic
Hi Mark,
thank you for the answer. I do have a YourKit license for our open
source framework, so I will profile my webapp.
> Tomcat has unloaded the driver. That won't be causing your memory leak.
Does this mean, that the additional memory which is allocated after a
redeploy cannot be the mysql-d
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 app