[jboss-jira] [JBoss JIRA] (WFLY-11933) Error when accessing metrics with RBAC enabled

Claudio Weiler (Jira) issues at jboss.org
Mon Mar 9 10:22:05 EDT 2020


     [ https://issues.redhat.com/browse/WFLY-11933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claudio Weiler updated WFLY-11933:
----------------------------------
    Description: 

When RBAC is enabled for management in Wildfly, 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".

  was:
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".



> Error when accessing metrics with RBAC enabled
> ----------------------------------------------
>
>                 Key: WFLY-11933
>                 URL: https://issues.redhat.com/browse/WFLY-11933
>             Project: WildFly
>          Issue Type: Bug
>          Components: Management, MP Metrics
>    Affects Versions: 16.0.0.Final, 17.0.0.Final, 17.0.1.Final
>            Reporter: Claudio Weiler
>            Assignee: Jeff Mesnil
>            Priority: Major
>
> When RBAC is enabled for management in Wildfly, 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.13.8#713008)


More information about the jboss-jira mailing list