Re: After manager says that there was a leak, how to use a profiler?

2010-11-19 Thread Mark Thomas
On 19/11/2010 03:58, Brian wrote: Hi Chris, I already took off the JARs from the shared/lib directory. So that is not an issue now. I have just stopped my apps, and this is what I have found in my log: Nov 18, 2010 10:22:57 PM org.apache.catalina.core.StandardWrapper unload INFO:

RE: After manager says that there was a leak, how to use a profiler?

2010-11-19 Thread Brian
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Friday, November 19, 2010 04:45 AM To: Tomcat Users List Subject: Re: After manager says that there was a leak, how to use a profiler? On 19/11/2010 03:58, Brian wrote: Hi Chris, I already took off the

RE: After manager says that there was a leak, how to use a profiler?

2010-11-18 Thread Brian
Hi Chris, I already took off the JARs from the shared/lib directory. So that is not an issue now. I have just stopped my apps, and this is what I have found in my log: Nov 18, 2010 10:22:57 PM org.apache.catalina.core.StandardWrapper unload INFO: Waiting for 1 instance(s) to be deallocated Nov

RE: After manager says that there was a leak, how to use a profiler?

2010-11-17 Thread Brian
I'm doing it, thanks! -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Tuesday, November 16, 2010 04:27 PM To: Tomcat Users List Subject: RE: After manager says that there was a leak, how to use a profiler? From: Brian

RE: After manager says that there was a leak, how to use a profiler?

2010-11-17 Thread Caldarale, Charles R
From: Brian [mailto:bbprefix-m...@yahoo.com] Subject: FW: After manager says that there was a leak, how to use a profiler? I moved my JARs from the .../tomcat/shared/lib directory to the web-inf/lib directory in the app itself It better be WEB-INF/lib; case matters (even on Windows). it

RE: After manager says that there was a leak, how to use a profiler?

2010-11-17 Thread Brian
Hi Chuck, -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Wednesday, November 17, 2010 04:02 PM To: Tomcat Users List Subject: RE: After manager says that there was a leak, how to use a profiler? From: Brian [mailto:bbprefix-m...@yahoo.com]

Re: After manager says that there was a leak, how to use a profiler?

2010-11-16 Thread Mark Thomas
On 16/11/2010 04:12, Brian wrote: Maybe my question sounded too vague and repetitive. What I meant is something like this Is the a class loader (or something like that) than I should start analyzing? I mean, is there a route I should follow in order to see which objects are stucked? If the

RE: After manager says that there was a leak, how to use a profiler?

2010-11-16 Thread Brian
Hi Mark, I read your information, which I will quote here: 1. Find an app that you can't reload without OOME 2. Get a profiler - I like Yourkit Full disclosure: they give ASF committers a free copy 3. Reload you app once 4. Use the profiler to look for instances of WebappClassLoader 5. Look

Re: After manager says that there was a leak, how to use a profiler?

2010-11-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian, On 11/16/2010 10:42 AM, Brian wrote: If I choose the report of Paths from GC roots from it, I see LOTS of items! And all of them have the loader of indication. All the items are classes programmed by me, so I guess I'm guilty, and not the

RE: After manager says that there was a leak, how to use a profiler?

2010-11-16 Thread Brian
All my JARs are in the shared directory that Tomcat has. I don't upload them in the WAR everytime I deploye again my app. Is that a problem? I have just read somewhere do it could actually be a problem, that when they are shared among the apps, bad things happen. I have basically two apps running,

RE: After manager says that there was a leak, how to use a profiler?

2010-11-16 Thread Caldarale, Charles R
From: Brian [mailto:bbprefix-m...@yahoo.com] Subject: RE: After manager says that there was a leak, how to use a profiler? All my JARs are in the shared directory that Tomcat has. Is that a problem? Yes, that's a problem. You very likely have some references in the shared classes that

RE: After manager says that there was a leak, how to use a profiler?

2010-11-16 Thread Brian
Thanks a lot for the info Konstantin. I will read it asap! -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Monday, November 15, 2010 11:08 PM To: Tomcat Users List Subject: Re: After manager says that there was a leak, how to use a profiler?

Re: After manager says that there was a leak, how to use a profiler?

2010-11-15 Thread Konstantin Kolinko
2010/11/16 Brian bbprefix-m...@yahoo.com: Hi, After the Tomcat manager warns that there was a leak with one app what was stopped or undeployed, how do I use the profiler to investigate that? I mean, that is the starting point to analize that? What should I look for? E.g., using Eclipse MAT,

RE: After manager says that there was a leak, how to use a profiler?

2010-11-15 Thread Brian
Maybe my question sounded too vague and repetitive. What I meant is something like this Is the a class loader (or something like that) than I should start analyzing? I mean, is there a route I should follow in order to see which objects are stucked? If the Tomcat Manager knows that something got