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

Heiko Braun (JIRA) jira-events at lists.jboss.org
Wed Apr 27 03:31:18 EDT 2011


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

Heiko Braun commented on AS7-670:
---------------------------------

seems to work fine except for auto-start:


[INFO] {
[INFO]     "operation" => "composite",
[INFO]     "address" => [],
[INFO]     "steps" => [{
[INFO]         "operation" => "write-attribute",
[INFO]         "address" => [
[INFO]             ("host" => "local"),
[INFO]             ("server-config" => "staging")
[INFO]         ],
[INFO]         "name" => "auto-start",
[INFO]         "value" => true
[INFO]     }]
[INFO] }

[localhost:9999 /] /host=local/server-config=staging:read-resource
{
    "outcome" => "success",
    "result" => {
        "path" => undefined,
        "system-property" => undefined,
        "interface" => undefined,
        "jvm" => undefined,
        "socket-binding-group" => "messaging-sockets",
        "socket-binding-port-offset" => 400,
        "name" => "staging",
        "group" => "other-server-group",
        "auto-start" => true
    },
    "compensating-operation" => undefined
}


 <server name="staging" group="other-server-group" auto-start="false">
            <socket-binding-group ref="messaging-sockets" port-offset="400"/>
        </server>




> 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