Question 6 Replies 3494 Views × Close popover Anuj Mishra (AnujM054) Ericsson Ericsson IN View Profile Send Message AnujM054 Member since 2015 5 posts Ericsson Posted: July 25, 2015 Last activity: March 7, 2017 Posted: 25 Jul 2015 13:45 EDT Last activity: 7 Mar 2017 0:25 EST Closed Sometimes email listener require restart to listen the email messages hi all, Sometimes email listener require restart to listen the email messages Is there any setting to handle this Data Integration System Administration Share × Close popover Facebook Twitter Linkedin Email Copy Link Copied! Moderation Team has archived post, learn more × Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Posted: 5 years ago Posted: 25 Jul 2015 13:47 EDT × Close popover Eric Osman (ericosman_GCS) PEGA Senior Software Solutions Engineer Pegasystems US View Profile Send Message ericosman_GCS PEGA replied to AnujM054 Can you use "trace open rule" to trace the activity or see a stack trace in pega log file to get a clue about why it is stopping ? /Eric Posted: 5 years ago Posted: 27 Jul 2015 10:41 EDT × Close popover Loving (NicholasLoving) View Profile Send Message NicholasLoving replied to AnujM054 Hi Anuj, What version of Pega is in use? Also, do you care about the reason why the email listener failed or are you looking for information about getting it to restart automatically? Posted: 5 years ago Posted: 28 Jul 2015 3:49 EDT × Close popover Anuj Mishra (AnujM054) Ericsson Ericsson IN View Profile Send Message AnujM054 Ericsson replied to NicholasLoving We are using Pega7.1.7 I am looking for the solution how to handle this as I saw some mails in mailbox and then I restarted it. It's not always the case but happen sometimes only Posted: 5 years ago Posted: 28 Jul 2015 10:28 EDT × Close popover Loving (NicholasLoving) View Profile Send Message NicholasLoving replied to AnujM054 If the listener encounters an error, it should restart automatically after some delay. The following DSS should allow you to adjust this delay: email/exceptionLatency Pega-IntegrationEngine That being said, if the email listener remains off for over 10 minutes after an issue, that sounds like there may be another issue at play. If you enable debug on the following class, you should see the listener display how long it's going to sleep for after encountering an error: com.pega.pegarules.integration.engine.internal.services.email.EmailListener In the logs you will see something similar to the following after an error is encountered: 2015-07-28 10:20:32,456 [ EMAIL-Thread-28] [ STANDARD] [ ] [ ] ( services.email.EmailListener) DEBUG EMAIL.IntSampleEmailListener.Listener IntSampleUser - Will sleep for 605 seconds If this number is VERY large, there is a problem. I know in 7.1.6 there was a hotfix created as this wasn't working correctly on EAR deployments. Posted: 5 years ago Posted: 11 Aug 2015 7:26 EDT × Close popover Anuj Mishra (AnujM054) Ericsson Ericsson IN View Profile Send Message AnujM054 Ericsson replied to NicholasLoving Thanks Nicholas, I am in process of enabling this log but it's not frequent and happens occasionally. So once this will happen then I will be in situation to debug. Posted: 4 years ago Posted: 7 Mar 2017 0:25 EST × Close popover Alexander Kozlov (AlexanderK8875) ITCo Alexander Kozlov ITCo RU View Profile Send Message AlexanderK8875 ITCo replied to AnujM054 Hello, I have the same problem. There's nothing interesting in logs,only alert about threshold time of commit. What was a reason of your error?