Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-18458

[GSS](7.2.z) Issue with the admin console , adding a jvm option multiplies the JVM options in the configuration file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 7.2.5.GA
    • Web Console
    • User Experience
    • Hide

      steps for Replication:

      1. In the admin console go to the server and create a new JVM name, let's say test_jvm. ( Please see attached test_jvm_options_screen1.png for the same).

      2. Next, edit the above "test_jvm" and add a JVM option let's say '-XX:+PrintGCDetails' and hit enter and then click on save. ( please see the attached test_jvm_options_screen2.png )

      3. Next, Restart the server for the changes to take place and then we can notice in the admin console the JVM options get printed multiple times. ( please see the attached test_jvm_options_screen3.png)

      4. Again, checking the configuration file as well we can see the JVM option being printed multiple times.

      ~~~~
      <server name="server-one" group="main-server-group">
      <jvm name="test-jvm">
      <jvm-options>
      <option value="-XX:+PrintGCDetails"/>
      <option value="-XX:+PrintGCDetails"/>
      </jvm-options>
      </jvm>
      </server>
      ~~~~

      5. As the workaround, we can use the CLI and add the JVM options and it works well with CLI.

      Show
      steps for Replication: 1. In the admin console go to the server and create a new JVM name, let's say test_jvm. ( Please see attached test_jvm_options_screen1.png for the same). 2. Next, edit the above "test_jvm" and add a JVM option let's say '-XX:+PrintGCDetails' and hit enter and then click on save. ( please see the attached test_jvm_options_screen2.png ) 3. Next, Restart the server for the changes to take place and then we can notice in the admin console the JVM options get printed multiple times. ( please see the attached test_jvm_options_screen3.png) 4. Again, checking the configuration file as well we can see the JVM option being printed multiple times. ~~~~ <server name="server-one" group="main-server-group"> <jvm name="test-jvm"> <jvm-options> <option value="-XX:+PrintGCDetails"/> <option value="-XX:+PrintGCDetails"/> </jvm-options> </jvm> </server> ~~~~ 5. As the workaround, we can use the CLI and add the JVM options and it works well with CLI.

      Upon adding a JVM option to a JVM or a Server Group from the GUI it gets multiplied in the configuration.

        1. test_jvm_options_screen1.png
          121 kB
          Pranab Lohia
        2. test_jvm_options_screen2.png
          129 kB
          Pranab Lohia
        3. test_jvm_options_screen3.png
          118 kB
          Pranab Lohia

              thofman Tomas Hofman
              rhn-support-plohia Pranab Lohia (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: