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

Socketbinding :write-attribute(name=includes,value=[]) fails with "no attribute named includes", but :read-resource shows it

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.CR1
    • 7.0.0.Final
    • Domain Management
    • None

      [domain@localhost:9999 socket-binding-group=standard-sockets] :read-resource
      {
      "outcome" => "success",
      "result" => {
      "default-interface" => "public",
      "includes" => [],
      "name" => "standard-sockets",
      "socket-binding" =>

      { "jmx-connector-registry" => undefined, }

      }
      }
      [domain@localhost:9999 socket-binding-group=standard-sockets] :write-attribute(name=includes,value=lala)
      {
      "outcome" => "failed",
      "failure-description" =>

      {"domain-failure-description" => "Wrong type for includes. Expected [LIST] but was STRING"}

      ,
      "rolled-back" => true
      }
      [domain@localhost:9999 socket-binding-group=standard-sockets] :write-attribute(name=includes,value=[])
      {
      "outcome" => "failed",
      "result" => {"server-groups" => [("main-server-group" => {"master" => {
      "host" => "master",
      "response" =>

      { "outcome" => "failed", "failure-description" => "No known attribute called includes", "rolled-back" => true }

      }})]},
      "failure-description" => "Operation failed or was rolled back on all servers.",
      "rolled-back" => true
      }
      [domain@localhost:9999 socket-binding-group=standard-sockets] :read-children-types
      {
      "outcome" => "success",
      "result" => ["socket-binding"]
      }
      [domain@localhost:9999 socket-binding-group=standard-sockets]

      Also read-attribute works:

      [domain@localhost:9999 socket-binding-group=standard-sockets] :read-attribute(name=includes)
      {
      "outcome" => "success",
      "result" => []
      }

              kkhan1@redhat.com Kabir Khan
              pilhuhn Heiko Rupp
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: