You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Andrzej Rusin (Created) (JIRA)" <se...@james.apache.org> on 2011/12/01 14:58:40 UTC

[jira] [Created] (JAMES-1350) Infinite loop in case of mailet throwing unchecked exception

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


[jira] [Updated] (JAMES-1350) Infinite loop in case of mailet throwing unchecked exception

Posted by "Andrzej Rusin (Updated) (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrzej Rusin updated JAMES-1350:
---------------------------------

    Attachment: James Infinite Loop Log.txt
    
> 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