Question6Replies3434Views AnujM054 Member since 2015 5 posts Ericsson Posted: 5 years agoLast activity: 3 years 7 months ago 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 agoericosman_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 agoNicholasLoving 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 agoAnujM054 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 agoNicholasLoving 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 agoAnujM054 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 agoAlexanderK8875 Masterdata 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?