Uploaded image for project: 'Embedded Jopr'
  1. Embedded Jopr
  2. EMBJOPR-280

jboss-as-5 plugin: JTA Metrics not found during discovery scan

    Details

    • Type: Bug
    • Status: Reopened (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.3.2
    • Fix Version/s: 1.3.3, 1.4.0
    • Component/s: Plugin
    • Labels:
      None
    • Environment:

      Embedded Jopr version: 1.4.0-20100120.135921-68

      Description

      Performing manual testing of the admin-console snapshot deployed to AS 6, IllegalStateException was thrown during a runtime discovery scan when obtaining JTA metrics, specifically:
      17:07:47,657 INFO [org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor] Running runtime discovery scan rooted at [platform]
      17:07:51,717 INFO [org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor] Scanned [0] servers and found [0] total descendant Resources.
      17:08:11,996 ERROR [org.rhq.plugins.jbossas5.ApplicationServerComponent] Failed to obtain metric 'MCBean|JTA|*|transactionCount'.: java.lang.IllegalStateException: Property named 'transactionCount' not found for ManagedComponent [org.jboss.profileservice.management.client.ManagedComponentDelegate@1de64f6].
      at org.rhq.plugins.jbossas5.util.ManagedComponentUtils.getSimplePropertyValue(ManagedComponentUtils.java:80)
      at org.rhq.plugins.jbossas5.ApplicationServerComponent.getValues(ApplicationServerComponent.java:256)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)

      17:08:11,996 ERROR [org.rhq.plugins.jbossas5.ApplicationServerComponent] Failed to obtain metric 'MCBean|JTA|*|rollbackCount'.: java.lang.IllegalStateException: Property named 'rollbackCount' not found for ManagedComponent [org.jboss.profileservice.management.client.ManagedComponentDelegate@1de64f6].
      at org.rhq.plugins.jbossas5.util.ManagedComponentUtils.getSimplePropertyValue(ManagedComponentUtils.java:80)
      at org.rhq.plugins.jbossas5.ApplicationServerComponent.getValues(ApplicationServerComponent.java:256)
      17:08:12,000 ERROR [org.rhq.plugins.jbossas5.ApplicationServerComponent] Failed to obtain metric 'MCBean|JTA|*|commitCount'.: java.lang.IllegalStateException: Property named 'commitCount' not found for ManagedComponent [org.jboss.profileservice.management.client.ManagedComponentDelegate@1de64f6].
      at org.rhq.plugins.jbossas5.util.ManagedComponentUtils.getSimplePropertyValue(ManagedComponentUtils.java:80)
      at org.rhq.plugins.jbossas5.ApplicationServerComponent.getValues(ApplicationServerComponent.java:256)

      JBoss TS 4.9.0.GA was integrated into AS 6.0.0.M2 (see: JBAS-7022).

      Need to investigate further as I had several apps deployed at the time the error was thrown.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ips Ian Springer
                  Reporter:
                  shelly.mcgowan Shelly McGowan
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:

                    Time Tracking

                    Estimated:
                    Original Estimate - 4 hours
                    4h
                    Remaining:
                    Remaining Estimate - 4 hours
                    4h
                    Logged:
                    Time Spent - Not Specified
                    Not Specified