Support Article
CLU - prpcUtils fails with JSR94 service authentication failure
SA-28924
Summary
User is getting the following exception, while importing the RAP using the command line utility prpcUtils.sh/bat.
Note that the build is success, even though the exceptions are logged in the log files. Ideally, if there are exception while executing the importing, the build should fail.
Error Messages
[java] Caused by: com.pega.pegarules.priv.services.jsr94.PRServiceException: JSR94 service [Deployment][Utility][pxImportArchive] failed:com.pega.pegarules.pub.services.ServiceException: Authentication failed
[java] at com.pega.pegarules.integration.engine.internal.services.ServiceAPI.handleAuthentication(ServiceAPI.java:1606)
[java] at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.activityExecutionProlog(EngineAPI.java:548)
[java] at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:383)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
.
.
.
[delete] Deleting directory /log/pega1/pega-tmp/PegaInstallTemp-12-September-2016-17.15.11
import:
[echo] PegaRULES Process Commander Import complete.
BUILD SUCCESSFUL
Total time: 4 minutes 19 seconds
===============================
command exit code: 0
Steps to Reproduce
a) Configure the prpcUtils.properties with invalid username/password in pega.user.username/pega.user.password fields.
b) Use the prpcUtils scripts for importing the RAP.
Root Cause
A defect in Pegasystems’ code or rules. The JSR94Client is not delegating the exceptions to the caller when user imports from prpcUtils.bat.
Resolution
Apply HFix-29870 through hotfix manager.
Published October 25, 2016 - 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.