Description of problem: ---------------------- If the statistic for EJB calls is enabled with /subsystem=ejb3:write-attribute(name=enable-statistics, value=true) call statistics are calculated but the wait-time is never set even if a pool overload is forced. Version-Release number of selected component (if applicable): The issue is reproducible even in EAP 6.3.0 beta. How reproducible: - Deploy any EJB on EAP 6.3 and then after accessing the EJBs check the EJB Statistics using CLI like: /deployment=TestEAR.ear/subdeployment=remoteEjbTwo.jar/subsystem=ejb3/stateless-session-bean=TestBean:read-resource(include-runtime=true) Steps to Reproduce: 1. 2. 3. Actual results: ---------------- - The "wait-time" is always returned as ["wait-time" => 0L] Expected results: ---------------- - "wait-time" should have been set to the actual calculated value. Additional info:
Created attachment 924122 [details] Stateless_EJB_Ear.ear
Created attachment 924123 [details] Stateless_EJB_Client.jar
Verified in EAP 6.4.0.DR1.1. A regression test for this written by me is coming soon, waiting for PR to be merged.
Regression test https://github.com/jbossas/jboss-eap/pull/1711