Support Article

Email Listener is not picking up mail from the specified folder



Developer has configured Email listener on two nodes to monitor a particular folder. However they noticed that they are not working properly.

Error Messages

2016-10-27 15:59:53,828 [Tst07_SU2,maxpri=10]] [ STANDARD] [ ] ( DEBUG EMAIL. EmailListener. - attempt to lock r.INBOX : false
--------------------------------------- Database-General Error during acquireLock bean method call nested exception is: java.lang.RuntimeException: Problem during method invocation (acquireLock)
From: (unknown)
at sun.reflect.GeneratedMethodAccessor136.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(

Steps to Reproduce

Configure the email listener on multiple nodes and with multiple threads to monitor a particular folder.

Root Cause

A defect in Pegasystems’ code or rules:
  • Locking is not properly handled incase of multiple thread and multiple node scenario.
  • Latency value is not consistent.
  • Improper mapping ( milliseconds used instead of seconds) of parameter in establishRequestor2Inner() of which is responsible for requestor deletion.


Apply HFix-30737.

Published December 22, 2016 - Updated June 16, 2017

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.