JBAS014807: Management resource .. not found when trying to invoke a CLI command in JBoss EAP and the resource exists in the JBoss profile xml
Issue
- We are trying to invoke this CLI command using the JBoss CLI interface, but it is failing with
JBAS014807: Management resource .. not found, even though the resource is there when looking in the JBoss profile xml (domain.xml or standalone.xml)
$ ./jboss-cli.sh -c
[standalone@127.0.0.1:9999 /] /core-service=management/access=authorization/constraint=sensitivity-classification/type=core/classification=system-property:write-attribute(name=configured-requires-read,value=true)
Failed to get the list of the operation properties: "JBAS014807: Management resource '[
("core-service" => "management"),
("access" => "authorization"),
("constraint" => "sensitivity-classification"),
("type" => "core"),
("classification" => "system-property")
]' not found"
Environment
Red Hat JBoss Enterprise Application Platform (EAP) 6.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.