Question6Replies3463Views×Close popoverAnuj Mishra (AnujM054) Ericsson Ericsson IN View Profile AnujM054 Member since 2015 5 posts Ericsson Posted: July 25, 2015Last activity: March 7, 2017Posted: 25 Jul 2015 13:45 EDTLast activity: 7 Mar 2017 0:25 EST Closed Sometimes email listener require restart to listen the email messageshi all,Sometimes email listener require restart to listen the email messagesIs there any setting to handle this Data Integration System Administration ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post 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 agoPosted: 25 Jul 2015 13:47 EDT×Close popoverEric Osman (ericosman_GCS) PEGA Senior Software Solutions Engineer Pegasystems US View Profileericosman_GCS PEGA replied to AnujM054Can 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 agoPosted: 27 Jul 2015 10:41 EDT×Close popoverLoving (NicholasLoving) View ProfileNicholasLoving replied to AnujM054Hi 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 agoPosted: 28 Jul 2015 3:49 EDT×Close popoverAnuj Mishra (AnujM054) Ericsson Ericsson IN View ProfileAnujM054 Ericsson replied to NicholasLovingWe are using Pega7.1.7I 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 agoPosted: 28 Jul 2015 10:28 EDT×Close popoverLoving (NicholasLoving) View ProfileNicholasLoving replied to AnujM054If 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-IntegrationEngineThat 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.EmailListenerIn 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 secondsIf 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 agoPosted: 11 Aug 2015 7:26 EDT×Close popoverAnuj Mishra (AnujM054) Ericsson Ericsson IN View ProfileAnujM054 Ericsson replied to NicholasLovingThanks 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: 3 years agoPosted: 7 Mar 2017 0:25 EST×Close popoverAlexander Kozlov (AlexanderK8875) ITCo Alexander Kozlov ITCo RU View ProfileAlexanderK8875 ITCo replied to AnujM054Hello, 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?