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 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:ma...@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-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 > --------------------------------------------------------------------- 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