我们已经安装了从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服务器时,没有发现任何数据源连接。还需要更多步骤吗?
发布于 2017-06-14 23:16:16
我认为问题在于原始的Hawkular APM代理定期从服务器提取配置信息,因此停止服务器将无法检索配置。
然而,Hawkular APM不再像这里解释的那样被积极开发:http://www.hawkular.org/blog/2017/04/19/hawkular-apm-jaeger.html。
因此,您可能想尝试另一种解决方案。
https://stackoverflow.com/questions/44437065
复制相似问题