首页 > 系统服务 > 详细

EhCache Monitor的使用

时间:2019-11-08 18:45:32      阅读:88      评论:0      收藏:0      [点我收藏+]

1.下载ehcache-monitor-kit-1.0.3

2.解压缩到目录下,复制ehcache-monitor-kit-1.0.3\lib\ehcache-probe-1.0.3.jar包到application的web-inf/lib目录下

3.将以下配置copy的ehcache.xml文件的ehcache标签中

<cacheManagerPeerListenerFactory class="org.terracotta.ehcachedx.monitor.probe.ProbePeerListenerFactory"
properties="monitorAddress=localhost, monitorPort=9889" />

4.在\ehcache-monitor-kit-1.0.3\etc\ehcache-monitor.conf中可以配置监控的ip和端口号。

5.启动被监控的web application和ehcache-monitor-kit-1.0.3\bin目录下的startup.bat(在windows环境下)

6.在浏览器中输入 http://localhost:9889/monitor/即可开始监控

注意:删除ehcache-monitor-kit-1.0.3\bin\startup.bat 文件的
-j %PRGDIR%\etc\jetty.xml ^


如果出现类似:SLF4J: The requested version 1.6.99 by your slf4j binding is not compatible 错误

打开复制到项目的ehcache-probe-1.0.3.jar 删除slf4j

技术分享图片

 

EhCache Monitor的使用

原文:https://www.cnblogs.com/aaron911/p/11822088.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!