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

Changes to server-config not persisted

XMLWordPrintable

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

      Heiko Braun reports that the following changes update in-memory state, but are not persisted back to host.xml:

      {
      "operation" => "composite",
      "address" => [],
      "steps" => [

      { "operation" => "write-attribute", "address" => [ ("host" => "local"), ("server-config" => "server-one") ], "name" => "socket-binding-group", "value" => "standard-sockets" }

      ,

      { "operation" => "write-attribute", "address" => [ ("host" => "local"), ("server-config" => "server-one") ], "name" => "socket-binding-port-offset", "value" => 90 }

      ]
      }

      The in-memory state and host.xml state can be seen:

      [localhost:9999 /] /host=local/server-config=server-one:read-resource
      {
      "outcome" => "success",
      "result" => {
      "path" => undefined,
      "system-property" => undefined,
      "interface" => undefined,
      "jvm" =>

      {"default" => undefined}

      ,
      "socket-binding-group" => "standard-sockets",
      "socket-binding-port-offset" => 90,
      "name" => "server-one",
      "group" => "main-server-group",
      "auto-start" => true
      },
      "compensating-operation" => undefined
      }

      <server name="server-one" group="main-server-group" auto-start="true">
      <jvm name="default"/>
      </server>

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: