Re: Hi Guys ... can some one tell what is hashcode in java

2010-09-15 Thread Laird Nelson
On Wed, Sep 15, 2010 at 12:42 PM, Pankaj D wrote: > What is DYH Do Your Homework. Best, Laird

Re: Still unable to get a heap dump from Tomcat running on Windows as a service

2010-02-04 Thread Laird Nelson
for all your help. Best, Laird On Wed, Feb 3, 2010 at 4:53 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Laird Nelson [mailto:ljnel...@gmail.com] > > Subject: Re: Still unable to get a heap dump from Tomcat running on > > Windows as a service &g

Re: Still unable to get a heap dump from Tomcat running on Windows as a service

2010-02-03 Thread Laird Nelson
On Wed, Feb 3, 2010 at 9:28 PM, Laird Nelson wrote: > Another data point: people have told me to download the Windows .zip > distribution of Tomcat 6.0.24. I want to point out that this is not linked > anywhere on the Tomcat download page. The *base* distribution is of > course lin

Re: Still unable to get a heap dump from Tomcat running on Windows as a service

2010-02-03 Thread Laird Nelson
Another data point: people have told me to download the Windows .zip distribution of Tomcat 6.0.24. I want to point out that this is not linked anywhere on the Tomcat download page. The *base* distribution is of course linked, and the .exe self-extracting-installer package, but I had to manually

Re: Still unable to get a heap dump from Tomcat running on Windows as a service

2010-02-03 Thread Laird Nelson
Quick update, because I know you all care: turns out no matter what you do through the GUI console, the service still runs as the system account (!). Might be worth filing as a bug? I dimly recall reading something about this somewhere in the Tomcat documentation. Next up: Tomcat reinstall, but t

Re: Still unable to get a heap dump from Tomcat running on Windows as a service

2010-02-02 Thread Laird Nelson
Thanks for sticking with me, guys. No luck so far. I will begin the laborious process of requesting a reinstall. :-( (Incidentally, no service logs either, anywhere; this is all very bizarre.) L On Tue, Feb 2, 2010 at 7:01 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > Fro

Re: Still unable to get a heap dump from Tomcat running on Windows as a service

2010-02-02 Thread Laird Nelson
On Tue, Feb 2, 2010 at 4:41 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > That's not a user account, that's the system account, with pretty much no > privileges to do anything. > ...which is pretty much how I like it. :-) I'm not a Windows guy, so bear with me for a moment: si

Re: Still unable to get a heap dump from Tomcat running on Windows as a service

2010-02-02 Thread Laird Nelson
On Tue, Feb 2, 2010 at 4:40 PM, Sateesh Narahari wrote: > The default user account 'System' has some weird permission state on > Windows, so try the admin user. OK; leery of running my Tomcat as the administrator, but am not up to speed on which Windows users would be better choices. I natural

Re: Still unable to get a heap dump from Tomcat running on Windows as a service

2010-02-02 Thread Laird Nelson
On Tue, Feb 2, 2010 at 4:19 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Laird Nelson [mailto:ljnel...@gmail.com] > > Subject: Still unable to get a heap dump from Tomcat running on Windows > > as a service > > > > I am still unabl

Still unable to get a heap dump from Tomcat running on Windows as a service

2010-02-02 Thread Laird Nelson
I am still unable to get Tomcat to dump heap when it encounters an OutOfMemoryError. My StackOverflow topic sums up what I've tried so far: http://stackoverflow.com/questions/2172220/can-i-get-tomcat-running-as-a-service-to-dump-heap I'm using the graphical program that comes up when you select "

Re: Getting a heap dump on OOME from Tomcat-as-a-service on Windows?

2010-02-01 Thread Laird Nelson
On Mon, Feb 1, 2010 at 5:41 PM, Sateesh Narahari wrote: > When you view service properties, does it run under system account or did > you give it a specific account to run under. LocalService I believe. I didn't give it a specific account to run under. Best, Laird

Re: Getting a heap dump on OOME from Tomcat-as-a-service on Windows?

2010-02-01 Thread Laird Nelson
On Mon, Feb 1, 2010 at 1:35 PM, Laird Nelson wrote: > On Mon, Feb 1, 2010 at 1:32 PM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > >> Have you tried the -XX:HeapDumpPath option as well? >> > > Yes, with no results. > > >> I suspect

Re: Getting a heap dump on OOME from Tomcat-as-a-service on Windows?

2010-02-01 Thread Laird Nelson
On Mon, Feb 1, 2010 at 1:32 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > Have you tried the -XX:HeapDumpPath option as well? > Yes, with no results. > I suspect that your service doesn't have privileges to write to the cwd > of the java process, so it doesn't write to the fi

Getting a heap dump on OOME from Tomcat-as-a-service on Windows?

2010-01-31 Thread Laird Nelson
I have Tomcat 6 running as a service on Windows 2003. I go to the Tomcat service monitor, choose configure, choose the Java tab, and add: -XX:+HeapDumpOnOutOfMemoryError ...as one of the Java options. When the OutOfMemoryError that I'm concerned about hits, I look around on the disk to find an