uimapi GET contacts call fails with http 500 error

book

Article ID: 221044

calendar_today

Updated On:

Products

DX Infrastructure Management

Issue/Introduction

2021-08-04 08:19:34,499 ERROR com.ca.uimapi.services.controller.RestWsBase:handleException:133 [https-jsse-nio-443-exec-10]   - Unexpected error occurred.
org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: com/firehunter/ump/auth/NmsAuth
 at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:982)
 at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
 at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)

...

Caused by: java.lang.NoClassDefFoundError: com/firehunter/ump/auth/NmsAuth

Environment

Release : 20.3

Component : UIM - API

Resolution

uimapi is only fully supported when deployed to the OC robot. 

If there is a need to use uimapi on another system then a second instance of OC can be installed at another robot under the primary hub. As of UIM 20.3.3 the OC installer can be used to setup a secondary instance of OC. 

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/unified-infrastructure-management/20-3/installing/Install-Operator-Console-(OC)/configure-multiple-ump-servers.html#concept.dita_ccca70f3ea498c779fe00d4087702e0706767e9b_ConfigureaSecondaryOCServer

Additional Information

The same problem happens with webservices_rest when deployed to the primary hub.