监控 ehcache缓存:

1,下载:

http://terracotta.org/downloads/open-source/destination?name=ehcache-monitor-kit-1.0.3-distribution.tar.gz&bucket=tcdistributions&file=ehcache-monitor-kit-1.0.3-distribution.tar.gz

2.解压缩到目录下,复制ehcache-monitor-kit-1.0.0\lib\ehcache-probe-1.0.0.jar包到application的 /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.0\etc\ehcache-monitor.conf中可以配置监控的ip和端口号。
 
5.启动被监控的web application和ehcache-monitor-kit-1.0.0\bin目录下的startup.bat(在windows环境下)
 
6.在浏览器中输入 http://localhost:9889/monitor/即可开始监控。

相关文章:

  • 2022-12-23
  • 2021-11-27
  • 2021-12-02
  • 2021-11-01
  • 2022-01-02
  • 2022-03-04
  • 2021-11-27
  • 2021-07-09
猜你喜欢
  • 2021-12-22
  • 2021-12-05
  • 2021-04-09
  • 2021-12-29
  • 2022-01-08
  • 2022-12-23
相关资源
相似解决方案