-
Bug
-
Resolution: Done
-
Major
-
7.1.1.Final
Executing following dmr operation is successful:
{ "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"}] }
and results in following 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>
but the server (domain mode) cannot be (re)started anymore and results in following exception:
[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