Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
20.0.0.Final
-
None
Description
We want to make use of Microprofile Health in our applications. These are deployed as EARs (due to customers' demand). HealthChecks from WARs within EARs are not displayed when accessing the health endpoint (http://localhost:9990/health)
With a simple example (such as https://www.adam-bien.com/roller/abien/entry/simplest_possible_microprofile_liveness_check) I have the following situation
- Deploying as a WAR: Everything works fine
- Deploying as an EAR (containing the WAR) the following information is displayed:
{"status":"UP","checks":[\{"name":"ready-deployment.myapp.ear.microprofile.war","status":"UP"}
]}
Remarks:
- Using the new and not deprecated /health/ready does not change anything
- Using OpenLiberty everything works fine
Attachments
Issue Links
- duplicates
-
WFLY-12835 HealthChecks in subdeployments are not registered
- Open