[
https://issues.jboss.org/browse/WFLY-11933?page=com.atlassian.jira.plugin...
]
Michal Petrov commented on WFLY-11933:
--------------------------------------
[~brian.stansberry], what is the expected behavior here? Since the default user likewise
cannot access localhost:9990/management I assume we want to show an error message. However
from the failure description available to the metric collector it's not clear that the
user is not authorized to access the metrics. Secondly is there a scenario where we want
the metrics page to throw an error like that? I.e. an exception resulting in HTTP 500
instead of showing the exception message on the page.
Error when accessing metrics with RBAC enabled
----------------------------------------------
Key: WFLY-11933
URL:
https://issues.jboss.org/browse/WFLY-11933
Project: WildFly
Issue Type: Bug
Components: Management, MP Metrics
Affects Versions: 16.0.0.Final
Reporter: Claudio Weiler
Assignee: Jeff Mesnil
Priority: Critical
When RBAC is enabled for management in Wildfly 16, metrics throws exception:
java.lang.IllegalStateException: WFLYMETRICS0003: Unable to read attribute
XAForgetAverageTime on [
("subsystem" => "datasources"),
("data-source" => "ExampleDS"),
("statistics" => "pool")
]: "WFLYCTL0216: Management resource '[
(\"subsystem\" => \"datasources\"),
(\"data-source\" => \"ExampleDS\"),
(\"statistics\" => \"pool\")
]' not found".
--
This message was sent by Atlassian Jira
(v7.12.1#712002)