Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-10 Thread Bradley Wagner
; From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com] > > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app > > in Tomcat 5.5 on Ubuntu 7 > > > > The *only option* that did not cause the startup process to > > halt indefinitely on startu

RE: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-10 Thread Caldarale, Charles R
> From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com] > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app > in Tomcat 5.5 on Ubuntu 7 > > The *only option* that did not cause the startup process to > halt indefinitely on startup was the Serial G

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-10 Thread Bradley Wagner
Charles R < chuck.caldar...@unisys.com> wrote: > > From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com] > > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app > > in Tomcat 5.5 on Ubuntu 7 > > > > And again in a new place on subseque

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-07 Thread lmk
rs-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > -- View this message in context: http://www.nabble.com/100--usage-and-hanging-on-startup-of-Spring-Hibernate-app-in-Tomcat--5.5-on-Ubuntu-7-tp25194606p25331069.html Sent from the Tomcat - User ma

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-03 Thread Mark Thomas
Bradley Wagner wrote: > Ok, I'll try that next. Two things: > - Did some searching, but couldn't find how to determine the default GC > method for my Java version http://blogs.sun.com/watt/resource/jvm-options-list.html is a useful reference > - Would you recommend I move this problem elsewhere,

RE: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-03 Thread Caldarale, Charles R
> From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com] > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app > in Tomcat 5.5 on Ubuntu 7 > > - Did some searching, but couldn't find how to determine the default GC > method for my Java version You a

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-03 Thread Bradley Wagner
ks, Bradley On Thu, Sep 3, 2009 at 4:24 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com] > > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app > > in Tomcat 5.5 on Ubunt

RE: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-03 Thread Caldarale, Charles R
> From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com] > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app > in Tomcat 5.5 on Ubuntu 7 > > And again in a new place on subsequent attempt. There's nothing unusual that I can see in the traces, so it

RE: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-03 Thread Caldarale, Charles R
> From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com] > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app > in Tomcat 5.5 on Ubuntu 7 > > What's odd is that the PermGen space appears to be totally used > up at 26MB and not expanding, unle

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-03 Thread Bradley Wagner
m> wrote: > > From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com] > > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app > > in Tomcat 5.5 on Ubuntu 7 > > > > Hmm, I'm going to try again with more explicit PermGen space as it > &g

RE: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-03 Thread Caldarale, Charles R
> From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com] > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app > in Tomcat 5.5 on Ubuntu 7 > > Hmm, I'm going to try again with more explicit PermGen space as it > seems to be out of it. Try it, but

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-03 Thread Bradley Wagner
annonhill.com] >> > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app >> > in Tomcat 5.5 on Ubuntu 7 >> > >> > Maybe it can't connect when it's hung. >> >> Quite possible; GC stops all threads, so the JMX agent may well be >&

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-03 Thread Bradley Wagner
gt; From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com] > > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app > > in Tomcat 5.5 on Ubuntu 7 > > > > Maybe it can't connect when it's hung. > > Quite possible; GC stops all threads, so

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-03 Thread Bradley Wagner
, 2009 at 1:49 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com] > > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app > > in Tomcat 5.5 on Ubuntu 7 > > > > Maybe

RE: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-03 Thread Caldarale, Charles R
> From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com] > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app > in Tomcat 5.5 on Ubuntu 7 > > Maybe it can't connect when it's hung. Quite possible; GC stops all threads, so the JMX agent may well

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-03 Thread Bradley Wagner
2009 at 11:17 AM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com] > > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app > > in Tomcat 5.5 on Ubuntu 7 > > > > Hmm, so JCo

RE: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-03 Thread Caldarale, Charles R
> From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com] > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app > in Tomcat 5.5 on Ubuntu 7 > > Hmm, so JConsole appears to need a GUI which I don't have in this case. You can run it remotely by set

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-03 Thread Bradley Wagner
les R < chuck.caldar...@unisys.com> wrote: > > From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com] > > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app > > in Tomcat 5.5 on Ubuntu 7 > > > > Probably unrelated, but... when setting JAVA

RE: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-03 Thread Caldarale, Charles R
> From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com] > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app > in Tomcat 5.5 on Ubuntu 7 > > Probably unrelated, but... when setting JAVA_HOME for Tomcat in Ubuntu > what's the difference between:

RE: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-03 Thread Caldarale, Charles R
> From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com] > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app > in Tomcat 5.5 on Ubuntu 7 > > Is JConsole something that comes bundled with the JRE or JDK or a > separate application. It's part of t

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-03 Thread Mark Thomas
Bradley Wagner wrote: > Probably unrelated, but... when setting JAVA_HOME for Tomcat in Ubuntu > what's the difference between: > - /usr/lib/jvm/java-6-sun, and > - /usr/lib/jvm/java-6-sun/jre > > It doesn't seem to have any effect on my problem, but does it make a > difference? I believe I have t

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-03 Thread Bradley Wagner
.@unisys.com> wrote: > > > > > > > > From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com] > > > > > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate > > app > > > > > in Tomcat 5.5 on Ubuntu 7 > &

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-03 Thread Bradley Wagner
wrote: > > From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com] > > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app > > in Tomcat 5.5 on Ubuntu 7 > > > > java version "1.6.0_14" > > Java(TM) SE Runtime Environment (build 1.6.0_14

RE: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-03 Thread Caldarale, Charles R
> From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com] > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app > in Tomcat 5.5 on Ubuntu 7 > > java version "1.6.0_14" > Java(TM) SE Runtime Environment (build 1.6.0_14-b08) > Java HotSpot(TM) S

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-03 Thread Ziggy
at 3:13 PM, Caldarale, Charles R < > > chuck.caldar...@unisys.com> wrote: > > > > > > From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com] > > > > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate > app > > > > in Tomca

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-03 Thread ramzi khlil
3:13 PM, Caldarale, Charles R < > chuck.caldar...@unisys.com> wrote: > > > > From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com] > > > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app > > > in Tomcat 5.5 on Ubuntu 7 >

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-03 Thread Bradley Wagner
> > > > From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com] > > > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app > > > in Tomcat 5.5 on Ubuntu 7 > > > > > > are you saying that the JRE I'm getting when doing "apt-get

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-03 Thread Ziggy
nnonhill.com] > > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app > > in Tomcat 5.5 on Ubuntu 7 > > > > are you saying that the JRE I'm getting when doing "apt-get > > install sun-java6-jdk" is not actually a Sun certified version &g

RE: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-03 Thread Caldarale, Charles R
> From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com] > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app > in Tomcat 5.5 on Ubuntu 7 > > are you saying that the JRE I'm getting when doing "apt-get > install sun-java6-jdk" is not actua

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-03 Thread Bradley Wagner
Sorry, are you saying that the JRE I'm getting when doing "apt-get install sun-java6-jdk" is not actually a Sun certified version and that I should be downloading it directly from their website instead? On Thu, Sep 3, 2009 at 3:50 AM, Ziggy wrote: > I noticed that you mention that you are using

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-03 Thread Ziggy
I noticed that you mention that you are using the community version of the Java runtime environment which i think is what you get when you do an apt-get. I have never honestly been able to use this version of the JVM successfully. I had a similar problem recently where i was running an application

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-02 Thread Mark Thomas
Bradley Wagner wrote: > Any thoughts on which GC parameters I should change. See what the default collector is for your platform and switch to s different one. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.or

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-02 Thread Bradley Wagner
cs] [Times: user=0.01 sys=0.01, real=0.01 secs] [GC On Wed, Sep 2, 2009 at 4:27 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com] > > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate ap

RE: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-02 Thread Caldarale, Charles R
> From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com] > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app > in Tomcat 5.5 on Ubuntu 7 > > I've also attached the catalina.out log which shows the GC > basically freezing. Unfortunately, that lo

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-02 Thread Bradley Wagner
Thanks for the clarification on the initial heap size. I've set both Xms and Xmx to 512m for the following test. I was able to reproduce the problem immediately with: - Xms and Xmx both set to 512m - Java 1.6 with no JPDA running - XX:+PrintGCDetails enabled I've attached the thread dump which I t

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 9/1/2009 11:18 AM, Peter Crowther wrote: > 2009/9/1 Christopher Schultz > >> Hmm. Do you trust your hardware? >> [...] > > How much physical memory does your machine have? How much swap space? >> Try running badblocks on your swap partiti

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-01 Thread Peter Crowther
2009/9/1 Christopher Schultz > Hmm. Do you trust your hardware? > [...] How much physical memory does your machine have? How much swap space? > Try running badblocks on your swap partition. Try running memtest86+ on > your hardware (if it's x86... you didn't say). > The OP stated this was in a

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bradley, On 8/31/2009 5:27 PM, Bradley Wagner wrote: > The three thread dumps were from three different occurrences of the same > problem and three consecutive startup attempts. > > With each occurrence, the startup process hangs in the middle of > i

RE: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-08-31 Thread Caldarale, Charles R
> From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com] > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app > in Tomcat 5.5 on Ubuntu 7 > > So, while it's not hanging in the same place every time, it's > definitely hanging every time. Try

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-08-31 Thread Leon Rosenberg
Hello, This indeed sounds like you have problems with one of the spaces, please add following option to the JAVA_OPTS (or whatever you are using) to seubmit jvm parameters: -XX:+PrintGCDetails And, no tomcat's initial heap size don't default to 64Mb. The JVM allocateds a heap dependent on your com

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-08-31 Thread Bradley Wagner
> > The other interesting point is that all of those are hung in places where they would naturally be allocating an object or have very recently allocated an object, and the JVM *might* in theory be growing the heap. Bradley, are your initial and maximum heap sizes identical (I suspect not from

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-08-31 Thread Bradley Wagner
> > I agree with Mark: the three threads you showed were different (different ids), and showing different call stacks. Are you saying that each thread dump you took represents multiple thread dumps where that particular thread didn't progress /at all/ over your multi-dump sample? The three thr

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-08-31 Thread Bradley Wagner
> > - use a 1.6 JVM Tried with Sun 1.6 JVM. Same problems. Not the same exact stack traces but for example: Thread 24427: (state = BLOCKED) - java.lang.String.toCharArray() @bci=4, line=2725 (Compiled frame) - java.beans.Introspector.decapitalize(java.lang.String) @bci=46, line=252 (Compiled fra

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-08-31 Thread Peter Crowther
2009/8/31 Christopher Schultz > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Bradley, > > On 8/31/2009 4:02 PM, Bradley Wagner wrote: > > Sorry, I should have mentioned this before, but in all cases I tried the > > thread dumps 2-3 times at least 30s apart and none of the threads have > >

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-08-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bradley, On 8/31/2009 4:02 PM, Bradley Wagner wrote: > Sorry, I should have mentioned this before, but in all cases I tried the > thread dumps 2-3 times at least 30s apart and none of the threads have > progressed at all. I agree with Mark: the three

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-08-31 Thread Mark Thomas
Bradley Wagner wrote: > Mark, > Sorry, I should have mentioned this before, but in all cases I tried the > thread dumps 2-3 times at least 30s apart and none of the threads have > progressed at all. Hmm. That smells like a JVM issue to me, particularly if it goes away when you use JPDA. Things to

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-08-31 Thread Bradley Wagner
Mark, Sorry, I should have mentioned this before, but in all cases I tried the thread dumps 2-3 times at least 30s apart and none of the threads have progressed at all. - Bradley On Mon, Aug 31, 2009 at 3:52 PM, Mark Thomas wrote: > Bradley Wagner wrote: > > Ok, I have some information to add h

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-08-31 Thread Mark Thomas
Bradley Wagner wrote: > Ok, I have some information to add here. I was able to get thread dumps with > "jstack " (very handy!) because "kill -3" wouldn't work on a hung > process. > I've listed 3 consecutive tests that I run and the thread is blocked at the > time the process is hung. That isn't t

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-08-31 Thread Bradley Wagner
Ok, I have some information to add here. I was able to get thread dumps with "jstack " (very handy!) because "kill -3" wouldn't work on a hung process. I've listed 3 consecutive tests that I run and the thread is blocked at the time the process is hung. Test 1 Thread 21348: (state = BLOCKED) - j

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-08-29 Thread Peter Crowther
2009/8/28 Bradley Wagner > I have a Spring/Hibernate app running in Tomcat 5.5.20 that we've tested in > many environments that is currently faltering when running in a Ubuntu 7 > VM. > Basically on startup, frequently, the startup process will halt when trying > to read Hibernate's HBM files and

100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-08-28 Thread Bradley Wagner
I have a Spring/Hibernate app running in Tomcat 5.5.20 that we've tested in many environments that is currently faltering when running in a Ubuntu 7 VM. Basically on startup, frequently, the startup process will halt when trying to read Hibernate's HBM files and in various other places in startup p