-
1. Re: How to get web service performance statistic information
peterj Mar 30, 2009 2:40 PM (in response to sara1232007)You never said if you were using EJB-based or POJO-based web services, nor if EJB3 or EJB2.x-based. So I will assume EJB3-based (since that is what I have readily available). Look for this MBean:
jboss.j2ee:service=EJB3,name=xxx,jar=yyy.jar
where xxx is the name of the EJB that defines the web service and yyy.jar is the name of the JAR file containing the EJB (I deployed mine as a simple JAR, not within an EAR.)
The attribute you want is InvokeStats.
If this doesn't help, use the jmx console to locate mbeans that contain the name of your app or web service, one of them should have the info you are looking for. -
2. Re: How to get web service performance statistic information
sara1232007 Mar 30, 2009 9:28 PM (in response to sara1232007)hi peter,
Thank you for your quick response.
The web service is form of war file which generated by a tool and deploy in server directly with out modifing any config file. I guess the web service is POJO-based. In this case, how to get web service performance statistic information by mbean?
Your further help is very much appreciated.
Thanks.
Sara -
3. Re: How to get web service performance statistic information
sara1232007 Mar 31, 2009 3:00 AM (in response to sara1232007)PS,
the web service is implemented by java servlet -
4. Re: How to get web service performance statistic information
peterj Mar 31, 2009 11:05 AM (in response to sara1232007)PeterJ wrote:
If this doesn't help, use the jmx console to locate mbeans that contain the name of your app or web service, one of them should have the info you are looking for.