When trying to update CABI to 8.0, the upgrade process fails. You may see the following error:
2022-11-04T10:13:01,997 ERROR GroovyRunnerFactory,Catalina-utility-1:166 - failed to load script base class 'groovy_script.BaseGroovyScript' org.codehaus.groovy.control.CompilationFailedException: parsing failed
The OC's WASP server and CABI probe use incompatible versions of groovy.
1. Verify if the CABI probe and OC WASP probe have the same version on groovy-x.x.x.jar. Both probes are supposed to use the same version. Check the following directories:
Note: If you notice that the groovy version in both directories is not identical, proceed with the next steps.
2. Make a backup of cabi "- C:\Nimsoft\probes\service\wasp\webapps\cabijs\WEB-INF\lib" directory.
3. Navigate to the OC robot's "../probes/service/wasp/lib/services" folder, and copy the "groovy-X.X.X.jar" (on OC robot version should be higher than on the CABI) file and place it in the CABI robot's "../probes/service/wasp/webapps/cabijs/WEB-INF/lib" folder.
4. Remove the existing "groovy-Y.Y.Y.jar" file from this location and restart the CABI robot.