Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-13631

MicroProfile-Health: HealthChecks from WARs within EARs cannot be found

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 20.0.0.Final
    • MP Health
    • None

      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

            jmesnil1@redhat.com Jeff Mesnil
            jborrmann Jens Borrmann (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: