[jboss-jira] [JBoss JIRA] Commented: (AS7-670) Changes to server-config not persisted

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Tue Apr 26 17:43:18 EDT 2011


    [ https://issues.jboss.org/browse/AS7-670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12598148#comment-12598148 ] 

Brian Stansberry commented on AS7-670:
--------------------------------------

The individual operations result in proper persistence, so seems to be something related to the composite op.

> Changes to server-config not persisted
> --------------------------------------
>
>                 Key: AS7-670
>                 URL: https://issues.jboss.org/browse/AS7-670
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 7.0.0.Beta3
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>             Fix For: 7.0.0.Beta4
>
>
> 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>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list