Question
Coforge - DPA Pvt. Ltd. (Incessant Technologies Pvt. Ltd)
Coforge - DPA Pvt. Ltd. (Incessant Technologies Pvt. Ltd)
CA
Coforge - DPA Pvt. Ltd. (Incessant Technologies Pvt. Ltd)
Posted: Oct 23, 2018
Last activity: Nov 20, 2018
Last activity: 20 Nov 2018 13:09 EST
Closed
Solved
PEGA 7.2.2 Email Listener "javax.mail.FolderClosedException" Exception
Hi All,
We are getting below exception when email listener is running and processing items from mail box:
( services.email.EmailListener) ERROR EMAIL.CreateEmailResponseProcessor.Listener svc_P_pega_admin - caught javax.mail.FolderClosedException when processing message number 6
javax.mail.FolderClosedException
at com.sun.mail.imap.IMAPMessage.getProtocol(IMAPMessage.java:169)
at com.sun.mail.imap.IMAPMessage.loadFlags(IMAPMessage.java:1546)
at com.sun.mail.imap.IMAPMessage.isSet(IMAPMessage.java:1021)
at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.emailProcess(EmailListener.java:3718)
at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.oneIteration(EmailListener.java:2883)
at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.run_(EmailListener.java:2749)
at com.pega.pegarules.integration.engine.internal.services.listener.ServiceListenerBaseImpl.run(ServiceListenerBaseImpl.java:454)
at java.lang.Thread.run(Unknown Source)
Once the error is encountered, email listener stops after some time and even restart of listener doesn't help.
Show More
Hi All,
We are getting below exception when email listener is running and processing items from mail box:
( services.email.EmailListener) ERROR EMAIL.CreateEmailResponseProcessor.Listener svc_P_pega_admin - caught javax.mail.FolderClosedException when processing message number 6
javax.mail.FolderClosedException
at com.sun.mail.imap.IMAPMessage.getProtocol(IMAPMessage.java:169)
at com.sun.mail.imap.IMAPMessage.loadFlags(IMAPMessage.java:1546)
at com.sun.mail.imap.IMAPMessage.isSet(IMAPMessage.java:1021)
at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.emailProcess(EmailListener.java:3718)
at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.oneIteration(EmailListener.java:2883)
at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.run_(EmailListener.java:2749)
at com.pega.pegarules.integration.engine.internal.services.listener.ServiceListenerBaseImpl.run(ServiceListenerBaseImpl.java:454)
at java.lang.Thread.run(Unknown Source)
Once the error is encountered, email listener stops after some time and even restart of listener doesn't help. We have the recommended settings in the email listener configuration.
I have found the below link in PDN but there is no resolution provided:
Can anyone check and provide resolution details.
***Edited by Moderator: Pallavi to update platform capability tags***
Show Less