[
https://issues.apache.org/activemq/browse/AMQ-1778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hans Bausewein updated AMQ-1778:
--------------------------------
Attachment: output.tar
JmsTest.tar
Modified the sources to:
- close receivers and senders
- log more exceptions
- create a QueueBrowser to look for the missing messages
I hope I still test the same issue, but it still seems to happen.
What I've found:
1. Apparently the MessageConsumer does not find the messages, but they are
still on the queue.
2. If the sender threads are interrupted after the timeout and after the
receiver closed, I get some InterruptedIOException in the
ActiveMQSession.close() method:
Caused by: javax.jms.JMSException: java.io.InterruptedIOException
at
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:62)
at
org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1178)
at
org.apache.activemq.ActiveMQConnection.asyncSendPacket(ActiveMQConnection.java:1170)
at org.apache.activemq.ActiveMQSession.close(ActiveMQSession.java:548)
at
org.apache.activemq.ActiveMQQueueSession.close(ActiveMQQueueSession.java:65)
at test.JmsSenderTest.facilityRequest(JmsSenderTest.java:253)
See "output-interrupted.log"
So closing the session takes quite long.
NOTE: purge (empty) the "testResponses" queue before a test. When there are a
lot of messages on it, the results are worse.
I guess it may be some resource issue. (sockets, memory,...?)
No time to check more, now.
hope it helps. Interesting case.
> Request/Reply across a Queue stalls
> ------------------------------------
>
> Key: AMQ-1778
> URL: https://issues.apache.org/activemq/browse/AMQ-1778
> Project: ActiveMQ
> Issue Type: Bug
> Affects Versions: 5.0.0, 5.1.0
> Reporter: Rob Davies
> Assignee: Rob Davies
> Fix For: 5.2.0
>
> Attachments: JmsTest.tar, output.tar
>
>
> see
> http://www.nabble.com/ActiveMQ-5.1-broken---repro-test-included-td17681102s2354.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.