activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (AMQ-662) Infinite Loop after message resend
Date Wed, 05 Apr 2006 21:40:00 GMT
     [ 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


Mime
View raw message