Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 980EDE92E for ; Tue, 8 Jan 2013 09:58:21 +0000 (UTC) Received: (qmail 69957 invoked by uid 500); 8 Jan 2013 09:58:20 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 69912 invoked by uid 500); 8 Jan 2013 09:58:20 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 69873 invoked by uid 99); 8 Jan 2013 09:58:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jan 2013 09:58:18 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of carlos.delgado@proyecti.es does not designate 216.139.250.139 as permitted sender) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jan 2013 09:58:13 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TsVwN-0005Af-Op for users@activemq.apache.org; Tue, 08 Jan 2013 01:57:51 -0800 Date: Tue, 8 Jan 2013 01:57:51 -0800 (PST) From: cdelgado To: users@activemq.apache.org Message-ID: <1357639071759-4661471.post@n4.nabble.com> Subject: ActiveMQ not delivering messages MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, I have an activemq 5.5 server embedded in a tomcat 6, and a scenario where it fails to deliver messages. The configuration is as follows: The activemq has a number of one-to-one queues, each for a particular consumer. The producer and each consumer normally works fine. The messages are persistent in the kaha db and are shown in the activemq console. There is just one broker. We have an scenario where the messages are not being delivered. When a consumer tries to get one message, the broker returns that there are no messages in the queue and the redelivered flag of the message is set to true. This is not expected, as the messages is clearly shown in the activemq console. After restarting the server, one message is delivered to one consumer. When the next consumer tries to consume another message from another queue, the same happens, and the server needs to be restarted again to deliver the next message, and so on. The consumer uses transactions to get the messages, but in every other scenario it works fine. We haven't been able to reproduce this behaviour in another installation, that has the following configuration: Consumer: -Windows Vista TM Business, Service Pack 2, 32 bits -java 1.6.0_20 -tomcat 6.0 Producer and broker: -Windows Server 2008 R2 Standard, Service Pack 1, 64 bits -java 1.6.0_19 -tomcat 6.0 I think the key is in the redelivered flag, which is set to true after trying to get the message, but I don't know what can be happening. I really need help with this, please ask if you need any other information. Thanks! Carlos -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-not-delivering-messages-tp4661471.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.