我们已经安装了从https://github.com/hawkular/hawkular-apm/releases下载的 Hawkular APM 。
然后启动服务器:
bin/add-user.sh -a -u jdoe -p password -g read-write,read-only
bin/standalone.sh -b 0.0.0.0 -Djboss.http.port={PORT} (1)
然后在同一台机器上的 WildFly-8.2 服务器上安装 JVM 代理。 https://hawkular.gitbooks.io/hawkular-apm-user-guide/content/instrumentation/jvmagent.html
将 apm 文件夹复制到 wildfly-8.2 并设置 setenv.sh。
apm/setenv.sh port
然后开始了 WildFly。APM 服务器中没有显示数据。当我停止 APM 服务器时,我想监控的 WildFly-8.2 服务器出现以下异常。
SEVERE: [AbstractRESTClient] [Thread[pool-2-thread-1,5,main]] Failed to get results
java.net.ConnectException: Connection refused (Connection refused)
当我检查 APM 服务器时没有找到任何数据源连接。是否需要更多步骤?