users@glassfish.java.net

Re: GF 2.1 Console Not Responding - PortUnification error

From: <glassfish_at_javadesktop.org>
Date: Tue, 22 Jun 2010 13:31:50 PDT

If I do a jstack on the "server" pid, I get a lot of blocked and IN_NATIVE threads such as:

Deadlock Detection:

No deadlocks found.

Thread t_at_2260: (state = BLOCKED)
 - java.lang.Object.wait(long) @bci=0 (Interpreted frame)
 - java.util.TimerThread.mainLoop() @bci=201, line=509 (Compiled frame)
 - java.util.TimerThread.run() @bci=1, line=462 (Interpreted frame)


Thread t_at_2240: (state = BLOCKED)
 - sun.misc.Unsafe.park(boolean, long) @bci=0 (Interpreted frame)
 - java.util.concurrent.locks.LockSupport.parkNanos(java.lang.Object, long) @bci=20, line=198 (Compiled frame)
 - java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(long) @bci=68, line=1963 (Co
mpiled frame)
 - java.util.concurrent.ArrayBlockingQueue.poll(long, java.util.concurrent.TimeUnit) @bci=67, line=342 (Compiled
 frame)
 - java.util.concurrent.ThreadPoolExecutor.getTask() @bci=62, line=945 (Compiled frame)
 - java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=18, line=907 (Compiled frame)
 - java.lang.Thread.run() @bci=11, line=619 (Interpreted frame)


Thread t_at_2237: (state = BLOCKED)
 - sun.misc.Unsafe.park(boolean, long) @bci=0 (Interpreted frame)
 - java.util.concurrent.locks.LockSupport.parkNanos(java.lang.Object, long) @bci=20, line=198 (Compiled frame)
 - java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(long) @bci=68, line=1963 (Co
mpiled frame)
 - java.util.concurrent.ArrayBlockingQueue.poll(long, java.util.concurrent.TimeUnit) @bci=67, line=342 (Compiled
 frame)
 - java.util.concurrent.ThreadPoolExecutor.getTask() @bci=62, line=945 (Compiled frame)
 - java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=18, line=907 (Compiled frame)
 - java.lang.Thread.run() @bci=11, line=619 (Interpreted frame)

Thread t_at_2235: (state = BLOCKED)
 - sun.misc.Unsafe.park(boolean, long) @bci=0 (Interpreted frame)
 - java.util.concurrent.locks.LockSupport.parkNanos(java.lang.Object, long) @bci=20, line=198 (Compiled frame)
 - java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(long) @bci=68, line=1963 (Co
mpiled frame)
 - java.util.concurrent.ArrayBlockingQueue.poll(long, java.util.concurrent.TimeUnit) @bci=67, line=342 (Compiled
 frame)
 - java.util.concurrent.ThreadPoolExecutor.getTask() @bci=62, line=945 (Compiled frame)
 - java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=18, line=907 (Compiled frame)
 - java.lang.Thread.run() @bci=11, line=619 (Interpreted frame)


Thread t_at_2234: (state = BLOCKED)
 - sun.misc.Unsafe.park(boolean, long) @bci=0 (Interpreted frame)
 - java.util.concurrent.locks.LockSupport.parkNanos(java.lang.Object, long) @bci=20, line=198 (Compiled frame)
 - java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(long) @bci=68, line=1963 (Co
mpiled frame)
 - java.util.concurrent.ArrayBlockingQueue.poll(long, java.util.concurrent.TimeUnit) @bci=67, line=342 (Compiled
 frame)
 - java.util.concurrent.ThreadPoolExecutor.getTask() @bci=62, line=945 (Compiled frame)
 - java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=18, line=907 (Compiled frame)
 - java.lang.Thread.run() @bci=11, line=619 (Interpreted frame)


Thread t_at_2137: (state = IN_NATIVE)
 - java.net.SocketInputStream.socketRead0(java.io.FileDescriptor, byte[], int, int, int) @bci=0 (Interpreted fra
me)
 - java.net.SocketInputStream.read(byte[], int, int) @bci=84, line=129 (Interpreted frame)
 - java.io.BufferedInputStream.fill() @bci=175, line=218 (Interpreted frame)
 - java.io.BufferedInputStream.read() @bci=12, line=237 (Compiled frame)
 - java.io.FilterInputStream.read() @bci=4, line=66 (Compiled frame)
 - sun.rmi.transport.tcp.TCPTransport.handleMessages(sun.rmi.transport.Connection, boolean) @bci=25, line=517 (C
ompiled frame)
 - sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0() @bci=685, line=790 (Interpreted frame)
 - sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run() @bci=50, line=649 (Interpreted frame)
 - java.util.concurrent.ThreadPoolExecutor$Worker.runTask(java.lang.Runnable) @bci=59, line=886 (Compiled frame)
 - java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=28, line=908 (Compiled frame)
 - java.lang.Thread.run() @bci=11, line=619 (Interpreted frame)

Thread t_at_428: (state = IN_NATIVE)
 - java.net.SocketInputStream.socketRead0(java.io.FileDescriptor, byte[], int, int, int) @bci=0 (Interpreted fra
me)
 - java.net.SocketInputStream.read(byte[], int, int) @bci=84, line=129 (Interpreted frame)
 - java.io.BufferedInputStream.fill() @bci=175, line=218 (Interpreted frame)
 - java.io.BufferedInputStream.read() @bci=12, line=237 (Compiled frame)
 - java.io.DataInputStream.readByte() @bci=4, line=248 (Interpreted frame)
 - sun.rmi.transport.StreamRemoteCall.executeCall() @bci=39, line=195 (Interpreted frame)
 - sun.rmi.server.UnicastRef.invoke(java.rmi.Remote, java.lang.reflect.Method, java.lang.Object[], long) @bci=22
7, line=142 (Compiled frame)
 - com.sun.jmx.remote.internal.PRef.invoke(java.rmi.Remote, java.lang.reflect.Method, java.lang.Object[], long)
@bci=9 (Interpreted frame)
 - javax.management.remote.rmi.RMIConnectionImpl_Stub.fetchNotifications(long, int, long) @bci=49 (Interpreted f
rame)
 - javax.management.remote.rmi.RMIConnector$RMINotifClient.fetchNotifs(long, int, long) @bci=11, line=1306 (Inte
rpreted frame)
 - com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.fetchNotifs() @bci=25, line=554 (Interpreted fr
ame)
 - com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.doRun() @bci=56, line=437 (Interpreted frame)
 - com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.run() @bci=28, line=418 (Interpreted frame)
 - com.sun.jmx.remote.internal.ClientNotifForwarder$LinearExecutor$1.run() @bci=57, line=88 (Interpreted frame)


Thread t_at_426: (state = IN_NATIVE)
 - java.net.SocketInputStream.socketRead0(java.io.FileDescriptor, byte[], int, int, int) @bci=0 (Interpreted fra
me)
 - java.net.SocketInputStream.read(byte[], int, int) @bci=84, line=129 (Interpreted frame)
 - java.io.BufferedInputStream.fill() @bci=175, line=218 (Interpreted frame)
 - java.io.BufferedInputStream.read() @bci=12, line=237 (Compiled frame)
 - java.io.DataInputStream.readByte() @bci=4, line=248 (Interpreted frame)
 - sun.rmi.transport.StreamRemoteCall.executeCall() @bci=39, line=195 (Interpreted frame)
 - sun.rmi.server.UnicastRef.invoke(java.rmi.Remote, java.lang.reflect.Method, java.lang.Object[], long) @bci=22
7, line=142 (Compiled frame)
 - com.sun.jmx.remote.internal.PRef.invoke(java.rmi.Remote, java.lang.reflect.Method, java.lang.Object[], long)
@bci=9 (Interpreted frame)
 - javax.management.remote.rmi.RMIConnectionImpl_Stub.fetchNotifications(long, int, long) @bci=49 (Interpreted f
rame)
 - javax.management.remote.rmi.RMIConnector$RMINotifClient.fetchNotifs(long, int, long) @bci=11, line=1306 (Inte
rpreted frame)
 - com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.fetchNotifs() @bci=25, line=554 (Interpreted fr
ame)
 - com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.doRun() @bci=56, line=437 (Interpreted frame)
 - com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.run() @bci=28, line=418 (Interpreted frame)
 - com.sun.jmx.remote.internal.ClientNotifForwarder$LinearExecutor$1.run() @bci=57, line=88 (Interpreted frame)


Thread t_at_423: (state = IN_NATIVE)
 - java.net.SocketInputStream.socketRead0(java.io.FileDescriptor, byte[], int, int, int) @bci=0 (Interpreted fra
me)
[Message sent by forum member 'misschatter']

http://forums.java.net/jive/thread.jspa?messageID=475412