Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-2955

JacORB management on/off attributes should use boolean values instead

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.1.0.Final
    • 7.1.0.Beta1
    • IIOP, Server
    • None

      Looking at the JacORB management, many of the configuration values are represented as string (unbounded) values which apparently expect 'on' or 'off' as expected values.
      It would be better use booleans instead to represent this. If 'on' and 'off' are absolutely needed then it at least the ALLOWED attribute should list the allowed values.

      [standalone@localhost:9999 subsystem=jacorb] :read-resource
      {
          "outcome" => "success",
          "result" => {
              "add-component-via-interceptor" => "on",
              "cache-poa-names" => "off",
              "cache-typecodes" => "off",
              "chunk-custom-rmi-valuetypes" => "on",
              "client-requires" => 0,
              "client-supports" => 60,
              "client-timeout" => 0,
              "comet" => "off",
              "export-corbaloc" => "on",
              "giop-minor-version" => 2,
              "indirection-encoding-disable" => "off",
              "iona" => "off",
              "lax-boolean-encoding" => "off",
              "max-managed-buf-size" => 24,
              "max-server-connections" => 2147483647,
              "max-threads" => 32,
              "monitoring" => "off",
              "name" => "JBoss",
              "outbuf-cache-timeout" => -1,
              "outbuf-size" => 2048,
              "pool-size" => 5,
              "print-version" => "off",
              "properties" => [("hi" => "blah")],
              "queue-max" => 100,
              "queue-min" => 10,
              "queue-wait" => "off",
              "retries" => 5,
              "retry-interval" => 500,
              "root-context" => "JBoss/Naming/root",
              "security" => "off",
              "server-requires" => 0,
              "server-supports" => 60,
              "server-timeout" => 0,
              "strict-check-on-tc-creation" => "off",
              "sun" => "on",
              "support-ssl" => "off",
              "transactions" => "off",
              "use-bom" => "off",
              "use-domain-server-socket-factory" => "off",
              "use-domain-socket-factory" => "off",
              "use-imr" => "off"
          }
      

              sguilhen Stefan Guilhen
              dhildenb@redhat.com David Hildenbrand
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: