Question

7
Replies
801
Views
Close popover
Abhishek Nanda (AbhishekN7250)
Zensar Technologies Ltd

Zensar Technologies Ltd
IN
AbhishekN7250 Member since 2018 1 post
Zensar Technologies Ltd
Posted: March 1, 2018
Last activity: August 31, 2018
Closed

Unable to Export RAP using Jenkins

Hi,

I am unable to export RAP from Jenkins using prpcServiceutils. I have tried executing the same from both Linux and Windows.

Please see below error:

Caused by: java.lang.IllegalStateException: Response does not contain Content-Type header.  The URL https://{HOSTNAME}/prweb/PRRestService/SystemManagement/v2/Export may be invalid
     [java] 	at com.pega.pegarules.serviceclient.rest.RestResponse.parseEntities(RestResponse.java:120) ~[prdeploy.jar:?]
     [java] 	at com.pega.pegarules.serviceclient.rest.RestResponse.parseResponse(RestResponse.java:101) ~[prdeploy.jar:?]
     [java] 	at com.pega.pegarules.serviceclient.rest.RestResponse.<init>(RestResponse.java:85) ~[prdeploy.jar:?]
     [java] 	at com.pega.pegarules.serviceclient.rest.RestClient.parseReponse(RestClient.java:237) ~[prdeploy.jar:?]
     [java] 	at com.pega.pegarules.serviceclient.rest.RestClient.doGet(RestClient.java:188) ~[prdeploy.jar:?]
     [java] 	at com.pega.pegarules.serviceclient.rest.RestClient.sendRequest(RestClient.java:79) ~[prdeploy.jar:?]
     [java] 	at com.pega.pegarules.serviceclient.rest.RestClient.sendRequest(RestClient.java:1) ~[prdeploy.jar:?]
     [java] 	at com.pega.pegarules.serviceclient.rest.AbstractRestRequest.execute(AbstractRestRequest.java:57) ~[prdeploy.jar:?]
     [java] 	at com.pega.pegarules.serviceclient.rest.AbstractRestRequest.execute(AbstractRestRequest.java:1) ~[prdeploy.jar:?]
     [java] 	at com.pega.pegarules.serviceclient.request.AbstractRequest.call(AbstractRequest.java:62) ~[prdeploy.jar:?]
     [java] 	at com.pega.pegarules.serviceclient.request.AbstractRequest.call(AbstractRequest.java:1) ~[prdeploy.jar:?]
     [java] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_161]
     [java] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_161]
     [java] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_161]
     [java] 	at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_161]
     [java] 
     [java]                                        FAILED JOBS
     [java] --------------------------------------------------------------------------------------------
     [java] 
     [java] System Name         : jenkins-Pega_POC-4                                                                                  
     [java] Job ID              :                                                                                                     
     [java] Status              :                                                                                                     
     [java] Error Messages      : REQUEST_EXECUTION_ERROR java.lang.IllegalStateException: Response does not contain Content-Type header.  The URL https://{HOSTNAME}/prweb/PRRestService/SystemManagement/v2/Export may be invalid
     [java] --------------------------------------------------------------------------------------------
     [java] 09:58:04.765 [main] INFO  [viceclient.requestmanager.RequestManager] - Shutting down executor service
     [java] 09:58:04.765 [main] INFO  [viceclient.requestmanager.RequestManager] - Executor Service shutdown completed
     [java] Exception in thread "main" Operation EXPORT failed on jenkins-Pega_POC-4,
     [java] 	at com.pega.pegarules.serviceclient.ClientMain.executeAndHandleResponse(ClientMain.java:116)
     [java] 	at com.pega.pegarules.serviceclient.ClientMain.main(ClientMain.java:61)

BUILD FAILED
C:\prpcServiceUtils_73\scripts\utils\prpcserviceutilsWrapper.xml:180: The following error occurred while executing this line:
C:\prpcServiceUtils_73\scripts\utils\prpcserviceutilsWrapper.xml:198: Java returned: 1

Total time: 2 seconds
Exiting with Error

Build step 'Execute Windows batch command' marked build as failure
Finished: FAILURE
DevOps System Administration Installation and Deployment
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.