Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
ManifoldCF 2.7
-
None
Description
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:
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) ~[?:?]