[jboss-jira] [JBoss JIRA] (AS7-4303) domain/host.xml cannot be parsed when a <variable> is defined under <jvm><environment-variables>
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Mon Apr 2 09:55:47 EDT 2012
[ https://issues.jboss.org/browse/AS7-4303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry updated AS7-4303:
----------------------------------
Fix Version/s: 7.1.2.Final
Assignee: Brian Stansberry (was: Jason Greene)
Component/s: Domain Management
(was: Server)
> domain/host.xml cannot be parsed when a <variable> is defined under <jvm><environment-variables>
> ------------------------------------------------------------------------------------------------
>
> Key: AS7-4303
> URL: https://issues.jboss.org/browse/AS7-4303
> Project: Application Server 7
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 7.1.1.Final
> Environment: Win
> Reporter: Michael Voegele
> Assignee: Brian Stansberry
> Labels: environment_variables
> Fix For: 7.1.2.Final
>
>
> Executing following dmr operation is successful:
> {code:xml}
> {
> "operation" => "add",
> "address" => [
> ("host" => "master"),
> ("server-config" => "server-1"),
> ("jvm" => "default")
> ]
> "java-home" => "C:/eplatform/java/jdk1.7.0",
> "heap-size" => "128m",
> "max-heap-size" => "256m",
> "permgen-size" => "64m",
> "max-permgen-size" => "128m",
> "stack-size" => "512k",
> "environment-variables" => [{"foo" => "bar"}]
> }
> {code}
> and results in following xml:
> {code:xml}
> <jvm name="default" java-home="C:/eplatform/java/jdk1.7.0">
> <heap size="128m" max-size="256m"/>
> <permgen size="64m" max-size="128m"/>
> <stack size="512k"/>
> <environment-variables>
> <variable name="foo" value="bar"/>
> </environment-variables>
> </jvm>
> {code}
> but the server (domain mode) cannot be (re)started anymore and results in following exception:
> {code}
> [Host Controller] Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[51,21]
> [Host Controller] Message: JBAS014789: Unexpected element '{urn:jboss:domain:1.2}variable' encountered
> {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