activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snacktime <snackt...@gmail.com>
Subject Hang on shutdown
Date Thu, 12 Oct 2006 23:16:43 GMT

The latest release candidate on freebsd 6.1 hangs on shutdown when I have a
static broker in the config (networkConnector), but the broker is not
actually running.  If I don't tell it about the other (non-existant) broker,
it's fine.  Following is a trace with kill -QUIT

Full thread dump Java HotSpot(TM) Client VM (Blackdown-1.4.2-02 mixed mode):

"Thread-3" prio=5 tid=0x08476060 nid=10756 in Object.wait()
[0xbb5ff000..0xbb5ff7f0]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x2f047ff8> (a java.lang.Object)
        at
org.apache.activemq.transport.failover.FailoverTransport.oneway(FailoverTransport.java:352)
        - locked <0x2f047ff8> (a java.lang.Object)
        at
org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:45)
        - locked <0x2f048068> (a java.lang.Object)
        at
org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorrelator.java:59)
        at
org.apache.activemq.network.DemandForwardingBridgeSupport.startRemoteBridge(DemandForwardingBridgeSupport.java:253)
        - locked <0x2c740088> (a
org.apache.activemq.network.DiscoveryNetworkConnector$2)
        at
org.apache.activemq.network.DemandForwardingBridgeSupport$4.run(DemandForwardingBridgeSupport.java:204)

"ActiveMQ Connection Dispatcher: 6533862" daemon prio=5 tid=0x08475e78
nid=10755 in Object.wait() [0xbb7ff000..0xbb7ff7f0]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x2c740180> (a java.lang.Object)
        at java.lang.Object.wait(Object.java:429)
        at
org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:92)
        - locked <0x2c740180> (a java.lang.Object)
        at
org.apache.activemq.thread.DedicatedTaskRunner.access$000(DedicatedTaskRunner.java:25)
        at
org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:39)

"ActiveMQ Transport Status Monitor: vm://localhost" daemon prio=5
tid=0x08477330 nid=10754 waiting on condition [0xbb9ff000..0xbb9ff7f0]
        at java.lang.Thread.sleep(Native Method)
        at
org.apache.activemq.broker.TransportStatusDetector.run(TransportStatusDetector.java:99)
        at java.lang.Thread.run(Thread.java:534)

"ActiveMQ Failover Worker: 7225781" daemon prio=5 tid=0x08476c90 nid=10753
in Object.wait() [0xbbbff000..0xbbbff7f0]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x2f058bd8> (a java.lang.Object)
        at
org.apache.activemq.transport.failover.FailoverTransport$2.iterate(FailoverTransport.java:209)
        - locked <0x2f058bd8> (a java.lang.Object)
        at
org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:88)
        at
org.apache.activemq.thread.DedicatedTaskRunner.access$000(DedicatedTaskRunner.java:25)
        at
org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:39)

"ActiveMQ Transport Status Monitor: stomp" daemon prio=5 tid=0x0846b538
nid=10752 waiting on condition [0xbbdff000..0xbbdff7f0]
        at java.lang.Thread.sleep(Native Method)
        at
org.apache.activemq.broker.TransportStatusDetector.run(TransportStatusDetector.java:99)
        at java.lang.Thread.run(Thread.java:534)

"ActiveMQ Transport Server: stomp://defender.paymentonline.net:61613" daemon
prio=5 tid=0x084e7da8 nid=10751 runnable [0xbbfff000..0xbbfff7f0]
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
        - locked <0x2f01a840> (a java.net.PlainSocketImpl)
        at java.net.ServerSocket.implAccept(ServerSocket.java:448)
        at java.net.ServerSocket.accept(ServerSocket.java:419)
        at
org.apache.activemq.transport.tcp.TcpTransportServer.run(TcpTransportServer.java:125)
        at java.lang.Thread.run(Thread.java:534)

"ActiveMQ Transport Status Monitor: default" daemon prio=5 tid=0x084e7198
nid=10750 waiting on condition [0xbc1ff000..0xbc1ff7f0]
        at java.lang.Thread.sleep(Native Method)
        at
org.apache.activemq.broker.TransportStatusDetector.run(TransportStatusDetector.java:99)
        at java.lang.Thread.run(Thread.java:534)

"MulticastDiscovery: tcp://defender.paymentonline.net:61616" daemon prio=5
tid=0x083d9c30 nid=10749 runnable [0xbc3ff000..0xbc3ff7f0]
        at java.net.PlainDatagramSocketImpl.receive(Native Method)
        - locked <0x2f01ca30> (a java.net.PlainDatagramSocketImpl)
        at java.net.DatagramSocket.receive(DatagramSocket.java:711)
        - locked <0x2f01ca60> (a java.net.DatagramPacket)
        - locked <0x2f01ca80> (a java.net.MulticastSocket)
        at
org.apache.activemq.transport.discovery.multicast.MulticastDiscoveryAgent.run(MulticastDiscoveryAgent.java:255)
        at java.lang.Thread.run(Thread.java:534)

"ActiveMQ Transport Server: tcp://defender.paymentonline.net:61616" daemon
prio=5 tid=0x083d9978 nid=10748 runnable [0xbc5ff000..0xbc5ff7f0]
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
        - locked <0x2f01cb60> (a java.net.PlainSocketImpl)
        at java.net.ServerSocket.implAccept(ServerSocket.java:448)
        at java.net.ServerSocket.accept(ServerSocket.java:419)
        at
org.apache.activemq.transport.tcp.TcpTransportServer.run(TcpTransportServer.java:125)
        at java.lang.Thread.run(Thread.java:534)

"ActiveMQ Scheduler" daemon prio=5 tid=0x082fa8d0 nid=10747 in Object.wait()
[0xbc7ff000..0xbc7ff7f0]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x2f001850> (a java.lang.Object)
        at java.lang.Object.wait(Object.java:398)
        at
edu.emory.mathcs.backport.java.util.concurrent.TimeUnit.timedWait(TimeUnit.java:301)
        at
edu.emory.mathcs.backport.java.util.concurrent.DelayQueue.take(DelayQueue.java:156)
        - locked <0x2f001850> (a java.lang.Object)
        at
edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:590)
        at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:477)
        at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:674)
        at java.lang.Thread.run(Thread.java:534)

"Journal Writer" daemon prio=5 tid=0x084e9f30 nid=10746 in Object.wait()
[0xbc9ff000..0xbc9ff7f0]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x2eecdbc0> (a
edu.emory.mathcs.backport.java.util.concurrent.LinkedBlockingQueue$SerializableLock)
        at java.lang.Object.wait(Object.java:398)
        at
edu.emory.mathcs.backport.java.util.concurrent.TimeUnit.timedWait(TimeUnit.java:301)
        at
edu.emory.mathcs.backport.java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:348)
        - locked <0x2eecdbc0> (a
edu.emory.mathcs.backport.java.util.concurrent.LinkedBlockingQueue$SerializableLock)
        at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:482)
        at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:674)
        at java.lang.Thread.run(Thread.java:534)

"derby.rawStoreDaemon" daemon prio=5 tid=0x08390a38 nid=10742 in
Object.wait() [0xbdfff000..0xbdfff7f0]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x2eef79b8> (a
org.apache.derby.impl.services.daemon.BasicDaemon)
        at org.apache.derby.impl.services.daemon.BasicDaemon.rest(Unknown
Source)
        - locked <0x2eef79b8> (a
org.apache.derby.impl.services.daemon.BasicDaemon)
        at org.apache.derby.impl.services.daemon.BasicDaemon.run(Unknown
Source)
        at java.lang.Thread.run(Thread.java:534)

"RMI LeaseChecker" daemon prio=5 tid=0x0837c550 nid=10739 waiting on
condition [0xbcfff000..0xbcfff7f0]
        at java.lang.Thread.sleep(Native Method)
        at sun.rmi.transport.DGCImpl$LeaseChecker.run(DGCImpl.java:307)
        at java.lang.Thread.run(Thread.java:534)

"RMI RenewClean-[69.25.137.82:55070]" daemon prio=5 tid=0x08380e60 nid=10737
in Object.wait() [0xbd3ff000..0xbd3ff7f0]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x2eee67c8> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
        - locked <0x2eee67c8> (a java.lang.ref.ReferenceQueue$Lock)
        at
sun.rmi.transport.DGCClient$EndpointEntry$RenewCleanThread.run(DGCClient.java:500)
        at java.lang.Thread.run(Thread.java:534)

"GC Daemon" daemon prio=5 tid=0x083ad7d0 nid=10735 in Object.wait()
[0xbd7ff000..0xbd7ff7f0]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x2eedf2a8> (a sun.misc.GC$LatencyLock)
        at sun.misc.GC$Daemon.run(GC.java:100)
        - locked <0x2eedf2a8> (a sun.misc.GC$LatencyLock)

"RMI Reaper" prio=5 tid=0x083ae300 nid=10734 in Object.wait()
[0xbd9ff000..0xbd9ff7f0]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x2eed3660> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
        - locked <0x2eed3660> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
        at sun.rmi.transport.ObjectTable$Reaper.run(ObjectTable.java:330)
        at java.lang.Thread.run(Thread.java:534)

"derby.antiGC" daemon prio=5 tid=0x083ad670 nid=10733 in Object.wait()
[0xbdbff000..0xbdbff7f0]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x2eedf158> (a
org.apache.derby.impl.services.monitor.AntiGC)
        at java.lang.Object.wait(Object.java:429)
        at org.apache.derby.impl.services.monitor.AntiGC.run(Unknown Source)
        - locked <0x2eedf158> (a
org.apache.derby.impl.services.monitor.AntiGC)
        at java.lang.Thread.run(Thread.java:534)

"RMI TCP Accept-0" daemon prio=5 tid=0x0807d8a8 nid=10732 runnable
[0xbddff000..0xbddff7f0]
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
        - locked <0x2eedf1c0> (a java.net.PlainSocketImpl)
        at java.net.ServerSocket.implAccept(ServerSocket.java:448)
        at java.net.ServerSocket.accept(ServerSocket.java:419)
        at sun.rmi.transport.tcp.TCPTransport.run(TCPTransport.java:334)
        at java.lang.Thread.run(Thread.java:534)

"RMI TCP Accept-1099" daemon prio=5 tid=0x080b5ba8 nid=10730 runnable
[0xbe1ff000..0xbe1ff7f0]
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
        - locked <0x2eed0a80> (a java.net.PlainSocketImpl)
        at java.net.ServerSocket.implAccept(ServerSocket.java:448)
        at java.net.ServerSocket.accept(ServerSocket.java:419)
        at sun.rmi.transport.tcp.TCPTransport.run(TCPTransport.java:334)
        at java.lang.Thread.run(Thread.java:534)

"Thread-1" daemon prio=5 tid=0x080b5810 nid=10729 in Object.wait()
[0xbe3ff000..0xbe3ff7f0]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x2eed0bc8> (a java.util.TaskQueue)
        at java.lang.Object.wait(Object.java:429)
        at java.util.TimerThread.mainLoop(Timer.java:403)
        - locked <0x2eed0bc8> (a java.util.TaskQueue)
        at java.util.TimerThread.run(Timer.java:382)

"ActiveMQ Journal Checkpoint Worker" daemon prio=5 tid=0x080b8418 nid=10728
in Object.wait() [0xbe5ff000..0xbe5ff7f0]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x2eecb578> (a java.lang.Object)
        at java.lang.Object.wait(Object.java:429)
        at
org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:92)
        - locked <0x2eecb578> (a java.lang.Object)
        at
org.apache.activemq.thread.DedicatedTaskRunner.access$000(DedicatedTaskRunner.java:25)
        at
org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:39)

"Signal Dispatcher" daemon prio=5 tid=0x08099250 nid=10725 runnable [0..0]

"Finalizer" daemon prio=5 tid=0x08095310 nid=10723 in Object.wait()
[0xbefff000..0xbefff7f0]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x2ee30b18> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
        - locked <0x2ee30b18> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=5 tid=0x080947a0 nid=10722 in Object.wait()
[0xbf1ff000..0xbf1ff7f0]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x2ee30b80> (a java.lang.ref.Reference$Lock)
        at java.lang.Object.wait(Object.java:429)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:115)
        - locked <0x2ee30b80> (a java.lang.ref.Reference$Lock)

"main" prio=5 tid=0x0805d120 nid=10438 in Object.wait()
[0xbfbfc000..0xbfbfc8f8]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x2c7403a0> (a [Z)
        at java.lang.Object.wait(Object.java:429)
        at
org.apache.activemq.console.command.StartCommand.waitForShutdown(StartCommand.java:107)
        - locked <0x2c7403a0> (a [Z)
        at
org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:68)
        at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:50)
        at
org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:82)
        at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:50)
        at
org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:46)
        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:324)
        at org.apache.activemq.console.Main.runTaskClass(Main.java:136)
        at org.apache.activemq.console.Main.main(Main.java:68)

"VM Thread" prio=5 tid=0x080915f8 nid=10721 runnable 

"VM Periodic Task Thread" prio=5 tid=0x0809b8c8 nid=10727 waiting on
condition 
"Suspend Checker Thread" prio=5 tid=0x080988f8 nid=10724 runnable
-- 
View this message in context: http://www.nabble.com/Hang-on-shutdown-tf2433948.html#a6787057
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message