Issue #1335 Fixed EHCache warnings. Changes to necessary config files
Change-Id: Ib6ad30965f32a046a1414bdfb534ec44ed875ce8 Former-commit-id: 6bb4fb29b5dd8e30a19ec63412fbd05348bd87a0
This commit is contained in:
parent
c4e1d26056
commit
5c31b34e12
3 changed files with 15 additions and 38 deletions
|
@ -34,4 +34,18 @@
|
|||
diskPersistent="false"
|
||||
memoryStoreEvictionPolicy="LRU"
|
||||
/>
|
||||
|
||||
<cache
|
||||
name="registryObjects"
|
||||
maxElementsInMemory="5000"
|
||||
maxElementsOnDisk="1"
|
||||
eternal="false"
|
||||
overflowToDisk="false"
|
||||
timeToIdleSeconds="120"
|
||||
timeToLiveSeconds="120"
|
||||
diskPersistent="false"
|
||||
memoryStoreEvictionPolicy="LRU"
|
||||
/>
|
||||
|
||||
|
||||
</ehcache>
|
|
@ -69,7 +69,7 @@
|
|||
<property name="hibernate.generate_statistics">true</property>
|
||||
<property name="hibernate.transaction.factory_class">org.hibernate.transaction.JDBCTransactionFactory</property>
|
||||
<property name="hibernate.current_session_context_class">thread</property>
|
||||
<!-- <property name="hibernate.cache.region.jbc2.cfg.shared">/awips2/edex/data/utility/edex_static/base/ebxml/cache/RegRepCacheConfig.xml</property> -->
|
||||
<property name="net.sf.ehcache.configurationResourceName">ebxmlRegistryCache.xml</property>
|
||||
<property name="hibernate.cache.provider_class">net.sf.ehcache.hibernate.EhCacheProvider</property>
|
||||
<property name="hibernate.cache.use_second_level_cache">true</property>
|
||||
<property name="hibernate.cache.use_query_cache">true</property>
|
||||
|
|
|
@ -1,37 +0,0 @@
|
|||
<ehcache>
|
||||
<diskStore path="java.io.tmpdir"/>
|
||||
<defaultCache
|
||||
maxElementsInMemory="1000"
|
||||
maxElementsOnDisk="1"
|
||||
eternal="false"
|
||||
overflowToDisk="false"
|
||||
timeToIdleSeconds="120"
|
||||
timeToLiveSeconds="120"
|
||||
diskPersistent="false"
|
||||
memoryStoreEvictionPolicy="LRU"
|
||||
/>
|
||||
|
||||
<cache
|
||||
name="org.hibernate.cache.UpdateTimestampsCache"
|
||||
maxElementsInMemory="1000"
|
||||
maxElementsOnDisk="1"
|
||||
eternal="false"
|
||||
overflowToDisk="false"
|
||||
timeToIdleSeconds="180"
|
||||
timeToLiveSeconds="180"
|
||||
diskPersistent="false"
|
||||
memoryStoreEvictionPolicy="LRU"
|
||||
/>
|
||||
|
||||
<cache
|
||||
name="org.hibernate.cache.StandardQueryCache"
|
||||
maxElementsInMemory="1000"
|
||||
maxElementsOnDisk="1"
|
||||
eternal="false"
|
||||
overflowToDisk="false"
|
||||
timeToIdleSeconds="120"
|
||||
timeToLiveSeconds="120"
|
||||
diskPersistent="false"
|
||||
memoryStoreEvictionPolicy="LRU"
|
||||
/>
|
||||
</ehcache>
|
Loading…
Add table
Reference in a new issue