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 E776EE293 for ; Tue, 19 Feb 2013 13:58:49 +0000 (UTC) Received: (qmail 95417 invoked by uid 500); 19 Feb 2013 13:58:49 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 95389 invoked by uid 500); 19 Feb 2013 13:58:49 -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 95363 invoked by uid 99); 19 Feb 2013 13:58:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2013 13:58:48 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2013 13:58:42 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1U7ni9-00029f-Ja for users@activemq.apache.org; Tue, 19 Feb 2013 05:58:21 -0800 Date: Tue, 19 Feb 2013 05:58:21 -0800 (PST) From: Nitesh To: users@activemq.apache.org Message-ID: <1361282301594-4663702.post@n4.nabble.com> Subject: Active MQ and JBOSS Message stuck in queue after restart 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 am using JBoss 7.1.1 Final with ActiveMQ 5.7.0 I am using same datasource in my ear and activemq.rar with JDBC persistance. When my server crash I see some messages in queues database tables On restart of server most of them get recovered but few get stuck in queue and are not recovered even after multiple restarts. This time stuck message count is 2 When I look at JMX view it says QueueSize = 2 for myQueue and there is two entries under RecoveredXATransaction when I click on heuristicCommit or heuristicRollback operations these messages get delivered and removed removed from the queue Can someone tell me how to fix this Thanks, Nitesh -- View this message in context: http://activemq.2283324.n4.nabble.com/Active-MQ-and-JBOSS-Message-stuck-in-queue-after-restart-tp4663702.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.