How to enable and view ejb invocation & pool statistics in JBoss EAP 8 / 7 / 6

Solution Verified - Updated -

Issue

  • How to enable ejb statistics in JBoss EAP 7/ 6?
  • Is there a statistic for EJB invocations like this was in former EAP provided by jmx or admin console?
  • The statistic can be seen in the CLI for the deployment, but other values as pool-* are '0'
  • Where can I find invocation statistics for my EJB's?
  • EJB metrics execution-time and invocations always 0 in jboss-cli
  • Number of active sessions (stateful session bean)
  • EJB invocation count in MBean and JBoss CLI is not increasing.
  • There is a requirement to use MBean/JBoss CLI to capture how many times an EJB has been invoked. Attribute "invocations" in EJB's backing MBean should be able to provide this count. But despite numerous invocations , count does not increase. How to get these statistics in EAP 6?
  • How to retrieve the JNDIView in EAP 6?
  • How to get a count of current, total, passivated, removed EJB instances (SFSB, SLSB)?
  • How to Monitor EJB bean pool and which pool is used
  • How can I see which ejb pool is used for the ejb?
  • Can I get EJB invocation / pool stats jmx ?
  • I have doubt about ejb monitoring .I haven't enabled the statistics parameter in ejb subsysystem like below but still I can see ejb statistics through JConsole.
<statistics enabled="false"/>

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 8.x
    • 7.x
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content