"Json - Execute Multiple Queries Using JSONPath" action is always failed after upgraded Release Automation

book

Article ID: 4927

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio) CA Release Automation - DataManagement Server (Nolio)

Issue/Introduction

Run "Json - Execute Multiple Queries Using JSONPath" action, and then following error was occurred.

Error occurred during action execution: com.jayway.jsonpath.JsonPath.parse(Ljava/lang/String;)Lcom/jayway/jsonpath/DocumentContext;

However, action properties are correct settings.

Cause

RDK has old libraries related to JSON parser. RDK 1.0.6 is also same condition.

 

Environment

Using action packs generated by Rapid Development Kit (RDK).This problem was reported:- Release Automation 6.2 with RDK 1.0.5

Resolution

Here is workaround steps:

  1. Copy following files on RA Management Server.
     <RA Server>/actionlib/json-path-2.0.0.jar
     <RA Server>/actionlib/json-smart-2.1.1.jar
  2. Paste 2 files to following directory on RDK machine.
     <Tomcat>/webapps/RDKServer/workingDirectory/
  3. Move following files to external RDK directory for backup.
     <Tomcat>/webapps/RDKServer/workingDirectory/json-path-0.9.1.jar
     <Tomcat>/webapps/RDKServer/workingDirectory/json-smart-1.2.jar
  4. Export action packs using RDK.
    If the action pack has same version, it will replace old definition on next step.
  5. Import action packs using Automation Studio.

Additional Information

You may need post steps after upgrade RA. Following URL explains how to upgrade RDK.