Re: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14

2008-02-11 Thread Dan D.
This worked perfectly. Thank you very much for your patience and help. - Original Message - From: "Caldarale, Charles R" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, February 11, 2008 5:09 PM Subject: RE: Out of Memory Errors when upgrading fr

RE: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14

2008-02-11 Thread Caldarale, Charles R
> From: Dan D. [mailto:[EMAIL PROTECTED] > Subject: Re: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14 > > Would it work to then change the appBase to > "/home/user/html/ROOT", or would > it be better to have a secondary directory > (/home/us

Re: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14

2008-02-11 Thread Dan D.
a ROOT directory inside of it? - Original Message - From: "Caldarale, Charles R" <[EMAIL PROTECTED]> Subject: RE: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14 From: Dan D. [mailto:[EMAIL PROTECTED] Subject: Re: Out of Memory Errors when upgrading from 5.0.27 to

RE: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14

2008-02-11 Thread Caldarale, Charles R
> From: Dan D. [mailto:[EMAIL PROTECTED] > Subject: Re: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14 > > I added a ROOT directory in /home/user/html, with a META-INF > and WEB-INF directory in it. > > When starting tomcat, however, the work direc

Re: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14

2008-02-11 Thread Dan D.
t Users List" Sent: Thursday, February 07, 2008 6:09 PM Subject: RE: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14 From: Dan D. [mailto:[EMAIL PROTECTED] Subject: Re: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14 Right there is the first problem: docBase and ap

RE: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14

2008-02-07 Thread Caldarale, Charles R
> From: Dan D. [mailto:[EMAIL PROTECTED] > Subject: Re: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14 > > appBase='/home/user/html' > > Right there is the first problem: docBase and appBase must never be the same - lots of things go wrong internally

Re: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14

2008-02-07 Thread Dan D.
ilding the environment with the upgrade, so any recommendations are very welcome. Thanks, Dan - Original Message - From: "Caldarale, Charles R" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, February 07, 2008 2:46 PM Subject: RE: Out of Memory Errors

RE: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14

2008-02-07 Thread Caldarale, Charles R
> From: Dan D. [mailto:[EMAIL PROTECTED] > Subject: Re: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14 > > Customer has the following directory structure: > > /home/user/html > \_ WEB-INF/ > |\_ classes/ > |\_ lib/ > \_ images/ >

Re: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14

2008-02-07 Thread Dan D.
Most of the advice that I received on this topic was pretty much the same: Use a profiler to determine what is using the heap. I went out and got a demo copy of yourkit as Filip suggested, and ran it against a 512MB heap dump (lowered max heap to that, and used the heap that was dumped on OOME

Re: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14

2008-02-06 Thread prakash shanmugam
hai dan, If I am not wrong, try to close all the connection string and make the user defined variables as null. (Eg) 1) (Statement object)--à st.close(); 2) (String)às=null; Hope it will solve your problem to some extend, even then if your problem is not solved. Then you have to ch

Re: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14

2008-02-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan, (While others are handling your primary question, I thought I'd mention a couple of things) Dan D. wrote: | I'm currently working on upgrading our systems from using Tomcat | 5.0.27 to 6.0.14. While you're at it, you might want to: * If you'r

Re: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14

2008-02-04 Thread Filip Hanik - Dev Lists
quot; <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, February 04, 2008 5:22 PM Subject: Re: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14 what's the message after java.lang.OutOfMemoryError as there can be many different types of errors. Filip

RE: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14

2008-02-04 Thread Caldarale, Charles R
> From: Dan D. [mailto:[EMAIL PROTECTED] > Subject: Re: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14 > > [Full GC 1982271K->1982271K(1999424K), 7.5088700 secs] You obviously have a serious memory leak - the 2 GB heap is filled with live objects, so the GC doesn'

Re: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14

2008-02-04 Thread Dan D.
9424K), 8.9731420 secs] And the Full GC's continue for a little while, and eventually the process just dies off. - Original Message - From: "Filip Hanik - Dev Lists" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, February 04, 2008 5:22

Re: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14

2008-02-04 Thread Filip Hanik - Dev Lists
what's the message after java.lang.OutOfMemoryError as there can be many different types of errors. Filip Dan D. wrote: Hello all, I'm currently working on upgrading our systems from using Tomcat 5.0.27 to 6.0.14. The upgrades are not being done in place (ie, we will have both systems out

Out of Memory Errors when upgrading from 5.0.27 to 6.0.14

2008-02-04 Thread Dan D.
Hello all, I'm currently working on upgrading our systems from using Tomcat 5.0.27 to 6.0.14. The upgrades are not being done in place (ie, we will have both systems out there, and will be doing migrations to the new version). I have been able to resolve most of the issues we have run into th