activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hans Bausewein (JIRA)" <>
Subject [jira] Updated: (AMQ-1778) Request/Reply across a Queue stalls
Date Thu, 03 Jul 2008 09:51:00 GMT


Hans Bausewein updated AMQ-1778:

    Attachment: output.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:
        at org.apache.activemq.util.JMSExceptionSupport.create(
        at org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(
        at org.apache.activemq.ActiveMQConnection.asyncSendPacket(
        at org.apache.activemq.ActiveMQSession.close(
        at org.apache.activemq.ActiveMQQueueSession.close(
        at test.JmsSenderTest.facilityRequest(

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:
>             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

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message