Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-2201

Attempt to remove read-only /path=<x> logs exception to server.log

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 3.0.0.Alpha20
    • 3.0.0.Alpha19
    • Management
    • None

      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:

      [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
      }
      

            chaowan@redhat.com Chao Wang
            chaowan@redhat.com Chao Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: