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

Impossible to change statistics enabled for messaging pooled connection factory more than once

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.1.0.ER2
    • 7.1.0.ER1
    • Web Console
    • None
    • Hide
      1. Start EAP with e.g. standalone-full-ha configuration
      2. Using web console navigate Configuration > Subsystems > Messaging - ActiveMQ > Messaging Provider> select messaging provider (e.g. default) > Connections > Pooled Connection Factory > select factory (e.g. activemq-ra)
      3. Edit
      4. Toggle Statistics enabled
      5. Save
      6. Reload server Now!
      7. Verified the statistics-enabled value has changed in model (e.g. by CLI command /subsystem=messaging-activemq/server=default/pooled-connection-factory=activemq-ra:read-attribute(name=statistics-enabled) )
      8. Edit
      9. Toggle Statistics enabled
      10. Save
      11. Verified the statistics-enabled value has NOT changed in model
      Show
      Start EAP with e.g. standalone-full-ha configuration Using web console navigate Configuration > Subsystems > Messaging - ActiveMQ > Messaging Provider> select messaging provider (e.g. default) > Connections > Pooled Connection Factory > select factory (e.g. activemq-ra) Edit Toggle Statistics enabled Save Reload server Now! Verified the statistics-enabled value has changed in model (e.g. by CLI command /subsystem=messaging-activemq/server=default/pooled-connection-factory=activemq-ra:read-attribute(name=statistics-enabled) ) Edit Toggle Statistics enabled Save Verified the statistics-enabled value has NOT changed in model

      The second time user tries to toggle statistics enabled it doesn't happen although console confirms success!
      Operations actually performed by console according to configuration changes:
      First toggle:

      "operation" => "composite",
                      "address" => [],
                      "steps" => [
                          {
                              "address" => [
                                  ("subsystem" => "messaging-activemq"),
                                  ("server" => "default"),
                                  ("pooled-connection-factory" => "activemq-ra")
                              ],
                              "operation" => "undefine-attribute",
                              "name" => "enlistment-trace"
                          },
                          {
                              "address" => [
                                  ("subsystem" => "messaging-activemq"),
                                  ("server" => "default"),
                                  ("pooled-connection-factory" => "activemq-ra")
                              ],
                              "operation" => "write-attribute",
                              "name" => "statistics-enabled",
                              "value" => true
                          },
                          {
                              "address" => [
                                  ("subsystem" => "messaging-activemq"),
                                  ("server" => "default"),
                                  ("pooled-connection-factory" => "activemq-ra")
                              ],
                              "operation" => "undefine-attribute",
                              "name" => "use-jndi"
                          },
                          {
                              "address" => [
                                  ("subsystem" => "messaging-activemq"),
                                  ("server" => "default"),
                                  ("pooled-connection-factory" => "activemq-ra")
                              ],
                              "operation" => "undefine-attribute",
                              "name" => "use-local-tx"
                          }
      

      Second toggle:

      "operation" => "composite",
                      "address" => [],
                      "steps" => [
                          {
                              "address" => [
                                  ("subsystem" => "messaging-activemq"),
                                  ("server" => "default"),
                                  ("pooled-connection-factory" => "activemq-ra")
                              ],
                              "operation" => "undefine-attribute",
                              "name" => "enlistment-trace"
                          },
                          {
                              "address" => [
                                  ("subsystem" => "messaging-activemq"),
                                  ("server" => "default"),
                                  ("pooled-connection-factory" => "activemq-ra")
                              ],
                              "operation" => "undefine-attribute",
                              "name" => "use-jndi"
                          },
                          {
                              "address" => [
                                  ("subsystem" => "messaging-activemq"),
                                  ("server" => "default"),
                                  ("pooled-connection-factory" => "activemq-ra")
                              ],
                              "operation" => "undefine-attribute",
                              "name" => "use-local-tx"
                          }
      

            hpehl@redhat.com Harald Pehl
            pjelinek@redhat.com Pavel Jelinek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: