REST API does not work after UIM upgrade to 9.2.0

book

Article ID: 143886

calendar_today

Updated On:

Products

NIMSOFT PROBES DX Infrastructure Management

Issue/Introduction

Issue Summary: UIM environment successfully upgraded to ver 9.2.0. After robot upgrades on the UMP server, the webservices_rest package has been deployed using the Admin Console. When running initial version check link to test REST, java exception is thrown as seen below:

HTTP Status 500 – Internal Server Error
Type Exception Report
Message Servlet execution threw an exception
Description The server encountered an unexpected condition that prevented it from fulfilling the request.
Exception
javax.servlet.ServletException: Servlet execution threw an exception
Root Cause
java.lang.AbstractMethodError: javax.ws.rs.core.UriBuilder.uri(Ljava/lang/String;)Ljavax/ws/rs/core/UriBuilder;
     javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:119)
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:649)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:741)

Cause

After the installation, one of the .jar files required by the probe has become corrupted or is now missing.  Redeploying the probe doesn't resolve the issue.

Environment

Release : 9.2.0

Component : UNIFIED INFRASTRUCTURE MGMT

OS (UIM server and UMP server) = Linux RHEL 7.7 (Maipo)
Database Oracle 12c
wasp probe ver 9.20
Hub robot ver 9.20
webservices_rest 9.20

Resolution

New hotfix released to ensure that all the correct .jar files are installed.
webservices_rest_920_HF2
and
webservices_rest_2010_HF1