[jboss-jira] [JBoss JIRA] Commented: (JBAS-8212) JVM configuration object model
Kabir Khan (JIRA)
jira-events at lists.jboss.org
Fri Apr 8 05:13:33 EDT 2011
[ https://issues.jboss.org/browse/JBAS-8212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594442#comment-12594442 ]
Kabir Khan commented on JBAS-8212:
----------------------------------
I removed the system properties element from the jvm element, so they are only configured on domain, server-group, host or server. By default all properties are passed in to the started server jvm using the -D option (to be usable on jvm startup) AND also as a an add-system-property operation (to be visible in the server model). To be able to not pass it in a particular property using the -D option (which might be needed for people with LOTS of options so they exceed the max command-line length) you can do
<system-properties>
<property name="foo" value="bar" boot-time="false"/>
</system-properties>
The default value boot-time is true, meaning -D is used.
The Host/Domain models list the properties in the model as:
"system-properties" => {
"foo" => {
"value"="bar"
"boottime"="false"
},
"foo1" => {
"value"="bar1"
"boottime"="true"
}
}
while the servers in domain mode, and server in standalone mode list its properties as:
"system-properties" => {
"foo" => "bar",
"foo1" => "bar1"
}
> JVM configuration object model
> ------------------------------
>
> Key: JBAS-8212
> URL: https://issues.jboss.org/browse/JBAS-8212
> Project: JBoss Application Server
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: Domain Management
> Reporter: Brian Stansberry
> Assignee: Kabir Khan
> Fix For: 7.0.0.Beta3
>
>
> Portion of the domain object model that represents JVM configuration.
--
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