[jira] Commented: (OFBIZ-156) JavaMailContainer.checkMessages doesn't handle exceptions well

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-156) JavaMailContainer.checkMessages doesn't handle exceptions well

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12661396#action_12661396 ]

Hans Bakker commented on OFBIZ-156:
-----------------------------------

I tried the patch and it did not work for me; the problem was still there. I tested with POP3. Then i switched to Iimap and then it seems to work...

> JavaMailContainer.checkMessages doesn't handle exceptions well
> --------------------------------------------------------------
>
>                 Key: OFBIZ-156
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-156
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Scott Gray
>            Priority: Minor
>         Attachments: JMailException.txt
>
>
> If an exception is thrown during checkMessages in the JavaMailContainer, the store is not closed which prevents subsequent attempts to connect and ultimately seems to lockup the poller.  The attached patch should be an improvement, but I'm not much of a programmer so it would be great if someone could look it over.
> Thanks
> Scott

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.