[
https://issues.apache.org/jira/browse/CONNECTORS-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Karl Wright updated CONNECTORS-1421:
------------------------------------
Attachment: CONNECTORS-1421.patch
Here's a possible patch. MCF will retry whatever failed for up to 12 hours
before finally giving up in this case.
> Email Job is Down Because of an Error
> -------------------------------------
>
> Key: CONNECTORS-1421
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1421
> Project: ManifoldCF
> Issue Type: Bug
> Components: Email connector
> Affects Versions: ManifoldCF 2.7
> Reporter: Cihad Guzel
> Assignee: Karl Wright
> Fix For: ManifoldCF 2.8
>
> Attachments: CONNECTORS-1421.patch
>
>
> I have created an email job that runs continuously. I have an error downing
> my job for a reason. Because it is a job that needs to be continuously run,
> errors should be handled and the job shouldn't be downed.
> My error as follow:
> {noformat}
> ERROR 2017-04-25T14:25:44,475 (Seeding thread) - Exception tossed: Error
> finding emails: * BYE JavaMail Exception: java.io.IOException: Connection
> dropped by server?
> org.apache.manifoldcf.core.interfaces.ManifoldCFException: Error finding
> emails: * BYE JavaMail Exception: java.io.IOException: Connection dropped by
> server?
> at
> org.apache.manifoldcf.crawler.connectors.email.EmailConnector.handleMessagingException(EmailConnector.java:1721)
> ~[?:?]
> at
> org.apache.manifoldcf.crawler.connectors.email.EmailConnector.addSeedDocuments(EmailConnector.java:335)
> ~[?:?]
> at
> org.apache.manifoldcf.crawler.system.SeedingThread.run(SeedingThread.java:150)
> [classes/:?]
> Caused by: javax.mail.MessagingException: * BYE JavaMail Exception:
> java.io.IOException: Connection dropped by server?
> at com.sun.mail.imap.IMAPFolder.open(IMAPFolder.java:961)
> ~[mail-1.4.5.jar:1.4.5]
> at
> org.apache.manifoldcf.crawler.connectors.email.EmailSession.openFolder(EmailSession.java:99)
> ~[?:?]
> at
> org.apache.manifoldcf.crawler.connectors.email.EmailConnector$OpenFolderThread.run(EmailConnector.java:1981)
> ~[?:?]
> Caused by: com.sun.mail.iap.ConnectionException: * BYE JavaMail Exception:
> java.io.IOException: Connection dropped by server?
> at com.sun.mail.iap.Protocol.handleResult(Protocol.java:356)
> ~[mail-1.4.5.jar:1.4.5]
> at
> com.sun.mail.imap.protocol.IMAPProtocol.examine(IMAPProtocol.java:886)
> ~[mail-1.4.5.jar:1.4.5]
> at com.sun.mail.imap.IMAPFolder.open(IMAPFolder.java:925)
> ~[mail-1.4.5.jar:1.4.5]
> at
> org.apache.manifoldcf.crawler.connectors.email.EmailSession.openFolder(EmailSession.java:99)
> ~[?:?]
> at
> org.apache.manifoldcf.crawler.connectors.email.EmailConnector$OpenFolderThread.run(EmailConnector.java:1981)
> ~[?:?]
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)