[jboss-jira] [JBoss JIRA] (WFLY-13631) MicroProfile-Health: HealthChecks from WARs within EARs cannot be found

Jeff Mesnil (Jira) issues at jboss.org
Tue Jul 21 04:11:00 EDT 2020


     [ https://issues.redhat.com/browse/WFLY-13631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Mesnil resolved WFLY-13631.
--------------------------------
    Resolution: Duplicate Issue


Reported issue is tracked by WFLY-12835

> 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
>          Components: MP Health
>    Affects Versions: 20.0.0.Final
>            Reporter: Jens Borrmann
>            Assignee: Jeff Mesnil
>            Priority: Major
>
> 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