[jboss-user] [JBoss Messaging] - Re: Closing Consumer Causes Hang

toddjtidwell do-not-reply at jboss.com
Fri Sep 8 16:56:12 EDT 2006


Sure, here ya go...  My objects are the jms.test package stuff.


  | Full thread dump Java HotSpot(TM) Client VM (1.5.0_07-b03 mixed mode, sharing):
  | 
  | "Thread-4" prio=6 tid=0x0301dc30 nid=0x148 in Object.wait() [0x034ef000..0x034efa68]
  | 	at java.lang.Object.wait(Native Method)
  | 	- waiting on <0x22b99a38> (a org.jboss.messaging.util.Future)
  | 	at java.lang.Object.wait(Unknown Source)
  | 	at org.jboss.messaging.util.Future.getResult(Future.java:51)
  | 	- locked <0x22b99a38> (a org.jboss.messaging.util.Future)
  | 	at org.jboss.jms.client.remoting.MessageCallbackHandler.waitForOnMessageToComplete(MessageCallbackHandler.java:357)
  | 	at org.jboss.jms.client.remoting.MessageCallbackHandler.close(MessageCallbackHandler.java:312)
  | 	at org.jboss.jms.client.container.ConsumerAspect.handleClosing(ConsumerAspect.java:116)
  | 	at org.jboss.aop.advice.org.jboss.jms.client.container.ConsumerAspect24.invoke(ConsumerAspect24.java)
  | 	at org.jboss.jms.client.delegate.ClientConsumerDelegate$closing_4945873952494833124.invokeNext(ClientConsumerDelegate$closing_4945873952494833124.java)
  | 	at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134)
  | 	at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117)
  | 	at org.jboss.jms.client.delegate.ClientConsumerDelegate$closing_4945873952494833124.invokeNext(ClientConsumerDelegate$closing_4945873952494833124.java)
  | 	at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69)
  | 	at org.jboss.jms.client.delegate.ClientConsumerDelegate$closing_4945873952494833124.invokeNext(ClientConsumerDelegate$closing_4945873952494833124.java)
  | 	at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
  | 	at org.jboss.jms.client.delegate.ClientConsumerDelegate$closing_4945873952494833124.invokeNext(ClientConsumerDelegate$closing_4945873952494833124.java)
  | 	at org.jboss.jms.client.delegate.ClientConsumerDelegate.closing(ClientConsumerDelegate.java)
  | 	at org.jboss.jms.client.JBossMessageConsumer.close(JBossMessageConsumer.java:96)
  | 	at messaging.DestinationHandler.disconnect(DestinationHandler.java:233)
  | 	at jms.test.TestConsumer.closeConnection(TestConsumer.java:58)
  | 	at jms.test.TestConsumer.onMessage(TestConsumer.java:85)
  | 	at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:87)
  | 	at org.jboss.jms.client.remoting.MessageCallbackHandler$ListenerRunner.run(MessageCallbackHandler.java:712)
  | 	at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExecutor.java:89)
  | 	at java.lang.Thread.run(Unknown Source)
  | 
  | "SocketServerInvokerThread-10.1.3.102-0" prio=6 tid=0x00aabe48 nid=0xc78 runnable [0x034af000..0x034afae8]
  | 	at java.net.SocketInputStream.socketRead0(Native Method)
  | 	at java.net.SocketInputStream.read(Unknown Source)
  | 	at java.io.BufferedInputStream.fill(Unknown Source)
  | 	at java.io.BufferedInputStream.read(Unknown Source)
  | 	- locked <0x22bf3d68> (a java.io.BufferedInputStream)
  | 	at java.io.FilterInputStream.read(Unknown Source)
  | 	at org.jboss.serial.io.JBossObjectInputStream.read(JBossObjectInputStream.java:193)
  | 	at org.jboss.remoting.transport.socket.ServerThread.readVersion(ServerThread.java:497)
  | 	at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:414)
  | 	at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:534)
  | 	at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:257)
  | 
  | "DestroyJavaVM" prio=6 tid=0x00035038 nid=0xbdc waiting on condition [0x00000000..0x0007fae8]
  | 
  | "Thread-3" prio=6 tid=0x0301cb28 nid=0x194 waiting on condition [0x0345f000..0x0345fb68]
  | 	at java.lang.Thread.sleep(Native Method)
  | 	at jms.test.PingThread.run(PingThread.java:33)
  | 
  | "GC Daemon" daemon prio=2 tid=0x03014538 nid=0xc94 in Object.wait() [0x033df000..0x033dfbe8]
  | 	at java.lang.Object.wait(Native Method)
  | 	- waiting on <0x230ca078> (a sun.misc.GC$LatencyLock)
  | 	at sun.misc.GC$Daemon.run(Unknown Source)
  | 	- locked <0x230ca078> (a sun.misc.GC$LatencyLock)
  | 
  | "RMI RenewClean-[10.1.3.102:1098]" daemon prio=6 tid=0x03001e18 nid=0xe48 in Object.wait() [0x0339f000..0x0339fce8]
  | 	at java.lang.Object.wait(Native Method)
  | 	- waiting on <0x2323caa8> (a java.lang.ref.ReferenceQueue$Lock)
  | 	at java.lang.ref.ReferenceQueue.remove(Unknown Source)
  | 	- locked <0x2323caa8> (a java.lang.ref.ReferenceQueue$Lock)
  | 	at sun.rmi.transport.DGCClient$EndpointEntry$RenewCleanThread.run(Unknown Source)
  | 	at java.lang.Thread.run(Unknown Source)
  | 
  | "Thread-2" prio=6 tid=0x02dd0bf8 nid=0xff8 waiting on condition [0x0335f000..0x0335fd68]
  | 	at java.lang.Thread.sleep(Native Method)
  | 	at org.jboss.remoting.transport.socket.SocketServerInvoker$ServerSocketRefresh.run(SocketServerInvoker.java:590)
  | 
  | "Timer-0" daemon prio=6 tid=0x02d770c8 nid=0x478 in Object.wait() [0x02edf000..0x02edf9e8]
  | 	at java.lang.Object.wait(Native Method)
  | 	- waiting on <0x231be7f8> (a java.util.TaskQueue)
  | 	at java.util.TimerThread.mainLoop(Unknown Source)
  | 	- locked <0x231be7f8> (a java.util.TaskQueue)
  | 	at java.util.TimerThread.run(Unknown Source)
  | 
  | "SocketServerInvoker#0-3416" prio=6 tid=0x00acf7d8 nid=0x408 runnable [0x02e9f000..0x02e9fa68]
  | 	at java.net.PlainSocketImpl.socketAccept(Native Method)
  | 	at java.net.PlainSocketImpl.accept(Unknown Source)
  | 	- locked <0x231be8b8> (a java.net.SocksSocketImpl)
  | 	at java.net.ServerSocket.implAccept(Unknown Source)
  | 	at java.net.ServerSocket.accept(Unknown Source)
  | 	at org.jboss.remoting.transport.socket.SocketServerInvoker.run(SocketServerInvoker.java:445)
  | 	at java.lang.Thread.run(Unknown Source)
  | 
  | "Low Memory Detector" daemon prio=6 tid=0x00a6f208 nid=0x59c runnable [0x00000000..0x00000000]
  | 
  | "CompilerThread0" daemon prio=10 tid=0x00a6ddd0 nid=0x164 waiting on condition [0x00000000..0x02bcf6cc]
  | 
  | "Signal Dispatcher" daemon prio=10 tid=0x00a6d120 nid=0x278 waiting on condition [0x00000000..0x00000000]
  | 
  | "Finalizer" daemon prio=8 tid=0x00a67f78 nid=0x49c in Object.wait() [0x02b4f000..0x02b4fa68]
  | 	at java.lang.Object.wait(Native Method)
  | 	- waiting on <0x23068d88> (a java.lang.ref.ReferenceQueue$Lock)
  | 	at java.lang.ref.ReferenceQueue.remove(Unknown Source)
  | 	- locked <0x23068d88> (a java.lang.ref.ReferenceQueue$Lock)
  | 	at java.lang.ref.ReferenceQueue.remove(Unknown Source)
  | 	at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)
  | 
  | "Reference Handler" daemon prio=10 tid=0x00a67aa0 nid=0x650 in Object.wait() [0x02b0f000..0x02b0fae8]
  | 	at java.lang.Object.wait(Native Method)
  | 	- waiting on <0x23068e08> (a java.lang.ref.Reference$Lock)
  | 	at java.lang.Object.wait(Unknown Source)
  | 	at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
  | 	- locked <0x23068e08> (a java.lang.ref.Reference$Lock)
  | 
  | "VM Thread" prio=10 tid=0x00a65a60 nid=0x13c runnable 
  | 
  | "VM Periodic Task Thread" prio=10 tid=0x00a70420 nid=0x960 waiting on condition 
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970451#3970451

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970451



More information about the jboss-user mailing list