Description of problem: Call time statistics of EJB 2.1 stateless session beans are not correctly generated after some load on JON 2.4.1 Version-Release number of selected component (if applicable): JON 2.4.1 How reproducible: every time. Steps to Reproduce: 1) Install EAP 5.1 2) copy all configuration to etat1 and etat2 3) remove messaging from etat1/deploy and etat2/deploy 4) deploy EAR to etat1/deploy and etat2/deploy 5) add virtual IP addresses bound to localhost as root via: [root@dhcp-64-60 chrome]# ip addr add 192.168.100.50/32 dev lo [root@dhcp-64-60 chrome]# ip addr add 192.168.100.51/32 dev lo 6) start Jboss instances: ./run.sh -c etat1 -b 192.168.100.50 ./run.sh -c etat2 -b 192.168.100.51 7) Install JON 2.4.1, install the corresponding JON agent 8) Let JON 2.4.1 import those two EAP 5.1 instances 9) In JON on both TestBeans include Call Time Measurement and set collection interval to 1min 10 Put some load on the web app by calling the following script a few seconds/minutes: #!/bin/sh URLS="http://192.168.100.50:8080/etatWeb/TestEJBServlet http://192.168.100.51:8080/etatWeb/TestEJBServlet" while [ 1 ] do for url in $URLS do wget $url -a etat.log done done 11) Go to Operations, request "View Method Statistics" and check the output (should look fine); 12) Stop the script; 13) Repeat step 11 - and check the result - the following report is generated: Method Name Count Total Time Min Invocation Time Max Invocation Time Actions sayHello 0 0 9223372036854775807 0 View remove 0 0 9223372036854775807 0 View create 0 0 9223372036854775807 0 View Actual results: Expected results: Additional info: attached etat.ear.tar.gz and callTimeStatistics_stop1.png files
Created attachment 487345 [details] The EAR file used for testing
Created attachment 487346 [details] The screen shot that shows generated statistics
The behavior appears to be a bug in AS. Remove JON from the picture and use twiddle: serverUrl='http://localhost:8080' jmxUser='admin' jmxPassword='admin' mBeanName='jboss.j2ee:jndiName=TestBean,service=EJB' mBeanAttr='DetypedInvocationStatistics' ./twiddle.sh -s "${serverUrl}" -u "${jmxUser}" -p "${jmxPassword}" get "${mBeanName}" "${mBeanAttr}" You will see that the InvokeStats are equally incorrect using your test-case.