[ 
https://issues.apache.org/jira/browse/JAMES-1350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tellier Benoit resolved JAMES-1350.
-----------------------------------
    Resolution: Fixed

We recently fixed error management in the mailet container.

> 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
>            Priority: Major
>         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 was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to