【发布时间】:2019-09-18 17:45:47
【问题描述】:
我正在尝试为我的 wildfly swarm 组件启用 JMX。我习惯于看到用于各种 wildfly 子系统的多个 mbean,我对数据源 mbean 特别感兴趣。
我在下面粘贴了一个 sn-p,我得到了 jmx 分数,并且我将 statistics-enabled 设置为 true。当 thorntail 运行时,我可以通过 JMX 连接到 JVM,但我看不到任何数据源 mbean。是否需要启用其他功能才能显示它们?
应用目前在swarm 2018.2.0.Final
swarm:
jmx:
expression-expose-model.domain-name: RemoteJMX
jmx-remoting-connector:
use-management-endpoint: true
resolved-expose-model.domain-name: RemoteJMX
show-model: true
datasources:
data-sources:
MyDataSourceName:
driver-name: com.microsoft.sqlserver
connection-url: jdbc:xyz
statistics-enabled: true
【问题讨论】:
标签: jmx wildfly-swarm thorntail