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

SA-106503

Summary



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] [ ] [ ] (internal.services.ServiceAPI) ERROR   - Authorization failed, please contact system administrator.
com.pega.pegarules.pub.clipboard.InvalidParameterException: InvalidParameter    Class not defined in dictionary: Rule-Service-null    aClassName    .createPage
    at com.pega.pegarules.session.internal.mgmt.base.ThreadPageDir.validateClass(ThreadPageDir.java:976) ~[prprivate.jar:?]
    at com.pega.pegarules.session.internal.mgmt.base.AbstractPageDirectory.createPage(AbstractPageDirectory.java:616) ~[prprivate.jar:?]
    at com.pega.pegarules.session.internal.mgmt.base.ThreadPageDir.createPage(ThreadPageDir.java:368) ~[prprivate.jar:?]
    at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.createPage(PRThreadImpl.java:513) ~[prprivate.jar:?]
    at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.createPage(PRThreadImpl.java:505) ~[prprivate.jar:?] at 
.
.
.
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1075) ~[prprivate.jar:?]
    at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:884) ~[prprivate.jar:?]
    at com.pega.pegarules.integration.engine.internal.services.listener.ServiceListenerBaseImpl.init(ServiceListenerBaseImpl.java:364) ~[printegrint.jar:?]
    at com.pega.pegarules.integration.engine.internal.services.listener.ListenerWrapper.launchListener(ListenerWrapper.java:195) ~[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.


Resolution



Apply HFix-45142.
Suggest Edit

Published April 15, 2020 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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