Issue testing Connect-REST
We had a recent upgrade from Pega 7.3.1 to 7.4. After upgrade , Connect-REST rule giving issues in Pega 7.4 - The same rule works fine in 7.3.1. Throwing the following exception :
Step Status | FAIL |
Step Status Info |
Error loading D_pyConnectRESTResults , Reason : org/apache/commons/logging/LogFactory |
Detailed Exception is :
We had a recent upgrade from Pega 7.3.1 to 7.4. After upgrade , Connect-REST rule giving issues in Pega 7.4 - The same rule works fine in 7.3.1. Throwing the following exception :
Step Status | FAIL |
Step Status Info |
Error loading D_pyConnectRESTResults , Reason : org/apache/commons/logging/LogFactory |
Detailed Exception is :
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.apache.http.conn.ssl.DefaultHostnameVerifier.<init>(DefaultHostnameVerifier.java:82) ~[httpclient-4.5.3.jar:?] at org.apache.http.conn.ssl.DefaultHostnameVerifier.<init>(DefaultHostnameVerifier.java:91) ~[httpclient-4.5.3.jar:?] at com.pega.platform.integrationcore.client.http.internal.ComponentsHttpClient.applySSLSocketFactory(ComponentsHttpClient.java:915) ~[integration-core.jar:?] at com.pega.pegarules.integration.engine.internal.connect.rest.RESTConnector.setupTLS(RESTConnector.java:883) ~[printegrint.jar:?] at com.pega.pegarules.integration.engine.internal.connect.rest.RESTConnector.initializeHttpClient(RESTConnector.java:935) ~[printegrint.jar:?] at com.pega.pegarules.integration.engine.internal.connect.rest.RESTConnector.perform(RESTConnector.java:438) ~[printegrint.jar:?] at com.pega.pegarules.integration.engine.internal.connect.rest.RESTConnector.invoke(RESTConnector.java:260) ~[printegrint.jar:?] at com.pega.pegarules.integration.config.internal.connect.PRConnectorFactory.invokeConnector(PRConnectorFactory.java:82) ~[printegrint.jar:?] at com.pega.pegarules.integration.engine.internal.util.PRConnectorUtilsPriv.invokeConnector(PRConnectorUtilsPriv.java:171) ~[printegrint.jar:?] at com.pega.pegarules.session.internal.mgmt.Executable.invokeConnector(Executable.java:11352) ~[prprivate.jar:?] at com.pegarules.generated.activity.ra_action_pyinvokerestconnector_b52c161733c13a95270b391bad11b998.step1_circum0(ra_action_pyinvokerestconnector_b52c161733c13a95270b391bad11b998.java:164) ~[?:?] at com.pegarules.generated.activity.ra_action_pyinvokerestconnector_b52c161733c13a95270b391bad11b998.perform(ra_action_pyinvokerestconnector_b52c161733c13a95270b391bad11b998.java:70) ~[?:?] at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3421) ~[prprivate.jar:?] at com.pegarules.generated.activity.ra_action_invoke_adde9d91fce1256a22f0ed90194a2db1.step7_circum0(ra_action_invoke_adde9d91fce1256a22f0ed90194a2db1.java:1001) ~[?:?] at com.pegarules.generated.activity.ra_action_invoke_adde9d91fce1256a22f0ed90194a2db1.perform(ra_action_invoke_adde9d91fce1256a22f0ed90194a2db1.java:173) ~[?:?] at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3421) ~[prprivate.jar:?] at com.pegarules.generated.activity.sh_action_testimsrest_db3c20d4f7e332630fc60941426c520c.step2_circum0(sh_action_testimsrest_db3c20d4f7e332630fc60941426c520c.java:358) ~[?:?] at com.pegarules.generated.activity.sh_action_testimsrest_db3c20d4f7e332630fc60941426c520c.perform(sh_action_testimsrest_db3c20d4f7e332630fc60941426c520c.java:95) ~[?:?] at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3421) ~[prprivate.jar:?] at com.pega.pegarules.session.internal.mgmt.Executable.doAction(Executable.java:3154) ~[prprivate.jar:?] at com.pegarules.generated.activity.ra_action_pyrunrecordexecute_f7d1e1c1513eef165c7ecbe136f3addd.step2_circum0(ra_action_pyrunrecordexecute_f7d1e1c1513eef165c7ecbe136f3addd.java:249) ~[?:?] at com.pegarules.generated.activity.ra_action_pyrunrecordexecute_f7d1e1c1513eef165c7ecbe136f3addd.perform(ra_action_pyrunrecordexecute_f7d1e1c1513eef165c7ecbe136f3addd.java:88) ~[?:?] at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3421) ~[prprivate.jar:?] at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10794) ~[prprivate.jar:?] at com.pegarules.generated.activity.ra_action_pzrunrecordexecute_c38281e0bb63f7c4aab88814460c8435.step11_circum0(ra_action_pzrunrecordexecute_c38281e0bb63f7c4aab88814460c8435.java:1012) ~[?:?] at com.pegarules.generated.activity.ra_action_pzrunrecordexecute_c38281e0bb63f7c4aab88814460c8435.perform(ra_action_pzrunrecordexecute_c38281e0bb63f7c4aab88814460c8435.java:246) ~[?:?] at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3421) ~[prprivate.jar:?] at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646) ~[prprivate.jar:?]