apm0707
tomcat 6.0
1、报错
1、权限赋予
2、注意文件类型
3、
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=1099
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.password.file=C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\conf\jmxremote.password -Dcom.sun.management.jmxremote.access.file=C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\conf\jmxremote.access -Djava.rmi.server.hostname=XX.XX.XX.XX
指APM请求时需要响应的服务器的IP地址,因此该命令的填写是本台装有tomcat服务器的主机地址
4、上述为几个配置易错点,如果检查没有问题,可以收集apm的debug日志具体分析
apm的debug日志
Connection refused to host: xx.xx.xx.xx(ucenter地址); nested exception is: 嵌套异常
java.net.ConnectException: Connection refused: connect 连接拒绝
发现在tomcat配置的ip地址错配为ucenter 的地址导致,修改后解决。
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作