Open
Description
Describe the bug
From the Elemental Menu Bar option "Open Monitoring and Profiling", a 403 error is returned by the attempted connection to the JMX Servlet.
Expected behavior
It seems that, as a result of the error in the JMX Servlet connection, no information is provided in the Monitoring page, either blank or with zero values. We should see that page populated with the different statistics.
To Reproduce
- Start Elemental Server. (On my Mac, this is from, for example, Launchpad).
- Select Elemental Menu Bar item "Open Monitoring and Profiling"
- This item opens, in my installation, the URL: http://localhost:8080/exist/apps/doc/scheduler
- When the browser page opens (on my Mac, either in Chrome or Safari), a red error text shows near the top of the page: Alert! Connection to server failed. Retrying ...
- In the developer tools menu, the error connection URL is, on my Mac: http://localhost:8080/exist/status?c=instances&c=processes&c=locking&c=memory&c=caches&c=system&c=operatingsystem&token=false
- In an attempt to obtain more information, I opened the URL in (5) in the browser directly, which displays:
HTTP ERROR 403 Access allowed for localhost, or when correct token has been provided.<
URI:403
Access allowed for localhost, or when correct token has been provided.
JMXServlet
Context (please always complete the following information)
- Version: [Elemental 7.1.0]
- Java: [Temurin-21.0.7+6 (build 21.0.7+6-LTS)
- OS: [macOS X 15.5]
Additional context
- How is Elemental installed? [e.g. JAR installer, DMG, … ]
** homebrew - Any custom changes in e.g.
conf.xml
?
** none