XNIO "ConnectionCount" attribute in MBean returns "-1" .
The issue was already reported by XNIO project, and there is a fixed version.
Please check following knowledge articles about the issues.
"IO worker connection count provides incorrect values in EAP 7"
"How can we monitor the number of active busy threads in XNIO task thread pool in JBoss EAP 7?"
|Upgrade to XNIO 3.5.9.Final in OSGi (Pax Web)||Resolved|