[jboss-jira] [JBoss JIRA] Updated: (AS7-969) JVM resource description doesn't match operation return value

Jason Greene (JIRA) jira-events at lists.jboss.org
Thu Sep 22 23:19:52 EDT 2011


     [ https://issues.jboss.org/browse/AS7-969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Greene updated AS7-969:
-----------------------------

    Fix Version/s: 7.1.0.Beta1
                       (was: 7.1.0.Alpha1)


> JVM resource description doesn't match operation return value
> -------------------------------------------------------------
>
>                 Key: AS7-969
>                 URL: https://issues.jboss.org/browse/AS7-969
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Domain Management
>            Reporter: Heiko Braun
>             Fix For: 7.1.0.Beta1
>
>
> Reading a JVM resource description returns this:
> {noformat}
> [domain at localhost:9999 /] /server-group=main-server-group/jvm=default:read-resource
> {
>     "outcome" => "success",
>     "result" => {
>         "type" => undefined,
>         "agent-lib" => undefined,
>         "agent-path" => undefined,
>         "env-classpath-ignored" => undefined,
>         "environment-variables" => undefined,
>         "heap-size" => "64m",
>         "max-heap-size" => "512m",
>         "java-agent" => undefined,
>         "java-home" => undefined,
>         "jvm-options" => undefined,
>         "permgen-size" => undefined,
>         "max-permgen-size" => undefined,
>         "stack-size" => undefined
>     },
>     "compensating-operation" => undefined
> }
> {noformat}
> However the resource description looks different.
> It describes certain elements as children, 
> some of the are missing at all ('max-heap-size"')
> {noformat}
> [domain at localhost:9999 /] /server-group=main-server-group/jvm=default:read-resource-description
> {
>     "outcome" => "success",
>     "result" => {
>         "type" => OBJECT,
>         "description" => "The JVM configuration for managed processes / servers.",
>         "attributes" => {
>             "agent-lib" => {
>                 "type" => STRING,
>                 "description" => "The JVM agent lib.",
>                 "access-type" => "read-write",
>                 "storage" => "configuration"
>             },
>             "agent-path" => {
>                 "type" => STRING,
>                 "description" => "The JVM agent path.",
>                 "access-type" => "read-write",
>                 "storage" => "configuration"
>             },
>             "env-classpath-ignored" => {
>                 "type" => BOOLEAN,
>                 "description" => "Ignore the environment classpath.",
>                 "access-type" => "read-write",
>                 "storage" => "configuration"
>             },
>             "environment-variables" => {
>                 "type" => LIST,
>                 "value-type" => UNDEFINED,
>                 "description" => "The JVM environment variables.",
>                 "access-type" => "read-write",
>                 "storage" => "configuration"
>             },
>             "java-agent" => {
>                 "type" => STRING,
>                 "description" => "The java agent.",
>                 "access-type" => "read-write",
>                 "storage" => "configuration"
>             },
>             "java-home" => {
>                 "type" => STRING,
>                 "description" => "The java home",
>                 "access-type" => "read-write",
>                 "storage" => "configuration"
>             },
>             "jvm-options" => {
>                 "type" => LIST,
>                 "value-type" => STRING,
>                 "description" => "The JVM options.",
>                 "access-type" => "read-only",
>                 "storage" => "configuration"
>             },
>             "stack-size" => {
>                 "type" => STRING,
>                 "description" => "The JVM stack size settings.",
>                 "access-type" => "read-write",
>                 "storage" => "configuration"
>             },
>             "type" => {
>                 "type" => STRING,
>                 "description" => "The JVM type can be either SUN or IBM",
>                 "access-type" => "read-only",
>                 "storage" => "configuration"
>             }
>         },
>         "children" => {
>             "heap-size" => {
>                 "type" => OBJECT,
>                 "description" => "The Heap size settings allocated by the JVM.",
>                 "attributes" => {
>                     "size" => STRING,
>                     "max-size" => STRING
>                 }
>             },
>             "permgen-size" => {
>                 "type" => OBJECT,
>                 "description" => "The JVM PermGen settings.",
>                 "attributes" => {
>                     "size" => STRING,
>                     "max-size" => STRING
>                 }
>             }
>         }
>     },
>     "compensating-operation" => undefined
> }
> {noformat}

--
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