manifoldcf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Wright <daddy...@gmail.com>
Subject Re: email job is down
Date Sat, 29 Apr 2017 00:26:15 GMT
Hi Cihad,

The right thing to do is to capture this exception:

>>>>>>
Caused by: javax.mail.MessagingException: * BYE JavaMail Exception:
java.io.IOException: Connection dropped by server?
<<<<<<

... and throw a ServiceInterruption when it is seen, instead of a
ManifoldCFException.

Can you create a ticket for this?  I'll try to add the appropriate code
when I am no longer traveling.

Thanks,
Karl




On Fri, Apr 28, 2017 at 7:43 PM, Cihad Guzel <cguzelg@gmail.com> wrote:

> Hi,
>
> 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. Is there anything we can do about it?
>
>  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)
> ~[?:?]
>
> --
> Cihad G├╝zel
> Regards
>

Mime
View raw message