| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| I would like to know how can I expose the IoConnector's and IoSession's statistics using JMX and Mbean. I am currently using Mina 2.0-M3 I currently manage to expose the IoConnector's object using the IoServiceMBean and Spring's MBeanExporter (I am configuring Mina through Spring). Unfortunately the JConsole allows me to view the IoConnector's attributes such as the "statistics" attribute but since "statistics" is an object, I only manage to see its address in memory but not any of statistics's attributes. How should I configure my IoServiceMBean to view the IoConnector's statistics? Thanks, Simon |
|
#2
| |||
| |||
| On Wed, 27 Aug 2008 15:22:04 -0400 "Simon Trudeau" <strudeau-kPw4nhWTa4tJQxFrfMEhiVaTQe2KTcn/@public.gmane.org> wrote: > I would like to know how can I expose the IoConnector's and > IoSession's statistics using JMX and Mbean. I am currently using Mina > 2.0-M3 > I currently manage to expose the IoConnector's object using the > IoServiceMBean and Spring's MBeanExporter (I am configuring Mina > through Spring). Unfortunately the JConsole allows me to view the > IoConnector's attributes such as the "statistics" attribute but since > "statistics" is an object, I only manage to see its address in memory > but not any of statistics's attributes. > > How should I configure my IoServiceMBean to view the IoConnector's > statistics? > > Thanks, > > Simon > Hi, Obviously it's a bug, when we moved IoService stats to a new class. Can you fill a JIRA issues about that please, so we don't forget to fix it. Thanks for the report, Julien -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD4DBQFItr86HMBmbW1IlcURAlxtAJdQYT2pjikzdkAudm9pwM TDaARKAJ0XBAGj sFYGKfm9SX+zYqpMtNS7lA== =UWLT -----END PGP SIGNATURE----- |
|
#3
| |||
| |||
| Jira has been filled up! https://issues.apache.org/jira/browse/DIRMINA-617 Simon -----Original Message----- From: Julien Vermillard [mailto:jvermillard-hxtJVsqPMRdGWvitb5QawA@public.gmane.org] Sent: August-28-08 11:08 AM To: users-KkkZOr9CKukPKjDvHGQMeg@public.gmane.org Subject: Re: How to expose IoConnector's and IoSession's statistics using JMX Mbean On Wed, 27 Aug 2008 15:22:04 -0400 "Simon Trudeau" <strudeau-kPw4nhWTa4tJQxFrfMEhiVaTQe2KTcn/@public.gmane.org> wrote: > I would like to know how can I expose the IoConnector's and > IoSession's statistics using JMX and Mbean. I am currently using Mina > 2.0-M3 > I currently manage to expose the IoConnector's object using the > IoServiceMBean and Spring's MBeanExporter (I am configuring Mina > through Spring). Unfortunately the JConsole allows me to view the > IoConnector's attributes such as the "statistics" attribute but since > "statistics" is an object, I only manage to see its address in memory > but not any of statistics's attributes. > > How should I configure my IoServiceMBean to view the IoConnector's > statistics? > > Thanks, > > Simon > Hi, Obviously it's a bug, when we moved IoService stats to a new class. Can you fill a JIRA issues about that please, so we don't forget to fix it. Thanks for the report, Julien |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.