[Spring Boot integration] Changing the jolokia default path to avoid 404 error#14475
Merged
ishleenk17 merged 5 commits intoelastic:mainfrom Jul 30, 2025
Merged
[Spring Boot integration] Changing the jolokia default path to avoid 404 error#14475ishleenk17 merged 5 commits intoelastic:mainfrom
ishleenk17 merged 5 commits intoelastic:mainfrom
Conversation
Jolokia in Spring Boot is enabled by Spring-boot-actuator as described in the [reference](https://www.elastic.co/docs/reference/integrations/spring_boot#requirements), and the endpoint should have `/actuator` in front of the current default path. If we keep this default path, it will return 404 and the Elastic Agent's status will be changed to unhealthy. To avoid the confusion, suggest to change the default path value with the valid one
🚀 Benchmarks reportTo see the full report comment with |
Improve the path and host descriptions to avoid the confusion
Contributor
mykola-elastic
left a comment
There was a problem hiding this comment.
Hello @insukcho, please update the version in manifest.yml and add the corresponding enhancement entry in the changelog.yml
This version will included the fix changing the jolokia default path to avoid 404 error
Add the change from the [PR](elastic#14475)
Contributor
Author
|
@mykola-elastic Thanks for the comment. I changed the version and the change logs. Please check and feel free to modify content if you need to. |
|
ishleenk17
reviewed
Jul 17, 2025
fixed the change type Co-authored-by: Ishleen Kaur <102962586+ishleenk17@users.noreply.github.com>
💔 Build Failed
Failed CI StepsHistory
|
Contributor
Author
Is it something I can fix myself? |
ishleenk17
approved these changes
Jul 30, 2025
Member
|
@insukcho : Change looks good and has been merged |
|
Package spring_boot - 1.9.1 containing this change is available at https://epr.elastic.co/package/spring_boot/1.9.1/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Proposed commit message
The Jolokia in Spring Boot is enabled by Spring-boot-actuator as described in the reference, and the endpoint should have
/actuatorin front of the current default path. If we keep this default path, it will return 404 and the Elastic Agent's status will be changed to unhealthy with the error logs below:To avoid the confusion, suggest to change the default path value with the valid one.
Additionally, the current
hostsdescription is making confusion:Suggest to fix the example with only host URL, and move the left to the path's description.
Checklist
changelog.ymlfile.How to test this PR locally
Reproduced and tested it with the version below:
full pom.xml config
Screenshots
Current default value in UI

Suggested value in UI
