Question
Defence
AU
Last activity: 19 Oct 2023 0:13 EDT
PDC - Not able to login as tenant admin when the tenant is created
Hi all,
I am facing an issue to log into PDC as a tenant admin. Here are steps to reproduce it and log error messages:
1. Installed Pega PDC Gov in client cloud (PDC 8.6.4, Pega 8.6.6 multi-tenant). UDF pljava is enabled, also created extension pg_stat_statements.
2. Logged in as AESServiceDeveloper, followed instruction to create a tenant and tenant admin.
3. Use the tenant url and tenant admin generated in step2, to log in. Login page displays error message:"The information you entered was not recognized.".
Any help is appreciated.
Thanks,
Haiming
Pega logs: (masked system name using *****)
Hi all,
I am facing an issue to log into PDC as a tenant admin. Here are steps to reproduce it and log error messages:
1. Installed Pega PDC Gov in client cloud (PDC 8.6.4, Pega 8.6.6 multi-tenant). UDF pljava is enabled, also created extension pg_stat_statements.
2. Logged in as AESServiceDeveloper, followed instruction to create a tenant and tenant admin.
3. Use the tenant url and tenant admin generated in step2, to log in. Login page displays error message:"The information you entered was not recognized.".
Any help is appreciated.
Thanks,
Haiming
Pega logs: (masked system name using *****)
2023-10-16 15:49:11,028 [ PegaRULES-Batch-37] [ STANDARD] [ *****] [ PDC:01.01.01] (ion.internal.PRGenProviderImpl) ERROR BOZQMTDNHIMFUX7ZRYAFNBAZ2DHG8FFDIA - Error in forceInvalidation for VTable Rule with pzInsKey=RULE-OBJ-ACTIVITY PEGAAES- CREATETEMPUSERSINTENANT #20210805T143515.278 GMT java.lang.IllegalStateException: The candidate reload API cannot be called from a multi tenant environment at com.pega.platform.executionengine.vtable.internal.VirtualTableImpl.reloadForCandidates(VirtualTableImpl.java:311) ~[execution-engine.jar:?] at com.pega.platform.executionengine.vtable.internal.VirtualTableImpl.lambda$reloadForCandidates$1(VirtualTableImpl.java:293) ~[execution-engine.jar:?] at com.pega.platform.executionengine.vtable.key.internal.VirtualRuleKeyFactoryImpl.doWithKey(VirtualRuleKeyFactoryImpl.java:171) ~[execution-engine.jar:?] at com.pega.platform.executionengine.vtable.internal.VirtualTableImpl.reloadForCandidates(VirtualTableImpl.java:288) ~[execution-engine.jar:?] at com.pega.pegarules.generation.internal.PRGenProviderImpl.reloadExecutionRuleCandidates(PRGenProviderImpl.java:1049) ~[prprivate-generation.jar:?] at com.pega.pegarules.generation.internal.PRGenProviderImpl.forceInvalidation(PRGenProviderImpl.java:1142) ~[prprivate-generation.jar:?] at com.pega.pegarules.session.internal.mgmt.Executable.noteChangeUsingInsKey(Executable.java:11836) ~[prprivate-session.jar:?] at com.pega.pegarules.priv.FUAUtil.throwUnresolvedAssemblyError(FUAUtil.java:450) ~[prpublic.jar:?] at com.pegarules.generated.activity.ra_action_createtempusersintenant_1273813e9b2d0cd769530e4f384baf83.step8_circum0(ra_action_createtempusersintenant_1273813e9b2d0cd769530e4f384baf83.java:881) ~[?:?] at com.pegarules.generated.activity.ra_action_createtempusersintenant_1273813e9b2d0cd769530e4f384baf83.perform(ra_action_createtempusersintenant_1273813e9b2d0cd769530e4f384baf83.java:218) ~[?:?] at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:2855) ~[prprivate-session.jar:?] at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:653) ~[prprivate-session.jar:?] at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivities(ThreadRunner.java:580) ~[prprivate-session.jar:?] at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivities(PRThreadImpl.java:512) ~[prprivate-session.jar:?] at com.pega.pegarules.session.internal.async.agent.QueueProcessor.executeBatchTask(QueueProcessor.java:305) ~[prprivate-session.jar:?] at com.pega.pegarules.session.internal.async.agent.QueueProcessor.execute(QueueProcessor.java:361) ~[prprivate-session.jar:?] at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:1174) ~[prprivate-session.jar:?] at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1380) ~[prprivate-session.jar:?] at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1123) ~[prprivate-session.jar:?] at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1004) ~[prprivate-session.jar:?] at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:831) ~[prprivate-session.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?] at java.lang.Thread.run(Thread.java:829) ~[?:?] 2023-10-16 15:49:11,030 [ PegaRULES-Batch-37] [ STANDARD] [ *****] [ PDC:01.01.01] ( BatchRequestorExecution) ERROR BOZQMTDNHIMFUX7ZRYAFNBAZ2DHG8FFDIA - Batch activity "PegaAES-.CreateTempUsersInTenant" threw: com.pega.pegarules.pub.PRRuntimeError: PRRuntimeError at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:721) ~[prprivate-session.jar:?] at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivities(ThreadRunner.java:580) ~[prprivate-session.jar:?] at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivities(PRThreadImpl.java:512) ~[prprivate-session.jar:?] at com.pega.pegarules.session.internal.async.agent.QueueProcessor.executeBatchTask(QueueProcessor.java:305) ~[prprivate-session.jar:?] at com.pega.pegarules.session.internal.async.agent.QueueProcessor.execute(QueueProcessor.java:361) ~[prprivate-session.jar:?] at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:1174) ~[prprivate-session.jar:?] at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1380) ~[prprivate-session.jar:?] at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1123) ~[prprivate-session.jar:?] at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1004) ~[prprivate-session.jar:?] at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:831) ~[prprivate-session.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?] at java.lang.Thread.run(Thread.java:829) ~[?:?] Caused by: com.pega.pegarules.pub.generator.UnresolvedAssemblyError: 1227815433§GenerateDynamicPassword§PegaEL-InvalidExpression No candidates found [possible function name, ruleset/version or number of parameter problem] @(PegaAES:PegaAES).GenerateDynamicPassword() at com.pega.pegarules.priv.FUAUtil.throwUnresolvedAssemblyError(FUAUtil.java:434) ~[prpublic.jar:?] at com.pega.pegarules.priv.FUAUtil.throwUnresolvedAssemblyError(FUAUtil.java:456) ~[prpublic.jar:?] at com.pegarules.generated.activity.ra_action_createtempusersintenant_1273813e9b2d0cd769530e4f384baf83.step8_circum0(ra_action_createtempusersintenant_1273813e9b2d0cd769530e4f384baf83.java:881) ~[?:?] at com.pegarules.generated.activity.ra_action_createtempusersintenant_1273813e9b2d0cd769530e4f384baf83.perform(ra_action_createtempusersintenant_1273813e9b2d0cd769530e4f384baf83.java:218) ~[?:?] at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:2855) ~[prprivate-session.jar:?] at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:653) ~[prprivate-session.jar:?]