[XNIO] IO worker connection count provides incorrect values in Red Hat Fuse (Karaf runtime)
Issue
The org.xnio
"Connection count" JMX MBean attribute returns an incorrect value -1
, so that it is hard to monitor the performance of the Undertow server.
A sample JMX output may read:
Bind address /0:0:0:0:0:0:0:0:8181
Connection count -1
Connection limit high water 2147483647
Connection limit low water 2147483647
Object Name org.xnio:type=Xnio,provider="nio",worker="XNIO-?",address="/0:0:0:0:0:0:0:0:8181"
Provider name nio
Worker name XNIO-?
Environment
- Red Hat Fuse
- 7.7 and older
- Karaf runtime
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.