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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.