Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-4436

setting debug-enabled and debug-options via dmr does not work

XMLWordPrintable

      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>
      

              kkhan1@redhat.com Kabir Khan
              michael.voegele@cloudops Michael Voegele (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: