search cancel

webservices_rest HTTP Status 500 – Internal Server Error after upgrade to 20.3

book

Article ID: 215632

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM) Unified Infrastructure Management for Mainframe CA Unified Infrastructure Management SaaS (Nimsoft / UIM)

Issue/Introduction

We just upgraded our Production environment from UIM version 20.1 to 20.3. After the upgrade, we ran into the same issue we had after previous upgrades when the Webservices REST API stopped working.

Error when opening version-info page using web browser:

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:733)

Note The full stack trace of the root cause is available in the server logs.

Environment

Release: 20.3

- UIM upgraded from 20.1 to 20.3

- webservices_rest v20.30

Resolution

1. Download new Test fix package-> webservices_rest v20.30T1

2. Deploy the package to the Operator Console robot

3. Run a simple webservices_rest call, e.g., /<host>/rest/version-info

The HTTP Status 500 – Internal Server Error should no longer occur.

Attachments

Webservices_rest_1621606686854.zip get_app