【问题标题】:How to monitor ActiveMQ Artemis on WildFly with Hawt.io如何使用 Hawt.io 在 WildFly 上监控 ActiveMQ Artemis
【发布时间】:2016-12-10 07:27:26
【问题描述】:

我已将 ActiveMQ Artemis 嵌入到 WildFly10(随其提供),并希望通过 Hawt.io 对其进行监控。

我做了什么:

  • ActiveMQ Artemis 已配置并正在运行
  • 我将 hawtio.war 放到了部署目录中。
  • 我放弃了由 maven artemis-plugin 构建,名称更改为 artemis-plugin.war
  • 我什至放弃了 jolokia.war

我尝试使用独立的 jar - 创建了一个插件目录并将 artemis-plugin.war 放在那里。

当我连接到 jolokia 时,我得到了 WildFly 的 CPU 使用率(以及类似的东西),我可以通过 JMX 看到队列,但仍然可以通过 Artemis 获得成功。

hawtio 无法识别插件hawtio 无法识别插件,但它已加载:

[main] INFO org.eclipse.jetty.webapp.WebAppContext - An Artemis plugin at http://0.0.0.0:8081/artemis-plugin
[main] INFO jetty - Added 3rd party plugin with context-path: /artemis-plugin
Added 3rd party plugin with context-path: /artemis-plugin

我没有“Artemis”标签。 ,转到http://0.0.0.0:8081/artemis-plugin 显示目录:

目录:/artemis-plugin/

META-INF/   4096 bytes  Aug 4, 2016 10:41:10 AM
WEB-INF/    4096 bytes  Aug 4, 2016 10:41:10 AM
log4j.properties    215 bytes   Aug 3, 2016 3:39:10 PM
plugin/     4096 bytes  Aug 4, 2016 10:41:09 AM

有什么想法吗?

【问题讨论】:

    标签: wildfly hawtio activemq-artemis


    【解决方案1】:

    jmx 管理必须打开:

    <management jmx-enabled="true"/>

    source

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-11-18
      • 2021-11-24
      • 2017-03-13
      • 2019-11-14
      • 2019-04-29
      • 2017-01-03
      • 2021-02-25
      • 2017-03-03
      相关资源
      最近更新 更多