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

CLI accept invalid values for -Xms and -Xmx while adding

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • Major
    • None
    • 13.0.0.Beta4
    • Management
    • None

    Description

      The customer has opened one case where they are saying, CLI is not throwing an error while adding invalid values of -Xmx and -Xms.

      I tried to replicate the same in EAP 7.2.8 and I observe the same behavior.

      ~~~

      [domain@localhost:9990 /] /server-group=main-server-group/jvm=default:write-attribute(name=heap-size,value=toto)

      { "outcome" => "success",
      "result" => undefined,
      "server-groups" => {"main-server-group" => {"host" => {"master" => { "server-one" => {"response" => { "outcome" => "success", "response-headers" =>
      { "operation-requires-restart" => true, "process-state" => "restart-required" } }}, "server-two" => {"response" => { "outcome" => "success", "response-headers" => { "operation-requires-restart" => true, "process-state" => "restart-required" }
      }} }}}} }
      

      However, the server failed to start but it should not accept invalid values likes garbage STRING while addition.

      The domain controller is what would validate the value but what it, or even the Host Controllers, would be running is not necessarily what the servers would be running.

      Attachments

        Issue Links

          Activity

            People

              rchakrab Ranabir Chakraborty
              rchakrab Ranabir Chakraborty
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: