@echo on
if not defined JAVA_HOME (
echo JAVA_HOME environment variable must be set
exit /b 1
)
setlocal enabledelayedexpansion
set JAVA_HOME="%JAVA_HOME:"=%"
set PRGDIR=%~d0%~p0..
set PRGDIR="%PRGDIR:"=%"
set classpath=
for %%F in (%PRGDIR%\lib\*.jar) do (
set classpath=!classpath!;%%F%
)
Windows下用原始的startup.bat启动monitor会报一个java.net.UnknownHostException, 比较莫名其妙,根据启动log来看基本上应该这个脚本找的Jetty.xml有问题,直接去掉那个-j选项后,可以启动成功
以下是monitor的启动脚本:
java ^
%JAVA_OPTS% ^
-server ^
-Dehcachedx.sampling.seconds=10 ^
-Dehcachedx.sampling.history=8640 ^
-server ^
-cp %classpath% ^
org.terracotta.ehcachedx.monitor.Monitor start ^
-j %PRGDIR%\etc\jetty.xml ^ 去掉
-f ..\etc\ehcache-monitor.conf %*
endlocal
启动成功后显示以下界面:
May 24, 2013 4:55:35 PM org.terracotta.ehcachedx.license.LicenseResolver resolve
License
WARNING: No license key found. This monitoring probe software is not licensed f
or production usage, and is only licensed for development usage. See LICENSE.txt
for details. A temporary key will be generated for development usage. When the
temporary key expires, the ing probe capability will be suspended but your abili
ty to continue to use Ehcache will not be affected. Please contact sales@terraco
ttatech.com to request a license.
May 24, 2013 4:55:36 PM org.terracotta.ehcachedx.license.LicenseResolver logLice
nse
INFO:
--------------- license key ---------------
Capabilities: ehcache monitor
Date of Issue: 2013-05-24
Edition: DX
Expiration Date: 2013-05-27
License Number: 0000
License Type: DevOnly
Licensee: DevOnly
Product: Ehcache
-----------------------------------------------
May 24, 2013 4:55:36 PM org.terracotta.ehcachedx.monitor.monitor.MonitorDxServic
e startHTTPListener
INFO: Started monitor at http://10.158.171.102:9889/monitor
分享到:
相关推荐
1.解压缩到目录下,复制ehcache-monitor-kit-...启动被监控的web application和ehcache-monitor-kit-1.0.0\bin目录下的startup.bat(在windows环境下) 5.在浏览器中输入 http://localhost:9889/monitor/即可开始监控。
ehcache 监控安装配置过程的详细记录。
1.解压缩到目录下,复制ehcache-monitor-...4.启动被监控的web application和ehcache-monitor-kit-1.0.0\bin目录下的startup.bat(在windows环境下) 5.在浏览器中输入 http://localhost:9889/monitor/即可开始监控。
Ecache 监控工具包,用于ehcache的监控
Hibernate-ehcache-启动器基于hibernate的ehcache应用启动器
hibernate+ehcache hibernate+ehcache hibernate+ehcache hibernate+ehcache hibernate+ehcache
ehcache-3.8.1.jar
EhCache
赠送jar包:ehcache-3.9.9.jar; 赠送原API文档:ehcache-3.9.9-javadoc.jar; 赠送源代码:ehcache-3.9.9-sources.jar; 赠送Maven依赖信息文件:ehcache-3.9.9.pom; 包含翻译后的API文档:ehcache-3.9.9-javadoc-...
hibernate ehcache.xml 配置详解
spring3整合EhCache注解实例
ehcache所需的ehcache-core-2.5.2.jar及其源码ehcache-core-2.5.2-sources.jar
EhCache 是一个纯Java的进程内缓存框架,具有快速、精干等特点,是Hibernate中默认的CacheProvider。 Ehcache是一种广泛使用的开源Java分布式缓存。主要面向通用缓存,Java EE和轻量级容器。它具有内存和磁盘存储,...
EhCache 是一个纯 Java 的进程内缓存框架,具有快速、精干等特点,是 Hibernate 中默认的 CacheProvider。Ehcache 是一种广泛使用的开源 Java 分布式缓存。主要面向通用缓存,Java EE 和轻量级容器。它具有内存和...
ehcache所需jar包 cglib-nodep-2.2.jar ehcache-core-2.5.2.jar ehcache-spring-annotations-1.2.0.jar guava-13.0.1.jar ehcache-terracotta-2.5.2.jar slf4j-api-1.6.1.jar slf4j-log4j12-1.6.1.jar terracotta-...
ehcache资料(包含ehcache jar包)
软件介绍: 已测试有效的ehcache.xsd文件,引入ide中,进行ehcache.xml的代码提示。Windows外壳公用DLL文件,大小23.1KB。
赠送jar包:ehcache-3.3.1.jar; 赠送原API文档:ehcache-3.3.1-javadoc.jar; 赠送源代码:ehcache-3.3.1-sources.jar; 赠送Maven依赖信息文件:ehcache-3.3.1.pom; 包含翻译后的API文档:ehcache-3.3.1-javadoc-...
具有集群支持的 Ehcache 3(ehcache-clustered-3.8.1-kit.zip)
EHCache_技术文档 EHCache缓存 spring缓存