Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

pyStartEmailListener activity fails to start listeners



The 'prconfig/initServices/initEmail/default' Dynamic System Setting (DSS) is set to 'false' (Owning Ruleset - Pega-Engine) to disable all the email Listeners on node restart. However, error occurs when executing the out-of-the-box pyStartEmailListener activity to manually start the Listeners after server startup.

Error Messages

[f21.cached.thread-12] [STANDARD] [ ] [ ] ( ERROR   - Authorization failed, please contact system administrator. InvalidParameter    Class not defined in dictionary: Rule-Service-null    aClassName    .createPage
    at com.pega.pegarules.session.internal.mgmt.base.ThreadPageDir.validateClass( ~[prprivate.jar:?]
    at com.pega.pegarules.session.internal.mgmt.base.AbstractPageDirectory.createPage( ~[prprivate.jar:?]
    at com.pega.pegarules.session.internal.mgmt.base.ThreadPageDir.createPage( ~[prprivate.jar:?]
    at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.createPage( ~[prprivate.jar:?]
    at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.createPage( ~[prprivate.jar:?] at 
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked( ~[prprivate.jar:?]
    at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked( ~[prprivate.jar:?]
    at ~[printegrint.jar:?]
    at ~[printegrint.jar:?]
    ... 40 more

Steps to Reproduce

  1. Create an Email Listener.
  2. Set the 'prconfig/initServices/initEmail/default' DSS in the Owning Ruleset - Pega-Engine to 'false'.
  3. Restart the node.
  4. Execute the out-of-the-box pyStartEmailListener activity to manually start the Listener.

Root Cause

A defect in Pegasystems’ code or rules.


Apply HFix-45142.

Published April 15, 2020 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us