[jboss-jira] [JBoss JIRA] (AS7-4447) Operations add-jvm-option and remove-jvm-option don't work in a reasonable way

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Wed Apr 11 11:22:49 EDT 2012


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

Brian Stansberry updated AS7-4447:
----------------------------------

    Fix Version/s: 7.1.2.Final-redhat1

    
> Operations add-jvm-option and remove-jvm-option don't work in a reasonable way
> ------------------------------------------------------------------------------
>
>                 Key: AS7-4447
>                 URL: https://issues.jboss.org/browse/AS7-4447
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 7.1.1.Final
>            Reporter: Michael Voegele
>            Assignee: Brian Stansberry
>              Labels: cli, dmr, jvm-options
>             Fix For: 7.1.2.Final-redhat1
>
>
> The following operation (cli/dmr) can be executed many times.
> {code:xml}
> :add-jvm-option(jvm-option=-Xdebug)
> {code}
> The result will be:
> {code:xml}
> [domain at localhost:10099 jvm=default] :read-resource
> {
>     "outcome" => "success",
>     "result" => {
>         "agent-lib" => undefined,
>         "agent-path" => undefined,
>         "env-classpath-ignored" => undefined,
>         "environment-variables" => undefined,
>         "heap-size" => "384m",
>         "java-agent" => undefined,
>         "java-home" => "C:/eplatform/java/jdk1.6.0",
>         "jvm-options" => [
>             "-Xdebug",
>             "-Xdebug",
>             "-Xdebug",
>             "-Xdebug",
>             "-Xdebug"
>         ],
>         "max-heap-size" => "512m",
>         "max-permgen-size" => "128m",
>         "permgen-size" => "64m",
>         "stack-size" => "512k",
>         "type" => undefined
>     }
> }
> {code}
> The same string (jvm-option) can be added several times, this should not be possible.
> When removing a jvm-option, all jvm-options are removed:
> {code:xml}
> :remove-jvm-option(jvm-option=foo)
> {code}
> results in:
> {code:xml}
> [domain at localhost:10099 jvm=default] :remove-jvm-option(jvm-option=foo)
> {
>     "outcome" => "success",
>     "result" => undefined,
>     "server-groups" => undefined
> }
> [domain at localhost:10099 jvm=default] :read-resource
> {
>     "outcome" => "success",
>     "result" => {
>         "agent-lib" => undefined,
>         "agent-path" => undefined,
>         "env-classpath-ignored" => undefined,
>         "environment-variables" => undefined,
>         "heap-size" => "384m",
>         "java-agent" => undefined,
>         "java-home" => "C:/eplatform/java/jdk1.6.0",
>         "jvm-options" => [],
>         "max-heap-size" => "512m",
>         "max-permgen-size" => "128m",
>         "permgen-size" => "64m",
>         "stack-size" => "512k",
>         "type" => undefined
>     }
> }
> {code}
> ...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list