From activemq-dev-return-640-apmail-geronimo-activemq-dev-archive=geronimo.apache.org@geronimo.apache.org Wed Apr 05 21:40:25 2006 Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 48004 invoked from network); 5 Apr 2006 21:40:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Apr 2006 21:40:22 -0000 Received: (qmail 27701 invoked by uid 500); 5 Apr 2006 21:40:22 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 27607 invoked by uid 500); 5 Apr 2006 21:40:22 -0000 Mailing-List: contact activemq-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-dev@geronimo.apache.org Received: (qmail 27598 invoked by uid 99); 5 Apr 2006 21:40:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Apr 2006 14:40:22 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Apr 2006 14:40:21 -0700 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 51F4FD4A03 for ; Wed, 5 Apr 2006 22:40:00 +0100 (BST) Message-ID: <1226999700.1144273200333.JavaMail.jira@ajax> Date: Wed, 5 Apr 2006 22:40:00 +0100 (BST) From: "Hiram Chirino (JIRA)" To: activemq-dev@geronimo.apache.org Subject: [jira] Assigned: (AMQ-662) Infinite Loop after message resend In-Reply-To: <2103612770.1143470819214.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ https://issues.apache.org/activemq/browse/AMQ-662?page=all ] Hiram Chirino reassigned AMQ-662: --------------------------------- Assign To: Hiram Chirino (was: Rob Davies) > Infinite Loop after message resend > ---------------------------------- > > Key: AMQ-662 > URL: https://issues.apache.org/activemq/browse/AMQ-662 > Project: ActiveMQ > Type: Bug > Components: Broker > Versions: 4.0 RC1 > Environment: JDK 1.5 > Reporter: John Pederzolli > Assignee: Hiram Chirino > Priority: Critical > Attachments: activemq.xml, applicationContext.xml > > > when a runtime exception in onMessage the messages are getting rolledback/resent as expected, however AMQ appears to go into an infinite loop at this point taking up 100% of the CPU. Turning debug on shows the following repeated: > ... > [DEBUG] 2006-03-21 16:55:37,586 - org.apache.activemq.ra.ServerSessionImpl:1 (ServerSessionImpl.java:159)- run loop start > [DEBUG] 2006-03-21 16:55:37,586 - org.apache.activemq.ra.ServerSessionImpl:3 (ServerSessionImpl.java:172)- run loop end > [DEBUG] 2006-03-21 16:55:37,586 - org.apache.activemq.ra.ServerSessionImpl:22 (ServerSessionImpl.java:172)- run loop end > [DEBUG] 2006-03-21 16:55:37,586 - org.apache.activemq.ra.ServerSessionImpl:11 (ServerSessionImpl.java:159)- run loop start > [DEBUG] 2006-03-21 16:55:37,586 - org.apache.activemq.ra.ServerSessionImpl:0 (ServerSessionImpl.java:172)- run loop end > [DEBUG] 2006-03-21 16:55:37,586 - org.apache.activemq.ra.ServerSessionImpl:17 (ServerSessionImpl.java:172)- run loop end > [DEBUG] 2006-03-21 16:55:37,586 - org.apache.activemq.ra.ServerSessionImpl:1 (ServerSessionImpl.java:172)- run loop end > The resend (and resulting infinte loop) was triggered by throwing a RuntimeException in the onMessage method of the POJO MDB. > This is being used alongside Spring 1.2.7, Jencks 1.1.1 in a POJO message driven bean setup. Attached are the configurations producing the error. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira