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

TimeoutException during export of prpcServiceUtils using Jenkins

SA-59977

Summary



Export of the integrated prpcServiceUtils through Jenkins fails with TimeoutException.


Error Messages



[java] java.util.concurrent.TimeoutException
[java] at java.util.concurrent.FutureTask.get(FutureTask.java:205) ~[?:1.8.0_31]
[java] at com.pega.pegarules.serviceclient.requestmanager.RequestManager.processResponse(RequestManager.java:156) [prdeploy.jar:?]
[java] at com.pega.pegarules.serviceclient.requestmanager.RequestManager.doOperation(RequestManager.java:141) [prdeploy.jar:?]
[java] at com.pega.pegarules.serviceclient.ClientMain.executeAndHandleResponse(ClientMain.java:100) [prdeploy.jar:?]
[java] at com.pega.pegarules.serviceclient.ClientMain.main(ClientMain.java:61) [prdeploy.jar:?]



Steps to Reproduce



Run Jenkins project to export the integrated prpcServiceUtils.


Root Cause



A defect or configuration issue in the operating environment. The export is run synchronously and there is a timeout set in Jenkins to timeout the process after 5 minutes. The export of the application did not finish after 5 minutes resulting in the exception.


Resolution

Make the following change to the operating environment: 

For large operations either remove the timeout in Jenkins or change the operation to occur asynchronously.

In prpcServiceUtils.properties this is the property that controls the export sync/async. Set this to true and run the export. 

When executing the operation in async mode, the request is queued. The status of the request can be retrieved by setting the jobID:

export.async=false



 

Published July 31, 2018 - 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