-
Bug
-
Resolution: Done
-
Major
-
7.1.1.Final
-
Workaround Exists
Setting the following jvm configuration works, including debug-enabled and debug-options:
(see also https://issues.jboss.org/browse/AS7-1606)
<servers> <server name="server-1" group="server-group-1" auto-start="true"> <jvm name="default" java-home="C:/eplatform/java/jdk1.7.0" debug-enabled="true" debug-options="runjdwp:transport=dt_socket,address=13013,server=y,suspend=n"> <heap size="128m" max-size="256m" /> <permgen size="64m" max-size="128m" /> <stack size="512k" /> </jvm> <socket-bindings port-offset="100" /> </server> </servers>
however, setting these two attributes via dmr does not work. The following operation:
{ "operation" => "add", "address" => [ ("host" => "master"), ("server-config" => "server-1"), ("jvm" => "default") ], "java-home" => "C:/eplatform/java/jdk1.7.0", "debug-enabled" => "true", "debug-options" => "runjdwp:transport=dt_socket,address=13013,server=y,suspend=n", "heap-size" => "128m", "max-heap-size" => "256m", "permgen-size" => "64m", "max-permgen-size" => "128m", "stack-size" => "512k" }
results in:
<servers> <server name="server-1" group="server-group-1" auto-start="true"> <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"/> </jvm> <socket-bindings port-offset="100"/> </server> </servers>