[
https://jira.jboss.org/jira/browse/JBMESSAGING-1743?page=com.atlassian.ji...
]
Howard Gao commented on JBMESSAGING-1743:
-----------------------------------------
I can reproduce it artificially -- meaning I changed the source code of JBM to simulate
this special case.
But I haven't found a way to write unit test. There is one detail I missed, which is
that in the failover handling, only if the failover failed can the said issue occurs.
Howard
JBoss Messaging halting on queueSender.send
-------------------------------------------
Key: JBMESSAGING-1743
URL:
https://jira.jboss.org/jira/browse/JBMESSAGING-1743
Project: JBoss Messaging
Issue Type: Bug
Components: Messaging Core
Affects Versions: 1.4.0.SP3.CP08
Environment: Virtualized RHEL 5 on IBM blades
Reporter: Zachary Bonig
Assignee: Howard Gao
Fix For: 1.4.0.SP3.CP10
Intermittently, messages sent through queueSender.send will fail and hang indefinitely
(until messaging server restart). These messages always hang in the same place:
Thread: http-webllm31%2F10.10.22.25-8080-1 : priority:5, demon:true, threadId:187,
threadState:WAITING, lockName:org.jboss.jms.client.container.ClosedInterceptor@15f2c
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:485)
org.jboss.jms.client.container.ClosedInterceptor.checkCloseAlreadyDone(ClosedInterceptor.java:245)
org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:142)
org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
org.jboss.jms.client.delegate.ClientProducerDelegate$close_N4742752445160157748.invokeNext(ClientProducerDelegate$close_N4742752445160157748.java)
org.jboss.jms.client.delegate.ClientProducerDelegate.close(ClientProducerDelegate.java)
org.jboss.jms.client.container.ClosedInterceptor.maintainRelatives(ClosedInterceptor.java:306)
org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:165)
org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
org.jboss.jms.client.delegate.ClientSessionDelegate$closing_2473194355759371067.invokeNext(ClientSessionDelegate$closing_2473194355759371067.java)
org.jboss.jms.client.delegate.ClientSessionDelegate.closing(ClientSessionDelegate.java)
org.jboss.jms.client.container.ClosedInterceptor.maintainRelatives(ClosedInterceptor.java:305)
org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:165)
org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
org.jboss.jms.client.delegate.ClientConnectionDelegate$closing_2473194355759371067.invokeNext(ClientConnectionDelegate$closing_2473194355759371067.java)
org.jboss.jms.client.delegate.ClientConnectionDelegate.closing(ClientConnectionDelegate.java)
org.jboss.jms.client.FailoverCommandCenter.failureDetected(FailoverCommandCenter.java:208)
org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:124)
org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext(ClientSessionDelegate$send_6145266547759487588.java)
org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext(ClientSessionDelegate$send_6145266547759487588.java)
org.jboss.jms.client.delegate.ClientSessionDelegate.send(ClientSessionDelegate.java)
org.jboss.jms.client.container.ProducerAspect.handleSend(ProducerAspect.java:276)
org.jboss.aop.advice.org.jboss.jms.client.container.ProducerAspect46.invoke(ProducerAspect46.java)
org.jboss.jms.client.delegate.ClientProducerDelegate$send_3961598017717988886.invokeNext(ClientProducerDelegate$send_3961598017717988886.java)
org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
org.jboss.jms.client.delegate.ClientProducerDelegate$send_3961598017717988886.invokeNext(ClientProducerDelegate$send_3961598017717988886.java)
org.jboss.jms.client.delegate.ClientProducerDelegate.send(ClientProducerDelegate.java)
org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:165)
org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:208)
org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:146)
com.tc.csclient.handler.SyncCSCommunicationHandler.getReplyThroughStaticQueue(SyncCSCommunicationHandler.java:249)
............ remainder of stack trace removed for Clarity................
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira