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

prpcServiceUtils times out on application export

SA-54123

Summary



An automated artifact store or application rollout mechanism is created and the prpcServiceUtils script is used to build the application .zip or .jar file. 
The prpcServiceUtils.properties file is configured to use [email protected]pega.com (pega.rest.username). 
The export.applicationName and export.applicationVersion are set prior to the export. However, the export fails since the Product rule is not found.



Error Messages



[java] 15:11:16.987 [pool-2-thread-1] DEBUG [les.serviceclient.rest.HttpClientFactory] - Creating client for system DefaultSystem 
[java]
[java] 15:11:16.994 [pool-2-thread-1] DEBUG [les.serviceclient.rest.HttpClientFactory] - Using credentials [email protected]_co.com 
[java] Exception in thread "main" Operation EXPORT failed on DefaultSystem
[java]    
at com.pega.pegarules.serviceclient.ClientMain.executeAndHandleResponse(ClientMain.java:116)
[java]
at com.pega.pegarules.serviceclient.ClientMain.main(ClientMain.java:61) 
[java] 15:11:17.820 [pool-2-thread-1] INFO  [egarules.serviceclient.rest.RestResponse] - DefaultSystem: Parsing response 
[java] 15:11:17.820 [pool-2-thread-1] INFO  [egarules.serviceclient.rest.RestResponse] - DefaultSystem: Parsing response of length 238
[java] 15:11:17.823 [pool-2-thread-1] INFO  [egarules.serviceclient.rest.RestResponse] - DefaultSystem: Parsing content of type application/json; charset=UTF-8 
[java] 15:11:17.830 [main] INFO  [viceclient.requestmanager.RequestManager] - Request on system DefaultSystem Successful 
[java] 15:11:17.839 [main] DEBUG [.pega.pegarules.serviceclient.ClientMain] - Processing successful jobs 
[java] 15:11:17.840 [main] DEBUG [.pega.pegarules.serviceclient.ClientMain] - Processing Failed jobs
[java]
[java]                                        FAILED JOBS 
[java] ---------------------------------------------------------------------------------------
[java]
[java] System Name         : DefaultSystem 
[java] Job ID              :
[java] Status              : FAILED 
[java] Error Messages      : No matching Product or Application found with inputs Product Name:Optimize Product Version:20180309.100755 Application Name: Application Version:
[java] ---------------------------------------------------------------------------------------
[java] 15:11:17.852 [main] INFO  [viceclient.requestmanager.RequestManager] - Shutting down executor service
[java] 15:11:17.852 [main] INFO  [viceclient.requestmanager.RequestManager] - Executor Service shutdown completed 

BUILD FAILED

D:\download2\pega\PRPC\PEGA_7_2_2\115290_Pega722\scripts\utils\prpcserviceutilsWrapper.xml:182: The following error occurred while executing this line:
D:\download2\pega\PRPC\PEGA_7_2_2\115290_Pega722\scripts\utils\prpcserviceutilsWrapper.xml:190: Java returned: 1



Steps to Reproduce

  1. Set up the prpcServiceUtils.properties file with the export properties.
  2. Run the prpcServiceUtils.sh. Wait for the command to time out.


Root Cause



Although [email protected]pega.com user is an administrative user, it are not a super user. Hence, though it has the administrator role, which grants a higher level of access to the various classes and instances in those classes, the user cannot override the ruleset stack restrictions.
Since this is the out-of-the-box administrative user, the user is only capable of viewing the out-of-the-box rulesets. Therefore, the user cannot locate the custom Product rule.



Resolution



Perform the following local-change:

Export a Product rule through the prpcUtils script or prpcServiceUtils script.

To perform this, ensure that the properties file is configured with a pega.jdbc.username or pega.rest.username respectively. That is, the user must be associated with an access group that has visibility of the Product rule and is the default access group.

Published August 19, 2019 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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