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

[GSS][7.4.z] CLI command is incorrect in 6.1.2. Resource Adapter Statistics

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • Documentation
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      JBoss EAP 7.4 Performance Tuning Guide
      6.1.2. Resource Adapter Statistics

      /deployment=myRA.rar/subsystem=resource-adapters/statistics=statistics/connection-definitions=java\:\/eis\/AcmeConnectionFactory:write-attribute(name=statistics-enabled,value=true)
      

      The above CLI command in the product document will fail with the following error message with JBoss EAP 7.4.8 as the latest patch update :

      Failed to get the list of the operation properties: "WFLYCTL0030: No resource definition is registered for address [
          ("deployment" => "myRA.rar"),
          ("subsystem" => "resource-adapters"),
          ("statistics" => "statistics"),
          ("connection-definitions" => "java:/eis/AcmeConnectionFactory")
      ]"
      

      The correct CLI path is as follows:

      [standalone@localhost:9990 /] /deployment=echo.rar/subsystem=resource-adapters/ironjacamar=ironjacamar/resource-adapter=echo.rar/connection-definitions=java\:jboss\/eis\/echo/statistics=pool:write-attribute(name=statistics-enabled, value=true)
      {"outcome" => "success"}
      

              sraghupu Sangeeta Raghu-Punnadi
              rhn-support-nagetsum Norito Agetsuma
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: