webtier@glassfish.java.net

Re: [webtier] JSF 2.0 PR Ajax Question

From: Lincoln Baxter, III <lincolnbaxter_at_gmail.com>
Date: Wed, 07 Jan 2009 22:19:11 -0500

My pleasure, this is what I do for fun at night ;)

See attached dump. I copied it from my Eclipse console since I couldn't
locate the file in any sane directory where I would have expected it.

lb3_at_quadshark ~ $ find | grep catalina.out
... crickets

More stuff coming soon, may have an issue with ui:repeat, but it's
possible I'm using it in a way that is not intended. But I'll put that
in a separate email for you.

On Wed, 2009-01-07 at 18:37 -0800, Jim Driscoll wrote:

> Lincoln -
>
> I was able to reproduce this error (once), but unfortunately, it seems
> to be intermittent, and I'm not able get it to happen again.
>
> I've filed a bug (#912).
>
> If you do see a hang again, please do the following:
>
> ps -ef | grep java
>
> to find the pid of the tomcat app.
>
> Then
>
> kill -QUIT tomcatpid
>
> Then, send us the stack trace that's in the catalina.out file.
>
> Again, thanks for reporting these problems. It's *very* helpful.
>
> Jim
>
> Lincoln Baxter, III wrote:
> > Also, as I encounter with my other
> > JSF2.0 projects, the server is unable to shutdown when running
> > Mojarra2.0 PR or SNAPSHOT. It just hangs on "Stopping Coyote"
> >
> > Jan 6, 2009 7:33:49 PM org.apache.coyote.http11.Http11Protocol pause
> > INFO: Pausing Coyote HTTP/1.1 on http-8081
> > Jan 6, 2009 7:33:50 PM org.apache.catalina.core.StandardService stop
> > INFO: Stopping service Catalina
> > Jan 6, 2009 7:33:51 PM org.apache.coyote.http11.Http11Protocol destroy
> > INFO: Stopping Coyote HTTP/1.1 on http-8081 *<--- hangs here*
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>




Jan 7, 2009 10:05:51 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8081
2009-01-07 22:09:30
Full thread dump Java HotSpot(TM) Server VM (11.0-b15 mixed mode):

"DestroyJavaVM" prio=10 tid=0x8d169400 nid=0x7cdc waiting on condition [0x00000000..0xb7e84070]
   java.lang.Thread.State: RUNNABLE

"http-8081-4" daemon prio=10 tid=0x8fa4b800 nid=0x7df8 in Object.wait() [0x8ed6d000..0x8ed6e130]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0xb4864b20> (a org.apache.tomcat.util.net.JIoEndpoint$Worker)
        at java.lang.Object.wait(Object.java:485)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.await(JIoEndpoint.java:416)
        - locked <0xb4864b20> (a org.apache.tomcat.util.net.JIoEndpoint$Worker)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:442)
        at java.lang.Thread.run(Thread.java:619)

"TP-Processor4" daemon prio=10 tid=0x8d5a3400 nid=0x7d05 in Object.wait() [0x8f8fe000..0x8f8fef30]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x95d7b248> (a org.apache.jk.common.ChannelSocket)
        at java.lang.Object.wait(Object.java:485)
        at org.apache.jk.common.ChannelSocket.accept(ChannelSocket.java:300)
        - locked <0x95d7b248> (a org.apache.jk.common.ChannelSocket)
        at org.apache.jk.common.ChannelSocket.acceptConnections(ChannelSocket.java:660)
        at org.apache.jk.common.ChannelSocket$SocketAcceptor.runIt(ChannelSocket.java:870)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
        at java.lang.Thread.run(Thread.java:619)

"http-8081-Acceptor-0" daemon prio=10 tid=0x8d16f800 nid=0x7d00 waiting on condition [0x8fcfe000..0x8fcff0b0]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:302)
        at java.lang.Thread.run(Thread.java:619)

"Timer-0" daemon prio=10 tid=0x8e6a3c00 nid=0x7cfe in Object.wait() [0x8fe5c000..0x8fe5cdb0]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x95b69688> (a java.util.TaskQueue)
        at java.lang.Object.wait(Object.java:485)
        at java.util.TimerThread.mainLoop(Timer.java:483)
        - locked <0x95b69688> (a java.util.TaskQueue)
        at java.util.TimerThread.run(Timer.java:462)

"pool-3-thread-1" prio=10 tid=0x8ff83400 nid=0x7cfa waiting on condition [0x8fcad000..0x8fcadeb0]
   java.lang.Thread.State: WAITING (parking)
        at sun.misc.Unsafe.park(Native Method)
        - parking to wait for <0x957376c8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
        at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)
        at java.util.concurrent.DelayQueue.take(DelayQueue.java:160)
        at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:583)
        at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:576)
        at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)

"Low Memory Detector" daemon prio=10 tid=0x90cbbc00 nid=0x7cf1 runnable [0x00000000..0x00000000]
   java.lang.Thread.State: RUNNABLE

"CompilerThread1" daemon prio=10 tid=0x90cb9800 nid=0x7cf0 waiting on condition [0x00000000..0x90786368]
   java.lang.Thread.State: RUNNABLE

"CompilerThread0" daemon prio=10 tid=0x90cb8000 nid=0x7cef waiting on condition [0x00000000..0x908074e8]
   java.lang.Thread.State: RUNNABLE

"JDWP Command Reader" daemon prio=10 tid=0x08799000 nid=0x7ceb runnable [0x00000000..0x00000000]
   java.lang.Thread.State: RUNNABLE

"JDWP Event Helper Thread" daemon prio=10 tid=0x90cb6400 nid=0x7cea runnable [0x00000000..0x00000000]
   java.lang.Thread.State: RUNNABLE

"JDWP Transport Listener: dt_socket" daemon prio=10 tid=0x90cb4000 nid=0x7ce9 runnable [0x00000000..0x908fae00]
   java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" daemon prio=10 tid=0x90cac000 nid=0x7ce6 waiting on condition [0x00000000..0x00000000]
   java.lang.Thread.State: RUNNABLE

"Finalizer" daemon prio=10 tid=0x90c9c800 nid=0x7ce5 in Object.wait() [0x9099c000..0x9099cdb0]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x952cc7c8> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x952cc7c8> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=10 tid=0x90c9b000 nid=0x7ce4 in Object.wait() [0x909ed000..0x909edf30]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x9526b5c8> (a java.lang.ref.Reference$Lock)
        at java.lang.Object.wait(Object.java:485)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
        - locked <0x9526b5c8> (a java.lang.ref.Reference$Lock)

"VM Thread" prio=10 tid=0x90c97c00 nid=0x7ce3 runnable

"GC task thread#0 (ParallelGC)" prio=10 tid=0x0878f800 nid=0x7cdd runnable

"GC task thread#1 (ParallelGC)" prio=10 tid=0x08791000 nid=0x7cde runnable

"GC task thread#2 (ParallelGC)" prio=10 tid=0x08792400 nid=0x7cdf runnable

"GC task thread#3 (ParallelGC)" prio=10 tid=0x08793c00 nid=0x7ce0 runnable

"VM Periodic Task Thread" prio=10 tid=0x90cbd800 nid=0x7cf2 waiting on condition

JNI global references: 7864

Heap
 PSYoungGen total 53696K, used 20490K [0xb1340000, 0xb4b30000, 0xb4b70000)
  eden space 50496K, 36% used [0xb1340000,0xb256b4d8,0xb4490000)
  from space 3200K, 58% used [0xb4810000,0xb49e7340,0xb4b30000)
  to space 3392K, 0% used [0xb4490000,0xb4490000,0xb47e0000)
 PSOldGen total 28800K, used 14041K [0x95170000, 0x96d90000, 0xb1340000)
  object space 28800K, 48% used [0x95170000,0x95f26768,0x96d90000)
 PSPermGen total 28288K, used 28203K [0x91170000, 0x92d10000, 0x95170000)
  object space 28288K, 99% used [0x91170000,0x92cfae58,0x92d10000)