My Oracle Support Banner

Coherence REST Endpoint To List Services In A Cluster Returns HTTP 500 When The Cluster Has No Services (Doc ID 2802544.1)

Last updated on SEPTEMBER 02, 2021

Applies to:

Oracle Coherence - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms

In a 12.2.1.4.x environment, Coherence JMX management using REST API Endpoint to list services in a cluster returns HTTP 500 when the cluster has no services. User is using following coherence REST services endpoint for services monitoring, http://<host-name>:<port>/management/coherence/latest/clusters/services/'. The documentation reference for the REST API for Managing Oracle Coherence. When accessing to the coherence services endpoint, all is good if there are services running in that cluster however the response is HTTP 500 (Internal Server Error) when there are no services.

Expected behavior would be to respond with HTTP 200 and an empty json listing no services.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.