Top "Ehcache" questions

Ehcache is an open source, standards compliant Java-based cache used to boost performance, offload the database and simplify scalability.

ehcache not replicating in liferay cluster

I have the following setup 1.liferay cluster with 2 machines on AWS 2.unicast clustering replication with JGroups over tcp I have …

cluster-computing replication liferay-6 ehcache jgroups
How to remove the Ehcache WARN messages when using Hibernate

I have this Ehcache XML configuration: <ehcache> <defaultCache maxElementsInMemory="10000" eternal="false" timeToIdleSeconds="120" timeToLiveSeconds="120" overflowToDisk="false" diskSpoolBufferSizeMB="30" diskPersistent="…

java hibernate logging configuration ehcache
The configured limit of 1.000 object references was reached while attempting to calculate the size of the object graph

I have a jhipster project and I added some entities. My services are very slow because this warning message: The …

java caching ehcache jhipster
How to configure maxEntriesLocalHeap in ehcache?

The Ehcache docs (https://www.ehcache.org/documentation/2.8/configuration/cache-size.html) describe maxEntriesLocalHeap as: The maximum number of cache entries …

spring caching ehcache
Spring: hibernate + ehcache

I'm working with a spring project using hibernate and look to implement second-level cache using ehcache. I see a number …

java hibernate spring caching ehcache
Performance of JBoss Cache and Ehcache

I'm considering to use to implement a cache either JBoss Cache or Ehcache. After looking at both APIs I has …

java performance ehcache jboss-cache
What does Spring's @Cacheable do when placed on a method returning a list?

I've looked everywhere online for a simple answer to the above question, and just can't find it. I have a …

java spring ehcache
How to test ehcache using mockito?

Im helper method use ehcache, to reduce queries to Db. Now want to implement JUnit+Mockito test to ensure that …

java mockito ehcache springmockito
A soft-locked cache entry was expired by the underlying Ehcache

Hibernate 3.3.x, ehcache 2.2.x The following error occurs, when I try to publish a lots of users in a single …

hibernate caching jpa ehcache second-level-cache
Spring Framework 5 and EhCache 3.5

I tried to use EhCache 3.5 caching features in our web application based on Spring Boot 2/Spring Framework 5. I added EHCache …

spring spring-mvc ehcache ehcache-3