Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9DD4F9026 for ; Fri, 24 Feb 2012 22:28:12 +0000 (UTC) Received: (qmail 16622 invoked by uid 500); 24 Feb 2012 22:28:12 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 16578 invoked by uid 500); 24 Feb 2012 22:28:12 -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 16568 invoked by uid 99); 24 Feb 2012 22:28:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Feb 2012 22:28:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Feb 2012 22:28:09 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B209C3397D8 for ; Fri, 24 Feb 2012 22:27:48 +0000 (UTC) Date: Fri, 24 Feb 2012 22:27:48 +0000 (UTC) From: "Timothy Bish (Commented) (JIRA)" To: dev@activemq.apache.org Message-ID: <138188763.17216.1330122468730.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1063665997.13073.1328455073988.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (AMQ-3697) Messages not delivered to connecter consumer MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AMQ-3697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13215999#comment-13215999 ] Timothy Bish commented on AMQ-3697: ----------------------------------- Would be interesting if you could create a junit test case that can reproduce your issue. > Messages not delivered to connecter consumer > -------------------------------------------- > > Key: AMQ-3697 > URL: https://issues.apache.org/jira/browse/AMQ-3697 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.5.1 > Environment: SunOS 5.10 Generic_142909-17 sun4v sparc SUNW,T5140 > Reporter: William > Priority: Critical > > I am using ActiveMQ 5.5.1 and sometimes messages are not dispatched to connected consumers. > A single broker is used. No transaction and no persistence is used for message delivery. Message consumers are spring template made for topic consuption. Optimize acknowledge is enabled and acknowledgment is auto. > By Looking at JMX Topic MBean I can see that messages are received but not dispatched (and of course non depueued). I noticed that disptatched count was 100 more than dequeue count. > From JMX : > * Received count : 4502 > * Dispatched count : 3756 > * Dequeued count : 3656 > If a start a new consumer on the same topic, the messages are only dispatched to the new consumer while the older one is still seen as connected (consumer count on the mbean is 2). Once the problem appear the only solution is to restart the consumer or the activemq instance. > It seems that even if the consumer is seen as connected, messages as not dispatched for an unknow reason. > Which logs can I enable in order to diagnose the problem (on activemq side and/or consumer side) ? I have already made a thread dump, not thread are blocke -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira