博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
EhCache Monitor的使用
阅读量:4654 次
发布时间:2019-06-09

本文共 661 字,大约阅读时间需要 2 分钟。

1.在 下载ehcache-monitor-kit-1.0.0-distribution.tar.gz包
2.解压缩到目录下,复制ehcache-monitor-kit-1.0.0\lib\ehcache-probe-1.0.0.jar包到application的web-inf/lib目录下
3.将以下配置copy的ehcache.xml文件的ehcache标签中,注:上述链接中说的配置少写了个probe包名。
<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环境下)
注意,使用的时候将startup.bat文件中的jetty配置文件删除
6.在浏览器中输入
http://localhost:9889/monitor/即可开始监控。

转载于:https://www.cnblogs.com/littlemonk/p/5617529.html

你可能感兴趣的文章
Java开发环境的搭建以及使用eclipse从头一步步创建java项目
查看>>
webpack Cannot find module 'webpack/schemas/WebpackOptions.json'
查看>>
分布式系统的负载均衡 | 架构干货
查看>>
关于JAVA发送Https请求(HttpsURLConnection和HttpURLConnection)
查看>>
HDOJ2000(ASC||码排序)【sort函数】
查看>>
关于js中"window.location.href"、"location.href"、"parent.location.href"、"top.location.href"的用法(转)...
查看>>
poj2393
查看>>
mysql in 的另一种替换方法
查看>>
基于注解的Spring AOP的配置和使用--转载
查看>>
无法直接启动带有“类库输出类型”的项目
查看>>
MySQL-05 用户管理
查看>>
Flex【原创】移动设备相册图片浏览功能
查看>>
Nodejs on windows 10
查看>>
HDU1233--还是畅通工程(最小生成树)
查看>>
linux——实际工作中如何使用linux
查看>>
设置 jsp 表格相邻两行的颜色不一样
查看>>
性能指标分析
查看>>
Jenkins企业应用
查看>>
[POJ 1061]青蛙的约会
查看>>
使用SeaJS实现模块化JavaScript开发
查看>>