-
1. Re: How to obtain various statistics from jboss
rameshs Jan 23, 2004 1:57 AM (in response to vatsanc)Hi !
Since JSR 77 has been implemented into JBoss, you can query the MBeans with the following object name patterns to get the appropriate stats.
*:j2eeType=J2EEDomain,*
*:j2eeType=J2EEServer,*
*:j2eeType=JVM,*
*:j2eeType=J2EEApplication,*
*:j2eeType=WebModule,*
*:j2eeType=Servlet,*
*:j2eeType=EJBModule,*
*:j2eeType=EntityBean,*
*:j2eeType=StatelessSessionBean,*
*:j2eeType=StatefulSessionBean,*
*:j2eeType=MessageDrivenBean,*
*:j2eeType=ResourceAdapterModule,*
*:j2eeType=ServiceModule,*
*:j2eeType=AppClientModule,*
*:j2eeType=ResourceAdapter,*
*:j2eeType=JNDIResource,*
*:j2eeType=JavaMailResource,*
*:j2eeType=JTAResource,*
*:j2eeType=JMSResource,*
*:j2eeType=RMI_IIOPResource,*
*:j2eeType=URLResource,*
*:j2eeType=JCAResource,*
*:j2eeType=JCAConnectionFactory,*
*:j2eeType=JDBCResource,*
If the StatsProvider is enabled, then these would generally be available for every application. You can also have a glance at the JSR 77 specification.
I am not sure about whether JBoss provides the stats for the JDBC Resources.
Regards,
Ramesh
AdventNet Inc.