[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Clients Hanging...

clebert.suconic@jboss.com do-not-reply at jboss.com
Sat May 17 19:49:41 EDT 2008


When I run the perfSender (without perfListener) it's very common the client hanging without an answer.

The client keeps waiting on this condition, as if a message was dropped on the wire.

 [java] "main" prio=1 tid=0x000000004011d620 nid=0xa70 in Object.wait() [0x00007fff4bbc1000..0x00007fff4bbc2190]
  |      [java] 	at java.lang.Object.wait(Native Method)
  |      [java] 	- waiting on <0x00007f693877a5f0> (a org.jboss.messaging.core.client.impl.RemotingConnectionImpl$ResponseHandler)
  |      [java] 	at org.jboss.messaging.core.client.impl.RemotingConnectionImpl$ResponseHandler.waitForResponse(RemotingConnectionImpl.java:276)
  |      [java] 	- locked <0x00007f693877a5f0> (a org.jboss.messaging.core.client.impl.RemotingConnectionImpl$ResponseHandler)
  |      [java] 	at org.jboss.messaging.core.client.impl.RemotingConnectionImpl.sendBlocking(RemotingConnectionImpl.java:167)
  |      [java] 	at org.jboss.messaging.core.client.impl.ClientSessionImpl.close(ClientSessionImpl.java:485)
  |      [java] 	- locked <0x00007f691bbc12d0> (a org.jboss.messaging.core.client.impl.ClientSessionImpl)
  |      [java] 	at org.jboss.messaging.core.client.impl.ClientConnectionImpl.closeChildren(ClientConnectionImpl.java:222)
  |      [java] 	at org.jboss.messaging.core.client.impl.ClientConnectionImpl.close(ClientConnectionImpl.java:163)
  |      [java] 	- locked <0x00007f691bbc1490> (a org.jboss.messaging.core.client.impl.ClientConnectionImpl)
  |      [java] 	at org.jboss.messaging.jms.client.JBossConnection.close(JBossConnection.java:219)
  |      [java] 	at org.jboss.jms.example.PerfExample.runSender(PerfExample.java:137)
  |      [java] 	at org.jboss.jms.example.PerfExample.main(PerfExample.java:74)
  |      [java] 
  | 

This happens on Persistent or NonPersistent messages. Allthough on NonPersistent messages it would happen more frequently.

Any idea why?


I may do some research on this later (maybe monday). But maybe this is known issue.

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

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



More information about the jboss-dev-forums mailing list