-
Notifications
You must be signed in to change notification settings - Fork 601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MicroProfile Health check fails when server has an OSGi app (internal or external) or a WAR without any CDI beans #17
Labels
Comments
This was referenced Sep 19, 2017
scottkurz
added a commit
that referenced
this issue
Sep 20, 2017
Fixes issue #17 - mp health osgi nobeans
Resolved |
leochr
pushed a commit
to leochr/open-liberty
that referenced
this issue
Feb 1, 2018
Annotation reader
AidanPolese
pushed a commit
to AidanPolese/open-liberty
that referenced
this issue
Sep 24, 2018
Temporary Ant scripts for continuous build; will write these as Gradl…
herman-kailey
added a commit
to herman-kailey/open-liberty
that referenced
this issue
Oct 21, 2019
added basic messaging
brenthdaniel
added a commit
to brenthdaniel/open-liberty
that referenced
this issue
Jul 11, 2022
Move to official liberty UBI images and update to 20.0.0.3
mrsaldana
added a commit
to mrsaldana/open-liberty
that referenced
this issue
Apr 29, 2024
…dition Added fix for race condition while server starts up
jacobwdv
pushed a commit
to jacobwdv/open-liberty
that referenced
this issue
Dec 12, 2024
add com.ibm.ws.common.crypto trace
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The common theme here is that the Health Check discovery can fail because of the presence of other deployed application modules that aren't themselves contributing Health Check beans. These can be true application modules or internal, "system" app modules.
In these cases, the health endpoint (e.g. http://localhost:9080/health) will return a response status of 500.
There are two main cases, with different response payloads (which will also include a stack trace):
In the one case, in which there is an OSGi application (external app or "system app") deployed contributing a web module, the error response looks like:
In the second case, in which there is a WAR module deployed, but one in which there are zero discovered CDI-managed beans, the exception in the response looks like:
The text was updated successfully, but these errors were encountered: