All UIM Swagger calls return 500 – Internal Server Error
search cancel

All UIM Swagger calls return 500 – Internal Server Error

book

Article ID: 429063

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

After upgrading to DX UIM 23.4 CU6, all UIM Swagger calls are returning 500 – Internal Server Error. 

<!doctype html><html lang="en"><head><title>HTTP Status 500 – Internal Server Error</title><style>

Errors are also seen in the wasp.log and uimapi.log files:

wasp.log
Feb 11 18:27:22:544 ERROR [http-nio-80-exec-9, org.apache.catalina.core.ContainerBase.[wasp-engine].[localhost].[/uimapi].[rest]] invoke() Servlet.service() for servlet [rest] in context with path [/uimapi] threw exception [Filter execution threw an exception] with root cause
Feb 11 18:27:22:544 ERROR [http-nio-80-exec-9, org.apache.catalina.core.ContainerBase.[wasp-engine].[localhost].[/uimapi].[rest]] java.lang.ClassNotFoundException: org.apache.commons.lang.StringUtils
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1225)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1056)
at com.ca.uimapi.config.UimApiJWTVerificationFilter.doFilterBasicAuth(UimApiJWTVerificationFilter.java:446)
at com.ca.uimapi.config.UimApiJWTVerificationFilter.doFilter(UimApiJWTVerificationFilter.java:248)
 
uimapi.log
2026-02-11 18:27:14.876 [http-nio-80-exec-10]  ERROR com.ca.uimapi.config.UimApiJWTVerificationFilter:doFilterBasicAuth:478 config.UimApiJWTVerificationFilter - Exception occurred while logging in - no authorization header

Environment

  • UIM 23.4.6 (CU6)
  • OC 23.4.6 (CU6)

Cause

After upgrading UIM and OC, uimapi package is not automatically upgraded by running the upgrade files.  The uimapi package must be updated manually.

Resolution

Update the uimapi package by using one of the two following methods:

  • In Infrastructure Manager:
    • Find the uimapi 23.4.6 package in the UIM archive.
    • Drag/drop the package to the robots where you have deployed the uimapi package
    • A window opens so that you can 'View Distribution Progress'
    • After the package is deployed, it can be found with the correct version in the controller probe Installed Packages window.

  • In Admin Console:
    • Select a hub, and then select the Archive tab.
    • Select the inline menu button next to a package, and then select Deploy.
    • In the Hubs pane, select the check box next to a hub to select all the robots where you have deployed the uimapi package
    • The Target Robots pane updates to show the selected robots.
    • Select Deploy.
    • The page redirects to the Deployment Activity tab where you can monitor the deployment.
    • After the package has been deployed to a robot, it is displayed in the Installed Packages tab with the correct version