Infinite loop in case of mailet throwing unchecked exception
------------------------------------------------------------
Key: JAMES-1350
URL: https://issues.apache.org/jira/browse/JAMES-1350
Project: JAMES Server
Issue Type: Bug
Components: SpoolManager & Processors
Affects Versions: 3.0-beta3
Environment: james 3.0-beta4-20110922 on Linux, java 1.6.0_25-b06
<bean id="mailqueuefactory"
class="org.apache.james.queue.file.FileMailQueueFactory"/>
Reporter: Andrzej Rusin
Attachments: James Infinite Loop Log.txt
When a mailet (custom one) throws unchecked exception (NullPointerException in
this case), spool enters an infinite (looking) loop, and fills up the disk with
error logs, like attached. Before filling up the disk, it made 882524 attempts
like in the attached log.
Mailet configured like that:
<mailet match="All" class="xxx.FixNotStandardMessageId"
onMailetException="ignore"/>
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]