[ 
http://issues.apache.org/jira/browse/JAMES-372?page=comments#action_12314218 ] 

Danny Angus commented on JAMES-372:
-----------------------------------

Agree with Stefano, change commited to use the type of the cause of the RE as 
the criteria in the decsion whether or not to delete.
If the cause is an Error don't delete, else delete.

> Inboxes deleted during OutOfMemoryError
> ---------------------------------------
>
>          Key: JAMES-372
>          URL: http://issues.apache.org/jira/browse/JAMES-372
>      Project: James
>         Type: Bug
>   Components: MailStore & MailRepository
>     Versions: 2.2.0
>  Environment: Linux
>     Reporter: Theodore Watson
>     Assignee: Danny Angus
>      Fix For: 3.0
>  Attachments: AvalonMailRepository.java, AvalonMailRepository.java.diff
>
> I received several hundred of the following messages in my mailstore log and 
> lost entire inboxes at the same time:
> 04/05/05 11:08:30 DEBUG mailstore: Exception retrieving mail:
> java.lang.RuntimeException: Exception caught while retrieving an
> object, cause: java.lang.OutOfMemoryError, so we're deleting it... good
> riddance!
> I'm guessing whoever was checking their email at this time lost all their 
> mail.
> I was also asked to remind you to change your error message.  I must say, I 
> laughed after reading "good riddance" in regard to all of these valid emails.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.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]

Reply via email to