Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-1421

Email Job is Down Because of an Error

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: ManifoldCF 2.7
    • Fix Version/s: ManifoldCF 2.8
    • Component/s: Email connector
    • Labels:
      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) ~[?:?]
      

        Attachments

        1. CONNECTORS-1421.patch
          1 kB
          Karl Wright

          Activity

            People

            • Assignee:
              kwright@metacarta.com Karl Wright
              Reporter:
              cguzel Cihad Guzel
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: