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

CLI type decision INT/STRING LONG/STRING

XMLWordPrintable

    • User Experience

      When value go above limits of INT/LONG then its taken as STRING and that's incorrect and not straightforward

      [standalone@localhost:9990 /] /subsystem=undertow/server=default-server/http-listener=default:write-attribute(name=max-cookies, value=2147483647)
      {
          "outcome" => "success",
          "response-headers" => {
              "operation-requires-reload" => true,
              "process-state" => "reload-required"
          }
      }
      [standalone@localhost:9990 /] /subsystem=undertow/server=default-server/http-listener=default:write-attribute(name=max-cookies, value=2147483648)
      {
          "outcome" => "failed",
          "failure-description" => "WFLYCTL0097: Wrong type for max-cookies. Expected [INT] but was STRING",
          "rolled-back" => true,
          "response-headers" => {"process-state" => "reload-required"}
      }
      
      [standalone@localhost:9990 /] /subsystem=undertow/server=default-server/http-listener=default:write-attribute(name=max-post-size, value=9223372036854775807)
      {
          "outcome" => "success",
          "response-headers" => {
              "operation-requires-reload" => true,
              "process-state" => "reload-required"
          }
      }
      [standalone@localhost:9990 /] /subsystem=undertow/server=default-server/http-listener=default:write-attribute(name=max-post-size, value=9223372036854775808)
      {
          "outcome" => "failed",
          "failure-description" => "WFLYCTL0097: Wrong type for max-post-size. Expected [LONG] but was STRING",
          "rolled-back" => true,
          "response-headers" => {"process-state" => "reload-required"}
      }
      

            bstansbe@redhat.com Brian Stansberry
            bsikora Bogdan Sikora (Inactive)
            Bogdan Sikora Bogdan Sikora (Inactive)
            Bogdan Sikora Bogdan Sikora (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: