]
Chao Wang moved JBEAP-8301 to WFCORE-2201:
------------------------------------------
Project: WildFly Core (was: JBoss Enterprise Application Platform)
Key: WFCORE-2201 (was: JBEAP-8301)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Domain Management
(was: Domain Management)
(was: User Experience)
Affects Version/s: 3.0.0.Alpha19
(was: 7.1.0.DR9)
Attempt to remove read-only /path=<x> logs exception to
server.log
------------------------------------------------------------------
Key: WFCORE-2201
URL:
https://issues.jboss.org/browse/WFCORE-2201
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Affects Versions: 3.0.0.Alpha19
Reporter: Chao Wang
Assignee: Chao Wang
Priority: Minor
When trying to remove read-only, preset paths, exception is logged in server log.
I think this is not necessary and only the response on CLI or other side is sufficient:
{code:java}
[standalone@localhost:9990 /] /path=java.home:remove()
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0158: Operation handler failed:
java.lang.IllegalArgumentException: WFLYCTL0257: Path entry is read-only:
'java.home'",
"rolled-back" => true
}
{code}