[
https://issues.apache.org/jira/browse/DIRMINA-617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13079389#comment-13079389
]
Saeid Mirzaei commented on DIRMINA-617:
---------------------------------------
Hi
Same problem for me.
Just add these three lines in the beginning of
org.apache.mina.integration.jmx.ObjectMBean<T>.isExpandable function:
if (IoService.class.isAssignableFrom(type) && attrName.equals("statistics")) {
return true;
}
I don't why it is removed from code, maybe because Statistics are not accurate.
There are some other posts on this topic in Jira
Saeid
> JMX - IoServiceMBean doesn't expose IoService statistics
> --------------------------------------------------------
>
> Key: DIRMINA-617
> URL: https://issues.apache.org/jira/browse/DIRMINA-617
> Project: MINA
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0.0-M3
> Reporter: simon trudeau
> Assignee: Ashish Paliwal
> Fix For: 3.0.0-M1
>
>
> As of Mina 2.0.0-M3 it is not possible to browse Mina's statistics using JMX
> and IoServiceMBean. Only the object memory address is exposed and not its
> attributes.
> This should also be looked into for IoSession too.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira