Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-19884

[GSS](7.4.0) CLI accept invalid values for -Xms and -Xmx while adding

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • Major
    • None
    • 7.2.8.GA
    • 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 STRING while addition.

      Attachments

        Issue Links

          Activity

            People

              rchakrab Ranabir Chakraborty
              rhn-support-gaurkuma Gaurav Kumar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated: