> From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com]
> Subject: Re: Hanging on startup?
> I see Sun/Oracle was as helpful as ever on this one:
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6521844
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6202721
C
Yep.
JAVA_OPTS=-Djava.security.egd=file:/dev/./urandom
prevents the hang.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
On Mon, Mar 12, 2012 at 2:34 PM, Caldarale, Charles R
wrote:
>> From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com]
>> Subject: Hanging on startup?
>
>> Startup, and it hangs on app deploy:
>
> Waiting for entropy to build up? Take a few thread dumps with jstack
> From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com]
> Subject: Hanging on startup?
> Startup, and it hangs on app deploy:
Waiting for entropy to build up? Take a few thread dumps with jstack to see
who's waiting on what. If it is entropy, see this discussion:
http:
Ok, I must be doing something silly... I've deployed tomcat hundreds
of times, and never had something like this happen.
Just needed to test something simple on a new system.
Grabbed tomcat 7.0.26, unzipped it.
Configured it to run with my local java:
java version "1.6.0_30"
Java(TM) SE Runti
; 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
> 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
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
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
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,
> 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
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
> 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
> 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
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
> 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
because the amount of logging between the last Tomcat line and the
> GC line was significant!
> - Bradley
>
>
> On Thu, Sep 3, 2009 at 1:49 PM, Caldarale, Charles R <
> chuck.caldar...@unisys.com> wrote:
>
>> > From: Bradley Wagner [mailto:bradley.wag...@h
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
, 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
> 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
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
> 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
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
> 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:
> 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
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
> > >
> > > I think the linux distributions include the open jdk version see
> > > http://openjdk.java.net/
> > >
> > >
> > >
> > >
> > > On Thu, Sep 3, 2009 at 3:13 PM, Caldarale, Charles R <
> > > chuck.caldar..
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
> 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
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
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
>
>
> > > 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
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
> 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
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
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
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
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
> 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
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
-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
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
-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
> 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
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
>
> 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
>
> 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
>
> - 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
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
> >
-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
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
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
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
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
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
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
56 matches
Mail list logo