Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 13178 invoked from network); 18 Sep 2008 13:51:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Sep 2008 13:51:25 -0000 Received: (qmail 83474 invoked by uid 500); 18 Sep 2008 13:51:21 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 83450 invoked by uid 500); 18 Sep 2008 13:51:21 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 83431 invoked by uid 99); 18 Sep 2008 13:51:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Sep 2008 06:51:21 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Sep 2008 13:50:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 73534234C1D9 for ; Thu, 18 Sep 2008 06:50:53 -0700 (PDT) Message-ID: <1332499014.1221745853471.JavaMail.jira@brutus> Date: Thu, 18 Sep 2008 06:50:53 -0700 (PDT) From: "Yari Marchetti (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQ-1941) Broker hangs on a STOMP client asking for receipts In-Reply-To: <1876455621.1221665752597.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-1941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45802#action_45802 ] Yari Marchetti commented on AMQ-1941: ------------------------------------- i made some more research on this issue and have some more informations. This bug seems to happen when there's a subscription active with ack mode set to 'auto' and then, asking the broker for a receipt for every following command issued. This lead the broker to hang not sending any receipts nor other messages, and not be able to close the socket as well. > Broker hangs on a STOMP client asking for receipts > -------------------------------------------------- > > Key: AMQ-1941 > URL: https://issues.apache.org/activemq/browse/AMQ-1941 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.1.0, 5.2.0 > Reporter: Yari Marchetti > Attachments: test.pl > > > Using STOMP protocol, under some circumstances, asking for a command receipt (by adding a "receipt:" header) leads the broker in a status where it won't answer nor it will let close the socket. > By running the attached perl scripts some times, first it will complete cleanly, by sending and receiving all messages correctly, but later it won't, because it will hang on waiting for a command receipt from the broker that never comes. > Once in this status, the broker won't stop gracefully using the 'activemq-admin stop' because it won't be able to close the socket that once had the client attached. In the activemq.log (or by looking at standard output) a: > The connection to '/x.x.x.x:x' is taking a long time to shutdown > will be generated every 5 seconds. > Tested with both 5.1 and latest snapshot of 5.2. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.