'Hawtio console does not connect to local jolokia endpoint when setting server.servlet.context-path
I have discovered an interesting issue which does not appear to be documented in any of the hawtio documents.
If you specify the properties below in your spring boot properties file the hawtio console does not connect to the local jolokia end point
server.servlet.context-path=<some value>
management.endpoints.web.base-path=/<some value>
The only way I have been able to get the hawtio console in the browser to connect to the jolokia end point is via the below properties
management.endpoints.web.base-path=/
and removed the below so it is the default /
server.servlet.context-path=<some value>
Has anyone else seen this problem and know what could be the problem. The Hawtio version is 2.14.5
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
