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.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/即可開始監控。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM