ehcache 的 diskStore path

2010-07-01 15:18

ehcache 的 diskStore path="java.io.tmpdir"

<!—设置缓存文件 .data 的创建路径。

         如果该路径是 Java 系统参数,当前虚拟机会重新赋值。

         下面的参数这样解释:
user.home – 用户主目录
user.dir      – 用户当前工作目录
java.io.tmpdir – 默认临时文件路径 -->
<diskStore path="java.io.tmpdir"/>



(个人微信号)  (技术公众号)

阅读更多
换一批

The diskStore path for this CacheManager will be set……

07-27

rn刚接触SSH 又有问题了,rnrnrntomcat 启动出现下面的,这个怎么解决呢 ?听说和ehcache.xml 有关还是?(15922 ms) [main] INFO : org.hibernate.cfg.SettingsFactory#createCacheProvider : Cache provider: org.hibernate.cache.EhCacheProviderrn(15922 ms) [main] INFO : org.hibernate.cfg.SettingsFactory#buildSettings : Optimize cache for minimal puts: disabledrn(15922 ms) [main] INFO : org.hibernate.cfg.SettingsFactory#buildSettings : Structured second-level cache entries: disabledrn(15922 ms) [main] INFO : org.hibernate.cfg.SettingsFactory#createQueryCacheFactory : Query cache factory: org.hibernate.cache.StandardQueryCacheFactoryrn(15922 ms) [main] INFO : org.hibernate.cfg.SettingsFactory#buildSettings : Statistics: disabledrn(15922 ms) [main] INFO : org.hibernate.cfg.SettingsFactory#buildSettings : Deleted entity synthetic identifier rollback: disabledrn(15922 ms) [main] INFO : org.hibernate.cfg.SettingsFactory#buildSettings : Default entity-mode: pojorn(15922 ms) [main] INFO : org.hibernate.cfg.SettingsFactory#buildSettings : Named query checking : enabledrn(15953 ms) [main] INFO : org.hibernate.impl.SessionFactoryImpl# : building session factoryrn(15953 ms) [main] WARN : net.sf.ehcache.config.ConfigurationFactory#parseConfiguration : No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/E:/Workspaces/maintain1/src/main/webapp/WEB-INF/lib/ehcache-1.2.3.jar!/ehcache-failsafe.xmlrn(15953 ms) [main] WARN : net.sf.ehcache.CacheManager#detectAndFixDiskStorePathConflict : Creating a new instance of CacheManager using the diskStorePath "D:\tools\tomcat6\temp" which is already used by an existing CacheManager.rnThe source of the configuration was classpath.rnThe diskStore path for this CacheManager will be set to D:\tools\tomcat6\temp\ehcache_auto_created_1311761286687.rnTo avoid this warning consider using the CacheManager factory methods to create a singleton CacheManager or specifying a separate ehcache configuration (ehcache.xml) for each CacheManager instance.rn(16047 ms) [main] INFO : org.hibernate.impl.SessionFactoryObjectFactory#addInstance : Not binding factory to JNDI, no JNDI name configuredrn(16047 ms) [main] INFO : org.hibernate.cache.UpdateTimestampsCache# : starting update timestamps cache at region: org.hibernate.cache.UpdateTimestampsCachern(16047 ms) [main] WARN : org.hibernate.cache.EhCacheProvider#buildCache : Could not find configuration [org.hibernate.cache.UpdateTimestampsCache]; using defaults.rn(16047 ms) [main] INFO : org.hibernate.cache.StandardQueryCache# : starting query cache at region: org.hibernate.cache.StandardQueryCachern(16047 ms) [main] WARN : org.hibernate.cache.EhCacheProvider#buildCache : Could not find configuration [org.hibernate.cache.StandardQueryCache]; using defaults.rn(16078 ms) [main] INFO : org.quartz.core.QuartzScheduler# : Quartz Scheduler v.1.6.0 created.rn(16078 ms) [main] INFO : org.quartz.simpl.RAMJobStore#initialize : RAMJobStore initialized.rn(16078 ms) [main] INFO : org.quartz.impl.StdSchedulerFactory#instantiate : Quartz scheduler 'org.springframework.scheduling.quartz.SchedulerFactoryBean#1' initialized from an externally provided properties instance.rn(16078 ms) [main] INFO : org.quartz.impl.StdSchedulerFactory#instantiate : Quartz scheduler version: 1.6.0rn(16078 ms) [main] INFO : org.quartz.core.QuartzScheduler#setJobFactory : JobFactory set to: org.springframework.scheduling.quartz.AdaptableJobFactory@8f6d20rn(16109 ms) [main] INFO : org.springframework.scheduling.quartz.SchedulerFactoryBean#startScheduler : Starting Quartz Scheduler nowrn(16109 ms) [main] INFO : org.quartz.core.QuartzScheduler#start : Scheduler org.springframework.scheduling.quartz.SchedulerFactoryBean#1_$_NON_CLUSTERED started.rn(16109 ms) [main] INFO : org.springframework.web.context.ContextLoader#initWebApplicationContext : Root WebApplicationContext: initialization completed in 1047 msrn(16687 ms) [main] INFO : com.opensymphony.xwork2.config.providers.XmlConfigurationProvider#info : Parsing configuration file [struts-default.xml]rn(17172 ms) [main] INFO : com.opensymphony.xwork2.config.providers.XmlConfigurationProvider#info : Parsing configuration file [struts-plugin.xml]rn(17281 ms) [main] INFO : com.opensymphony.xwork2.config.providers.XmlConfigurationProvider#info : Parsing configuration file [struts.xml]rn(17297 ms) [main] INFO : com.opensymphony.xwork2.config.impl.DefaultConfiguration#info : Overriding property struts.i18n.reload - old value: false new value: truern(17297 ms) [main] INFO : com.opensymphony.xwork2.config.impl.DefaultConfiguration#info : Overriding property struts.configuration.xml.reload - old value: false new value: truern(17687 ms) [main] INFO : org.apache.struts2.spring.StrutsSpringObjectFactory#info : Initializing Struts-Spring integration...rn(17687 ms) [main] INFO : com.opensymphony.xwork2.spring.SpringObjectFactory#info : Setting autowire strategy to namern(17687 ms) [main] INFO : org.apache.struts2.spring.StrutsSpringObjectFactory#info : ... initialized Struts-Spring integration successfullyrn2011-7-27 18:08:10 org.apache.catalina.startup.HostConfig deployDescriptorrn信息: Deploying configuration descriptor manager.xmlrn2011-7-27 18:08:10 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory docsrn2011-7-27 18:08:10 org.apache.catalina.startup.HostConfig deployDirectory

没有更多推荐了,返回首页