Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-7107

Invocation statistics not collected on JMX based EJB2 managed components

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 6.0.0.M1
    • None
    • None

    Description

      This was brought to light while investigating JOPR-280.

      During the Jopr AS5 plugin integration tests the metrics collection on EJB2 SFSBs, SLSBs, MDBs and Entity beans is tested.

      For session beans a single remote method is called 10 times on a single bean. The test then checks for CreateCount == 1 and for appropriate method invocation statistics.
      Both the create count and the invocation stats are always 0/empty. Note that this is also true for the MBeans of the session beans themselves when looking at the values in the jmx-console.

      For MDBs the collection statistics fails "most of the time". This might be because the JNDI name of a bean contains @object-id. Once some messages are delivered to the bean the @object-id part of the JNDI name changes from time to time. I suspect that with that change, the stats go as well.

      Entity bean metrics seem to be collected fine.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhn-engineering-lkrejci Lukas Krejci
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: