[jboss-jira] [JBoss JIRA] (WFLY-13631) MicroProfile-Health: HealthChecks from WARs within EARs cannot be found
Jens Borrmann (Jira)
issues at jboss.org
Wed Jul 1 02:02:05 EDT 2020
Jens Borrmann created WFLY-13631:
------------------------------------
Summary: MicroProfile-Health: HealthChecks from WARs within EARs cannot be found
Key: WFLY-13631
URL: https://issues.redhat.com/browse/WFLY-13631
Project: WildFly
Issue Type: Bug
Affects Versions: 20.0.0.Final
Reporter: Jens Borrmann
Assignee: Brian Stansberry
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
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list