james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrzej Rusin (Created) (JIRA)" <server-...@james.apache.org>
Subject [jira] [Created] (JAMES-1350) Infinite loop in case of mailet throwing unchecked exception
Date Thu, 01 Dec 2011 13:58:40 GMT
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message