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
- Create an Email Listener.
- Set the 'prconfig/initServices/initEmail/default' DSS in the Owning Ruleset - Pega-Engine to 'false'.
- Restart the node.
- 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.
Published April 15, 2020 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.