users@glassfish.java.net

Re: Strange Startup Issue

From: <glassfish_at_javadesktop.org>
Date: Sat, 26 May 2007 08:25:32 PDT

OS: Gentoo Linux amd64 2.6.20-gentoo-r8
JVM: java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0-b105, mixed mode)

2007-05-26 08:18:50
Full thread dump Java HotSpot(TM) 64-Bit Server VM (1.6.0-b105 mixed mode):

"Attach Listener" daemon prio=10 tid=0x00002aaad73db800 nid=0x1bae runnable [0x0000000000000000..0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"ContainerBackgroundProcessor[StandardEngine[com.sun.appserv].StandardHost[server].StandardContext[/aws]]" daemon prio=10 tid=0x00002aaad9021c00 nid=0x1b96 waiting on condition [0x0000000042b53000..0x0000000042b53ca0]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1623)
        at java.lang.Thread.run(Thread.java:619)

"ContainerBackgroundProcessor[StandardEngine[com.sun.appserv].StandardHost[server].StandardContext[]]" daemon prio=10 tid=0x00002aaad9831400 nid=0x1b95 waiting on condition [0x0000000042a52000..0x0000000042a52b20]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1623)
        at java.lang.Thread.run(Thread.java:619)

"SingleSignOnExpiration" daemon prio=10 tid=0x00002aaad9830c00 nid=0x1b94 waiting on condition [0x000000004143c000..0x000000004143cba0]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at com.sun.enterprise.security.web.SingleSignOn.threadSleep(SingleSignOn.java:632)
        at com.sun.enterprise.security.web.SingleSignOn.run(SingleSignOn.java:690)
        at java.lang.Thread.run(Thread.java:619)

"ContainerBackgroundProcessor[StandardEngine[com.sun.appserv].StandardHost[__asadmin].StandardContext[/asadmin]]" daemon prio=10 tid=0x00002aaad7f10000 nid=0x1b93 waiting on condition [0x000000004123a000..0x000000004123aa20]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1623)
        at java.lang.Thread.run(Thread.java:619)

"ContainerBackgroundProcessor[StandardEngine[com.sun.appserv].StandardHost[__asadmin].StandardContext[/web1]]" daemon prio=10 tid=0x00002aaad906bc00 nid=0x1b92 waiting on condition [0x000000004133b000..0x000000004133baa0]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1623)
        at java.lang.Thread.run(Thread.java:619)

"ContainerBackgroundProcessor[StandardEngine[com.sun.appserv].StandardHost[__asadmin].StandardContext[]]" daemon prio=10 tid=0x00002aaad92f4800 nid=0x1b91 waiting on condition [0x0000000042149000..0x0000000042149d20]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1623)
        at java.lang.Thread.run(Thread.java:619)

"Thread-21" prio=10 tid=0x00002aaad73f6c00 nid=0x1b8f in Object.wait() [0x0000000042951000..0x0000000042951c20]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00002aaab9d7e5e8> (a com.sun.corba.ee.impl.javax.rmi.CORBA.KeepAlive)
        at java.lang.Object.wait(Object.java:485)
        at com.sun.corba.ee.impl.javax.rmi.CORBA.KeepAlive.run(Util.java:794)
        - locked <0x00002aaab9d7e5e8> (a com.sun.corba.ee.impl.javax.rmi.CORBA.KeepAlive)

"p: thread-pool-1; w: Idle" daemon prio=10 tid=0x00002aaad787f000 nid=0x1b8e in Object.wait() [0x0000000042850000..0x0000000042850ca0]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00002aaab9ced7f8> (a com.sun.corba.ee.impl.orbutil.threadpool.WorkQueueImpl)
        at com.sun.corba.ee.impl.orbutil.threadpool.WorkQueueImpl.requestWork(WorkQueueImpl.java:122)
        - locked <0x00002aaab9ced7f8> (a com.sun.corba.ee.impl.orbutil.threadpool.WorkQueueImpl)
        at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:450)

"p: thread-pool-1; w: 1" daemon prio=10 tid=0x00002aaad67e1800 nid=0x1b8d runnable [0x000000004274f000..0x000000004274fb20]
   java.lang.Thread.State: RUNNABLE
        at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
        at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:145)
        - locked <0x00002aaab9192fc0> (a java.lang.Object)
        at sun.nio.ch.ServerSocketAdaptor.accept(ServerSocketAdaptor.java:84)
        - locked <0x00002aaab9192f98> (a java.lang.Object)
        at com.sun.enterprise.server.ss.provider.ASServerSocket.acceptSocket(ASServerSocket.java:174)
        at com.sun.enterprise.server.ss.provider.ASServerSocket.accept(ASServerSocket.java:154)
        - locked <0x00002aaab9185488> (a com.sun.enterprise.server.ss.provider.ASServerSocket)
        at com.sun.enterprise.server.ss.provider.ASServerSocketImpl.accept(ASServerSocketImpl.java:161)
        at java.net.ServerSocket.implAccept(ServerSocket.java:450)
        at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.accept(SSLServerSocketImpl.java:259)
        at com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.accept(SocketOrChannelAcceptorImpl.java:235)
        at com.sun.corba.ee.impl.transport.ListenerThreadImpl.doWork(ListenerThreadImpl.java:72)
        at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:479)

"p: thread-pool-1; w: 0" daemon prio=10 tid=0x00002aaad8843800 nid=0x1b8c runnable [0x000000004264e000..0x000000004264eba0]
   java.lang.Thread.State: RUNNABLE
        at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
        at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:145)
        - locked <0x00002aaab9193208> (a java.lang.Object)
        at sun.nio.ch.ServerSocketAdaptor.accept(ServerSocketAdaptor.java:84)
        - locked <0x00002aaab91931e0> (a java.lang.Object)
        at com.sun.enterprise.server.ss.provider.ASServerSocket.acceptSocket(ASServerSocket.java:174)
        at com.sun.enterprise.server.ss.provider.ASServerSocket.accept(ASServerSocket.java:154)
        - locked <0x00002aaab91857e8> (a com.sun.enterprise.server.ss.provider.ASServerSocket)
        at com.sun.enterprise.server.ss.provider.ASServerSocketImpl.accept(ASServerSocketImpl.java:161)
        at java.net.ServerSocket.implAccept(ServerSocket.java:450)
        at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.accept(SSLServerSocketImpl.java:259)
        at com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.accept(SocketOrChannelAcceptorImpl.java:235)
        at com.sun.corba.ee.impl.transport.ListenerThreadImpl.doWork(ListenerThreadImpl.java:72)
        at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:479)

"SelectorThread" daemon prio=10 tid=0x00002aaad7332000 nid=0x1b8b runnable [0x000000004254d000..0x000000004254da20]
   java.lang.Thread.State: RUNNABLE
        at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
        at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:184)
        at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:65)
        at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69)
        - locked <0x00002aaab9da39d8> (a sun.nio.ch.Util$1)
        - locked <0x00002aaab9da39f0> (a java.util.Collections$UnmodifiableSet)
        - locked <0x00002aaab9da3960> (a sun.nio.ch.EPollSelectorImpl)
        at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80)
        at com.sun.enterprise.server.ss.provider.ASSelector.select(ASSelector.java:120)
        at com.sun.corba.ee.impl.transport.SelectorImpl.run(SelectorImpl.java:248)

"Timer-2" prio=10 tid=0x00002aaad85e0000 nid=0x1b8a in Object.wait() [0x000000004244c000..0x000000004244caa0]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00002aaab9cc5830> (a java.util.TaskQueue)
        at java.lang.Object.wait(Object.java:485)
        at java.util.TimerThread.mainLoop(Timer.java:483)
        - locked <0x00002aaab9cc5830> (a java.util.TaskQueue)
        at java.util.TimerThread.run(Timer.java:462)

"RMI RenewClean-[127.0.0.1:58107]" daemon prio=10 tid=0x00002aaad8034400 nid=0x1b88 in Object.wait() [0x000000004224a000..0x000000004224ada0]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00002aaab9c23578> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x00002aaab9c23578> (a java.lang.ref.ReferenceQueue$Lock)
        at sun.rmi.transport.DGCClient$EndpointEntry$RenewCleanThread.run(DGCClient.java:516)
        at java.lang.Thread.run(Thread.java:619)

"RMI TCP Accept-0" daemon prio=10 tid=0x00002aaad73db400 nid=0x1b86 runnable [0x0000000042048000..0x0000000042048ca0]
   java.lang.Thread.State: RUNNABLE
        at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
        at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:145)
        - locked <0x00002aaab9c25d70> (a java.lang.Object)
        at sun.nio.ch.ServerSocketAdaptor.accept(ServerSocketAdaptor.java:84)
        - locked <0x00002aaab9c25d80> (a java.lang.Object)
        at com.sun.enterprise.server.ss.provider.ASServerSocket.acceptSocket(ASServerSocket.java:174)
        at com.sun.enterprise.server.ss.provider.ASServerSocket.accept(ASServerSocket.java:154)
        - locked <0x00002aaab9c25dd0> (a com.sun.enterprise.server.ss.provider.ASServerSocket)
        at com.sun.enterprise.server.ss.provider.ASServerSocketImpl.accept(ASServerSocketImpl.java:161)
        at java.net.ServerSocket.implAccept(ServerSocket.java:450)
        at java.net.ServerSocket.accept(ServerSocket.java:421)
        at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:369)
        at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:341)
        at java.lang.Thread.run(Thread.java:619)

"RMI TCP Accept-8686" daemon prio=10 tid=0x00002aaad7411800 nid=0x1b85 runnable [0x000000004153d000..0x000000004153db20]
   java.lang.Thread.State: RUNNABLE
        at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
        at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:145)
        - locked <0x00002aaab9192d78> (a java.lang.Object)
        at sun.nio.ch.ServerSocketAdaptor.accept(ServerSocketAdaptor.java:84)
        - locked <0x00002aaab9192d50> (a java.lang.Object)
        at com.sun.enterprise.server.ss.provider.ASServerSocket.acceptSocket(ASServerSocket.java:174)
        at com.sun.enterprise.server.ss.provider.ASServerSocket.accept(ASServerSocket.java:154)
        - locked <0x00002aaab9185128> (a com.sun.enterprise.server.ss.provider.ASServerSocket)
        at com.sun.enterprise.server.ss.provider.ASServerSocketImpl.accept(ASServerSocketImpl.java:161)
        at java.net.ServerSocket.implAccept(ServerSocket.java:450)
        at java.net.ServerSocket.accept(ServerSocket.java:421)
        at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:369)
        at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:341)
        at java.lang.Thread.run(Thread.java:619)

"Thread-14" prio=10 tid=0x00002aaad6807400 nid=0x1b80 in Object.wait() [0x0000000041e46000..0x0000000041e46d20]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00002aaab99abf20> (a com.sun.enterprise.management.support.LoaderRegThread)
        at java.lang.Object.wait(Object.java:485)
        at com.sun.enterprise.management.support.LoaderRegThread.run(LoaderRegThread.java:162)
        - locked <0x00002aaab99abf20> (a com.sun.enterprise.management.support.LoaderRegThread)

"Thread-13" prio=10 tid=0x00002aaad6d03800 nid=0x1b7f waiting on condition [0x0000000041d45000..0x0000000041d45da0]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at com.sun.enterprise.management.support.LoaderBase.mySleep(LoaderBase.java:217)
        at com.sun.enterprise.management.support.Loader$DeferredRegistrationThread.run(Loader.java:360)

"Thread-12" prio=10 tid=0x00002aaad6cf6000 nid=0x1b7e waiting on condition [0x0000000041c44000..0x0000000041c44c20]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at com.sun.enterprise.admin.server.core.channel.RMIClient.run(RMIClient.java:141)
        at java.lang.Thread.run(Thread.java:619)

"RMI RenewClean-[127.0.0.1:58982,com.sun.enterprise.admin.server.core.channel.LocalRMIClientSocketFactory_]" daemon prio=10 tid=0x00002aaad7aab400 nid=0x1b7d in Object.wait() [0x0000000041b43000..0x0000000041b43ca0]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00002aaab99ebb50> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x00002aaab99ebb50> (a java.lang.ref.ReferenceQueue$Lock)
        at sun.rmi.transport.DGCClient$EndpointEntry$RenewCleanThread.run(DGCClient.java:516)
        at java.lang.Thread.run(Thread.java:619)

"Timer-1" daemon prio=10 tid=0x00002aaad7c44800 nid=0x1b7c in Object.wait() [0x0000000041a42000..0x0000000041a42b20]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00002aaab9556570> (a java.util.TaskQueue)
        at java.lang.Object.wait(Object.java:485)
        at java.util.TimerThread.mainLoop(Timer.java:483)
        - locked <0x00002aaab9556570> (a java.util.TaskQueue)
        at java.util.TimerThread.run(Timer.java:462)

"Timer-0" prio=10 tid=0x00002aaad7ba6000 nid=0x1b7b in Object.wait() [0x0000000041941000..0x0000000041941ba0]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00002aaab9556648> (a java.util.TaskQueue)
        at java.util.TimerThread.mainLoop(Timer.java:509)
        - locked <0x00002aaab9556648> (a java.util.TaskQueue)
        at java.util.TimerThread.run(Timer.java:462)

"RMI Scheduler(0)" daemon prio=10 tid=0x00002aaad760e800 nid=0x1b78 waiting on condition [0x0000000041840000..0x0000000041840a20]
   java.lang.Thread.State: TIMED_WAITING (parking)
        at sun.misc.Unsafe.park(Native Method)
        - parking to wait for <0x00002aaab90d6ad8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
        at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1927)
        at java.util.concurrent.DelayQueue.take(DelayQueue.java:164)
        at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:582)
        at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:575)
        at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:946)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:906)
        at java.lang.Thread.run(Thread.java:619)

"Thread-9" prio=10 tid=0x00002aaad7413000 nid=0x1b75 runnable [0x000000004163e000..0x000000004163ed20]
   java.lang.Thread.State: RUNNABLE
        at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
        at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:184)
        at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:65)
        at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69)
        - locked <0x00002aaab917c458> (a sun.nio.ch.Util$1)
        - locked <0x00002aaab917c470> (a java.util.Collections$UnmodifiableSet)
        - locked <0x00002aaab917c3e0> (a sun.nio.ch.EPollSelectorImpl)
        at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80)
        at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:84)
        at com.sun.enterprise.server.ss.provider.ASSelector.select(ASSelector.java:128)
        at com.sun.enterprise.server.ss.ASSocketService$EntryPointThread.run(ASSocketService.java:484)

"Thread-4" prio=10 tid=0x00002aaad73b5000 nid=0x1b70 runnable [0x0000000041139000..0x0000000041139ba0]
   java.lang.Thread.State: RUNNABLE
        at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
        at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:184)
        at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:65)
        at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69)
        - locked <0x00002aaab917cc00> (a sun.nio.ch.Util$1)
        - locked <0x00002aaab917cc18> (a java.util.Collections$UnmodifiableSet)
        - locked <0x00002aaab917cb88> (a sun.nio.ch.EPollSelectorImpl)
        at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80)
        at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:84)
        at com.sun.enterprise.server.ss.provider.ASSelector.select(ASSelector.java:128)
        at com.sun.enterprise.server.ss.ASSocketService$EntryPointThread.run(ASSocketService.java:484)

"Thread-3" prio=10 tid=0x00002aaad73b6000 nid=0x1b6f runnable [0x0000000041038000..0x0000000041038a20]
   java.lang.Thread.State: RUNNABLE
        at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
        at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:184)
        at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:65)
        at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69)
        - locked <0x00002aaab917cde0> (a sun.nio.ch.Util$1)
        - locked <0x00002aaab917cdf8> (a java.util.Collections$UnmodifiableSet)
        - locked <0x00002aaab917cd68> (a sun.nio.ch.EPollSelectorImpl)
        at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80)
        at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:84)
        at com.sun.enterprise.server.ss.provider.ASSelector.select(ASSelector.java:128)
        at com.sun.enterprise.server.ss.ASSocketService$EntryPointThread.run(ASSocketService.java:484)

"Thread-2" prio=10 tid=0x00002aaad7410c00 nid=0x1b6e runnable [0x0000000040f37000..0x0000000040f37aa0]
   java.lang.Thread.State: RUNNABLE
        at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
        at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:184)
        at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:65)
        at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69)
        - locked <0x00002aaab917cfc0> (a sun.nio.ch.Util$1)
        - locked <0x00002aaab917cfd8> (a java.util.Collections$UnmodifiableSet)
        - locked <0x00002aaab917cf48> (a sun.nio.ch.EPollSelectorImpl)
        at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80)
        at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:84)
        at com.sun.enterprise.server.ss.provider.ASSelector.select(ASSelector.java:128)
        at com.sun.enterprise.server.ss.ASSocketService$EntryPointThread.run(ASSocketService.java:484)

"RMI Reaper" prio=10 tid=0x00002aaad7410400 nid=0x1b6d in Object.wait() [0x0000000040e36000..0x0000000040e36d20]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00002aaab917d0d8> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x00002aaab917d0d8> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
        at sun.rmi.transport.ObjectTable$Reaper.run(ObjectTable.java:333)
        at java.lang.Thread.run(Thread.java:619)

"RMI TCP Accept-0" daemon prio=10 tid=0x00002aaad7410000 nid=0x1b6c runnable [0x0000000040d35000..0x0000000040d35da0]
   java.lang.Thread.State: RUNNABLE
        at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
        at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:145)
        - locked <0x00002aaab917d270> (a java.lang.Object)
        at sun.nio.ch.ServerSocketAdaptor.accept(ServerSocketAdaptor.java:84)
        - locked <0x00002aaab917d280> (a java.lang.Object)
        at com.sun.enterprise.server.ss.provider.ASServerSocket.acceptSocket(ASServerSocket.java:174)
        at com.sun.enterprise.server.ss.provider.ASServerSocket.accept(ASServerSocket.java:154)
        - locked <0x00002aaab917d2d0> (a com.sun.enterprise.server.ss.provider.ASServerSocket)
        at com.sun.enterprise.server.ss.provider.ASServerSocketImpl.accept(ASServerSocketImpl.java:161)
        at java.net.ServerSocket.implAccept(ServerSocket.java:450)
        at java.net.ServerSocket.accept(ServerSocket.java:421)
        at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:369)
        at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:341)
        at java.lang.Thread.run(Thread.java:619)

"GC Daemon" daemon prio=10 tid=0x00002aaad7530400 nid=0x1b6a in Object.wait() [0x0000000040c34000..0x0000000040c34c20]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00002aaab90a6bd0> (a sun.misc.GC$LatencyLock)
        at sun.misc.GC$Daemon.run(GC.java:100)
        - locked <0x00002aaab90a6bd0> (a sun.misc.GC$LatencyLock)

"Low Memory Detector" daemon prio=10 tid=0x00002aaad685b400 nid=0x1b64 runnable [0x0000000000000000..0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"CompilerThread1" daemon prio=10 tid=0x00002aaad6859400 nid=0x1b63 waiting on condition [0x0000000000000000..0x000000004082fa10]
   java.lang.Thread.State: RUNNABLE

"CompilerThread0" daemon prio=10 tid=0x00002aaad6857800 nid=0x1b62 waiting on condition [0x0000000000000000..0x000000004072ea90]
   java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" daemon prio=10 tid=0x00002aaad6856400 nid=0x1b61 runnable [0x0000000000000000..0x000000004062e9b0]
   java.lang.Thread.State: RUNNABLE

"Finalizer" daemon prio=10 tid=0x00002aaad6833c00 nid=0x1b60 in Object.wait() [0x000000004052d000..0x000000004052dda0]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00002aaab8fdd1e8> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x00002aaab8fdd1e8> (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=0x00002aaad6833000 nid=0x1b5f in Object.wait() [0x000000004042c000..0x000000004042cc20]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00002aaab8fdd2c8> (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 <0x00002aaab8fdd2c8> (a java.lang.ref.Reference$Lock)

"main" prio=10 tid=0x0000000040116c00 nid=0x1b5b in Object.wait() [0x0000000040227000..0x000000004022aee0]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00002aaab9186670> (a java.lang.Object)
        at java.lang.Object.wait(Object.java:485)
        at com.sun.enterprise.server.ss.ASSocketService._waitOnClientConnection(ASSocketService.java:463)
        - locked <0x00002aaab9186670> (a java.lang.Object)
        at com.sun.enterprise.server.ss.ASSocketService.waitOnClientConnection(ASSocketService.java:454)
        at com.sun.enterprise.server.ss.ASSocketServiceProxy.waitOnClientConnection(ASSocketServiceProxy.java:96)
        at com.sun.enterprise.server.ss.provider.ASClientSocketImpl.connect(ASClientSocketImpl.java:219)
        at java.net.Socket.connect(Socket.java:519)
        at java.net.Socket.connect(Socket.java:469)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:500)
        - locked <0x00002aaaaf430300> (a sun.net.www.http.HttpClient)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
        at sun.net.www.http.HttpClient.New(HttpClient.java:306)
        at sun.net.www.http.HttpClient.New(HttpClient.java:318)
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:792)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:733)
        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:658)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:981)
        - locked <0x00002aaaaf430410> (a sun.net.www.protocol.http.HttpURLConnection)
        at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:677)
        at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1316)
        at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:1283)
        at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:283)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(XMLDocumentScannerImpl.java:1168)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(XMLDocumentScannerImpl.java:1068)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:988)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:645)
        at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
        at org.apache.commons.digester.Digester.parse(Digester.java:1591)
        at org.apache.struts.tiles.xmlDefinition.XmlParser.parse(XmlParser.java:277)
        at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFile(I18nFactorySet.java:511)
        at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFiles(I18nFactorySet.java:446)
        at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.createDefaultFactory(I18nFactorySet.java:263)
        at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.initFactory(I18nFactorySet.java:238)
        at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.initFactory(I18nFactorySet.java:188)
        at org.apache.struts.tiles.definition.ComponentDefinitionsFactoryWrapper.init(ComponentDefinitionsFactoryWrapper.java:102)
        at org.apache.struts.tiles.TilesUtilImpl.createDefinitionsFactory(TilesUtilImpl.java:136)
        at org.apache.struts.tiles.TilesUtil.createDefinitionsFactory(TilesUtil.java:165)
        at org.apache.struts.tiles.TilesPlugin.initDefinitionsFactory(TilesPlugin.java:222)
        at org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:137)
        at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
        at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
        at javax.servlet.GenericServlet.init(GenericServlet.java:241)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1133)
        - locked <0x00002aaaba637850> (a org.apache.catalina.core.StandardWrapper)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:962)
        - locked <0x00002aaaba637850> (a org.apache.catalina.core.StandardWrapper)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4416)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4772)
        - locked <0x00002aaaba09c768> (a com.sun.enterprise.web.WebModule)
        at com.sun.enterprise.web.WebModule.start(WebModule.java:292)
        - locked <0x00002aaaba09c768> (a com.sun.enterprise.web.WebModule)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1095)
        - locked <0x00002aaaba116c38> (a com.sun.enterprise.web.VirtualServer)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:924)
        - locked <0x00002aaaba116c38> (a com.sun.enterprise.web.VirtualServer)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1095)
        - locked <0x00002aaaba0d62d8> (a com.sun.enterprise.web.EmbeddedWebContainer$1)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:520)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:920)
        at com.sun.enterprise.web.WebContainer.start(WebContainer.java:794)
        at com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:722)
        at com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifecycle.java:72)
        at com.sun.enterprise.server.ondemand.ServiceGroup.startLifecycleServices(ServiceGroup.java:266)
        at com.sun.enterprise.server.ondemand.WebServiceGroup.startLifecycleServices(WebServiceGroup.java:210)
        at com.sun.enterprise.server.ondemand.WebServiceGroup.start(WebServiceGroup.java:60)
        at com.sun.enterprise.server.ondemand.ServiceGroup$1.run(ServiceGroup.java:180)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:177)
        - locked <0x00002aaab90dcac8> (a com.sun.enterprise.server.ondemand.WebServiceGroup)
        at com.sun.enterprise.server.ondemand.MainServiceGroup.start(MainServiceGroup.java:45)
        at com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEntryListenerImpl.java:72)
        at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.sendEvent(ServerEntryHelper.java:62)
        at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.generateAppLoaderEntryContext(ServerEntryHelper.java:47)
        at com.sun.enterprise.server.AbstractLoader.generateEntryContext(AbstractLoader.java:831)
        at com.sun.enterprise.server.AbstractLoader.notifyAppEvent(AbstractLoader.java:837)
        at com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:172)
        at com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:113)
        at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:206)
        at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:204)
        at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:326)
        at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:112)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:326)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)

"VM Thread" prio=10 tid=0x00002aaad682e400 nid=0x1b5e runnable

"VM Periodic Task Thread" prio=10 tid=0x00002aaad685d400 nid=0x1b65 waiting on condition

JNI global references: 924


As for the JDBC issues (I haven't ruled out my code causing this yet) but there seem to be a lot more locking issues with v2 than with v1. I also have to restart my server once every day or two because despite always closing my connections, glassfish seems to hit the max connection limit. Neither of these happened with v1 but have been happening since the first day I started using v2.
[Message sent by forum member 'trekkyleaper' (trekkyleaper)]

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