Question

2
Replies
899
Views
JagadeepS Member since 2014 10 posts
Instellars Global Consulting Private Limited
Posted: 1 year ago
Last activity: 1 year 8 months ago
Closed

prpcServiceUtils failing with below exception REQUEST_EXECUTION_ERROR com.pega.pegarules.ser viceclient.exception.PRPCServiceException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.secur

Hi

prpcServiceUtils is failing with below exception when tried to perform Import

D:\PegaDeploy_NOM\scripts\utils>prpcServiceUtils import
Invoke our ant script, passing in the arguments as collected
Buildfile: D:\PegaDeploy_NOM\scripts\utils\prpcserviceutilsWrapper.xml
[echo] *** JVM Arguments -XX:MaxHeapSize=1280m -XX:MaxMetaspaceSize=512m **
*

-init:
[delete] Deleting directory D:\PegaDeploy_NOM\scripts\utils\generated
[pega:propertyparser] Reading Properties from : D:\PegaDeploy_NOM\scripts\utils/
prpcServiceUtils.properties
[pega:propertyparser] pega.rest.server.url=https://172.xx.xx.121:8443/prweb/PRRe
stService
[pega:propertyparser] pega.rest.username-tempuser
[pega:propertyparser] pega.rest.password=*****
[pega:propertyparser] pega.rest.proxy.host=
[pega:propertyparser] pega.rest.proxy.port=
[pega:propertyparser] pega.rest.proxy.username=
[pega:propertyparser] pega.rest.proxy.password=*****
[pega:propertyparser] pega.rest.proxy.domain=
[pega:propertyparser] pega.rest.proxy.workstation=
[pega:propertyparser] pega.rest.response.type=json
[pega:propertyparser] user.temp.dir=C:/pega_temp
[pega:propertyparser] export.archiveName=
[pega:propertyparser] export.productName=
[pega:propertyparser] export.productVersion=
[pega:propertyparser] export.applicationVersion=
[pega:propertyparser] export.applicationName=
[pega:propertyparser] export.branchName=
[pega:propertyparser] export.branchAppContext=
[pega:propertyparser] export.async=true
[pega:propertyparser] expose.includedClasses=
[pega:propertyparser] expose.includeDescendents=true
[pega:propertyparser] expose.excludedClasses=
[pega:propertyparser] expose.excludeDescendents=true
[pega:propertyparser] expose.startKey=
[pega:propertyparser] expose.endKey=
[pega:propertyparser] expose.startDate=
[pega:propertyparser] expose.endDate=
[pega:propertyparser] expose.reindex=true
[pega:propertyparser] expose.reindexType=nonpega
[pega:propertyparser] expose.commitRate=100
[pega:propertyparser] expose.numOfThreads=1
[pega:propertyparser] expose.async=true
[pega:propertyparser] import.archive.path=D:\PegaDeploy_NOM\Import
[pega:propertyparser] import.mode=import
[pega:propertyparser] import.existingInstances=override
[pega:propertyparser] import.nofailonerror=false
[pega:propertyparser] import.commitRate=100
[pega:propertyparser] import.compileLibraries=true
[pega:propertyparser] import.allowImportWithMissingDependencies=false
[pega:propertyparser] import.codesetName=Customer
[pega:propertyparser] import.codesetVersion=06-01-01
[pega:propertyparser] import.async=true
[pega:propertyparser] import.trackData=true
[pega:propertyparser] manageTrackedData.operation=
[pega:propertyparser] hotfix.operation=
[pega:propertyparser] hotfix.dlFilePath=
[pega:propertyparser] hotfix.catalogPath=
[pega:propertyparser] hotfix.bypassSchema=false
[pega:propertyparser] hotfix.force=false
[pega:propertyparser] hotfix.async=true
[pega:propertyparser] getstatus.jobID=
[pega:propertyparser] getstatus.operationName=
[pega:propertyparser] manageRestorePoints.action=
[pega:propertyparser] manageRestorePoints.restorePointName=
[pega:propertyparser] manageRestorePoints.restorePointLabel=
[pega:propertyparser] rollback.restorePointName=
[pega:propertyparser] rollback.action=SystemRollback
[pega:propertyparser] rollback.async=true
[pega:propertyparser] rollback.downloadLogToFile=true
[pega:propertyparser] updateAccessGroup.applicationName=
[pega:propertyparser] updateAccessGroup.applicationVersion=
[pega:propertyparser] updateAccessGroup.groupList=
[mkdir] Created dir: C:\Users\\AppData\Local\Temp\5\PegaInstallTemp-
16-November-2018-11.42.34
[pega:hasenoughspace] Found 42943464KB of free space on 'C:\Users\\AppDa
ta\Local\Temp\5\'

-processInstances:
[echo] Performing import on single instance(s)
[echo] argument line
[echo] -action import -propFileDir D:\PegaDeploy_NOM\scripts\utils/generat
ed -poolSize ${prpcserviceutils.pool.size} -requestTimeOut ${prpcserviceutils.re
quest.timeout} -tempDir C:\Users\\AppData\Local\Temp\5\/PegaInstallTemp-
16-November-2018-11.42.34 -artifactsDir logs
[propertyfile] Creating new property file: D:\PegaDeploy_NOM\scripts\utils\gener
ated\generated-connection.properties
[pega:propertyfilegenerator] pega.rest.server.url=https://172.xx.xx.121:8443/prw
eb/PRRestService
[pega:propertyfilegenerator] pega.rest.username=balaji
[pega:propertyfilegenerator] pega.rest.password=*****
[pega:propertyfilegenerator] pega.rest.proxy.host=
[pega:propertyfilegenerator] pega.rest.proxy.port=
[pega:propertyfilegenerator] pega.rest.proxy.username=
[pega:propertyfilegenerator] pega.rest.proxy.password=*****
[pega:propertyfilegenerator] pega.rest.proxy.domain=
[pega:propertyfilegenerator] pega.rest.proxy.workstation=
[pega:propertyfilegenerator] pega.rest.response.type=json
[pega:propertyfilegenerator] user.temp.dir=C:/pega_temp
[pega:propertyfilegenerator] export.archiveName=
[pega:propertyfilegenerator] export.productName=
[pega:propertyfilegenerator] export.productVersion=
[pega:propertyfilegenerator] export.applicationVersion=
[pega:propertyfilegenerator] export.applicationName=
[pega:propertyfilegenerator] export.branchName=
[pega:propertyfilegenerator] export.branchAppContext=
[pega:propertyfilegenerator] export.async=true
[pega:propertyfilegenerator] expose.includedClasses=
[pega:propertyfilegenerator] expose.includeDescendents=true
[pega:propertyfilegenerator] expose.excludedClasses=
[pega:propertyfilegenerator] expose.excludeDescendents=true
[pega:propertyfilegenerator] expose.startKey=
[pega:propertyfilegenerator] expose.endKey=
[pega:propertyfilegenerator] expose.startDate=
[pega:propertyfilegenerator] expose.endDate=
[pega:propertyfilegenerator] expose.reindex=true
[pega:propertyfilegenerator] expose.reindexType=nonpega
[pega:propertyfilegenerator] expose.commitRate=100
[pega:propertyfilegenerator] expose.numOfThreads=1
[pega:propertyfilegenerator] expose.async=true
[pega:propertyfilegenerator] import.archive.path=D:\PegaDeploy_NOM\Import
[pega:propertyfilegenerator] import.mode=import
[pega:propertyfilegenerator] import.existingInstances=override
[pega:propertyfilegenerator] import.nofailonerror=false
[pega:propertyfilegenerator] import.commitRate=100
[pega:propertyfilegenerator] import.compileLibraries=true
[pega:propertyfilegenerator] import.allowImportWithMissingDependencies=false
[pega:propertyfilegenerator] import.codesetName=Customer
[pega:propertyfilegenerator] import.codesetVersion=06-01-01
[pega:propertyfilegenerator] import.async=true
[pega:propertyfilegenerator] import.trackData=true
[pega:propertyfilegenerator] manageTrackedData.operation=
[pega:propertyfilegenerator] hotfix.operation=
[pega:propertyfilegenerator] hotfix.dlFilePath=
[pega:propertyfilegenerator] hotfix.catalogPath=
[pega:propertyfilegenerator] hotfix.bypassSchema=false
[pega:propertyfilegenerator] hotfix.force=false
[pega:propertyfilegenerator] hotfix.async=true
[pega:propertyfilegenerator] getstatus.jobID=
[pega:propertyfilegenerator] getstatus.operationName=
[pega:propertyfilegenerator] manageRestorePoints.action=
[pega:propertyfilegenerator] manageRestorePoints.restorePointName=
[pega:propertyfilegenerator] manageRestorePoints.restorePointLabel=
[pega:propertyfilegenerator] rollback.restorePointName=
[pega:propertyfilegenerator] rollback.action=SystemRollback
[pega:propertyfilegenerator] rollback.async=true
[pega:propertyfilegenerator] rollback.downloadLogToFile=true
[pega:propertyfilegenerator] updateAccessGroup.applicationName=
[pega:propertyfilegenerator] updateAccessGroup.applicationVersion=
[pega:propertyfilegenerator] updateAccessGroup.groupList=
[pega:propertyfilegenerator] DefaultSystem.pega.rest.server.url=https://172.30.5
0.121:8443/prweb/PRRestService
[pega:propertyfilegenerator] Systems Configured
[pega:propertyfilegenerator] DefaultSystem
[pega:propertyfilegenerator] Generated D:\PegaDeploy_NOM\scripts\utils\generated
\DefaultSystem.prpcServiceUtils.properties
[echo] *** JVM Arguments -XX:MaxHeapSize=1280m -XX:MaxMetaspaceSize=512m **
*

_callService:
[java] 11:42:35.988 [main] INFO [a.pegarules.serviceclient.ClientSettings]
- -action import -propFileDir D:\PegaDeploy_NOM\scripts\utils/generated -poolSi
ze ${prpcserviceutils.pool.size} -requestTimeOut ${prpcserviceutils.request.time
out} -tempDir C:\Users\\AppData\Local\Temp\5\/PegaInstallTemp-16-Novembe
r-2018-11.42.34 -artifactsDir logs
[java] 11:42:35.988 [main] INFO [a.pegarules.serviceclient.ClientSettings]
- Setting Thread Pool Size to default 5
[java] 11:42:35.988 [main] INFO [a.pegarules.serviceclient.ClientSettings]
- Setting Request TimeOut to default 300
[java] 11:42:36.004 [main] INFO [.pega.pegarules.serviceclient.ClientMain]
- Initializing client Current Operation = IMPORT; Thread Pool Size = 5; Request
TimeOut = 300; TemporaryDirectory = C:\Users\\AppData\Local\Temp\5\/Pega
InstallTemp-16-November-2018-11.42.34
[java] 11:42:36.011 [main] INFO [viceclient.requestmanager.RequestManager]
- Initializing Request Manager
[java] 11:42:36.012 [main] INFO [viceclient.requestmanager.RequestManager]
- Initializing ExecutorService with pool size 5
[java] 11:42:36.013 [main] INFO [viceclient.requestmanager.RequestManager]
- Performing IMPORT with params [System Name = DefaultSystem Parameters = {hotf
ix.async=true, expose.includeDescendents=true, getstatus.jobID=, export.async=tr
ue, expose.async=true, expose.excludedClasses=, export.productName=, import.comm
itRate=100, export.branchAppContext=, expose.commitRate=100, import.existingInst
ances=override, user.temp.dir=C:/pega_temp, expose.reindex=true, hotfix.operatio
n=, expose.excludeDescendents=true, pega.rest.proxy.password=, updateAccessGroup
.applicationName=, import.nofailonerror=false, export.applicationVersion=, impor
t.codesetVersion=06-01-01, pega.rest.proxy.username=, expose.includedClasses=, r
ollback.action=SystemRollback, pega.rest.server.url=https://172.xx.xx.121:8443/p
rweb/PRRestService, updateAccessGroup.applicationVersion=, expose.startKey=, exp
ose.reindexType=nonpega, import.codesetName=Customer, manageRestorePoints.restor
ePointLabel=, pega.rest.password=rules, import.async=true, import.compileLibrari
es=true, hotfix.force=false, export.productVersion=, rollback.restorePointName=,
import.allowImportWithMissingDependencies=false, pega.rest.username=balaji, rol
lback.async=true, export.branchName=, getstatus.operationName=, expose.endDate=,
rollback.downloadLogToFile=true, pega.rest.proxy.port=, pega.rest.proxy.worksta
tion=, expose.endKey=, import.archive.path=D:\PegaDeploy_NOM\Import, hotfix.dlFi
lePath=, export.archiveName=, manageRestorePoints.restorePointName=, updateAcces
sGroup.groupList=, import.mode=import, expose.startDate=, expose.numOfThreads=1,
manageTrackedData.operation=, hotfix.bypassSchema=false, hotfix.catalogPath=, p
ega.rest.proxy.domain=, manageRestorePoints.action=, import.trackData=true, expo
rt.applicationName=, pega.rest.response.type=json, pega.rest.proxy.host=}]
[java]
[java] 11:42:36.718 [pool-2-thread-1] INFO [.pegarules.serviceclient.rest.
RestClient] - DefaultSystem: Attaching files [D:\PegaDeploy_NOM\Import\NomDataSp
ouse.jar]
[java] 11:42:36.733 [pool-2-thread-1] INFO [.pegarules.serviceclient.rest.
RestClient] - DefaultSystem: Adding parameters {jsonBody={"mode":"import","async
":"true","codesetVersion":"06-01-01","compileLibraries":"true","allowImportWithM
issingDependencies":"false","commitRate":"100","codesetName":"Customer","existin
gInstances":"override","trackData":"true","nofailonerror":"false"}}
[java] 11:42:36.880 [main] INFO [viceclient.requestmanager.RequestManager]
- Request on system DefaultSystem failed
[java]
[java] FAILED JOBS
[java] --------------------------------------------------------------------
------------------------
[java]
[java] System Name : DefaultSystem

[java] Job ID :

[java] Status :

[java] Error Message : REQUEST_EXECUTION_ERROR com.pega.pegarules.ser
viceclient.exception.PRPCServiceException: javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path building failed: sun.securi
ty.provider.certpath.SunCertPathBuilderException: unable to find valid certifica
tion path to requested target
[java] --------------------------------------------------------------------
------------------------
[java] 11:42:36.911 [main] INFO [viceclient.requestmanager.RequestManager]
- Shutting down executor service
[java] 11:42:36.911 [main] INFO [viceclient.requestmanager.RequestManager]
- Executor Service shutdown completed
[java] Exception in thread "main" Operation IMPORT failed on DefaultSystem,

[java] at com.pega.pegarules.serviceclient.ClientMain.executeAndHandleR
esponse(ClientMain.java:116)
[java] at com.pega.pegarules.serviceclient.ClientMain.main(ClientMain.j
ava:61)

BUILD FAILED
D:\PegaDeploy_NOM\scripts\utils\prpcserviceutilsWrapper.xml:182: The following e
rror occurred while executing this line:
D:\PegaDeploy_NOM\scripts\utils\prpcserviceutilsWrapper.xml:190: Java returned:
1

Total time: 3 seconds
Exiting with Error

Could some one help on how to configure keystore for certificate in prpcServiceUtils ?

Low-Code App Development DevOps Low-Code App Development Installation and Deployment
Moderation Team has archived post
Share this page LinkedIn