zoukankan      html  css  js  c++  java
  • Ehcache 缓存监控配置

    监控 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.0libehcache-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.0etcehcache-monitor.conf中可以配置监控的ip和端口号。
     
    5.启动被监控的web application和ehcache-monitor-kit-1.0.0in目录下的startup.bat(在windows环境下)
     
    6.在浏览器中输入 http://localhost:9889/monitor/即可开始监控。 
     
    7.删除 startup.bat中的行 -j %PRGDIR%etcjetty.xml ^
  • 相关阅读:
    课程总结
    课程总结
    十四周实验报告&&课程总结
    记事本代码
    第十三周课程总结
    第十二周课程报告
    PTA实验 链表拼接 (20point(s))
    课程总结
    第十四周课程总结&实验报告
    第十三周课程总结
  • 原文地址:https://www.cnblogs.com/daxin/p/3856531.html
Copyright © 2011-2022 走看看