search cancel

UIM CU5 - cabi update to 8.0 fails because of the incompatible ruby version

book

Article ID: 253841

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

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

 

Environment

Release : 20.4

UM 20,4 cu5 on windows 

Cause

The OC's WASP server and CABI probe use incompatible versions of groovy. 

Resolution

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: 

  • CABI robot: C:\Nimsoft\probes\service\wasp\webapps\cabijs\WEB-INF\lib
  • OC WASP robot: ../probes/service/wasp/lib/services

Note: If you notice that the groovy version is 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.  Remove the existing "groovy-Y.Y.Y.jar" file from this location and restart the CABI robot.