search cancel

Provider for jakarta.ws.rs.ext.RuntimeDelegate cannot be found

book

Article ID: 242591

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

When running RunClient.jar on a recently upgraded 9.4.1 client giving  the following errors.

ErrorMsg: AwE-9999 Internal error 
Details: null
java.lang.RuntimeException: java.lang.ClassNotFoundException: Provider for jakarta.ws.rs.ext.RuntimeDelegate cannot be found
 at jakarta.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:113)
 at jakarta.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:84)
 at jakarta.ws.rs.core.UriBuilder.newInstance(UriBuilder.java:69)
 at jakarta.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:91)
Caused by: java.lang.ClassNotFoundException: Provider for jakarta.ws.rs.ext.RuntimeDelegate cannot be found
 at jakarta.ws.rs.ext.FactoryFinder.find(FactoryFinder.java:168)
 at jakarta.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:98)

Environment

Release: 9.4.x

Component: AM client

Resolution

In order to address this problem, one (or both) of the following steps should help:

1) During the upgrade process, if the client.zip files from the 9.4.1 version is not being replaced with the existing (old) client.zip files then

      a) create a new folder

      b) download the client.zip file which comes with the 9.4.1 version.

      c) uncompress the client.zip file in the newly created folder.
  

This problem could also arise if  


After the upgrade, there are any copies of the old version/s of client.zip files in the same folder where the new version of 9.4.1 client.zip file resides. Moving the new client.zip files to a new folder should address this problem.