Hi,
I was running a batch job to persist and merge about 32000 rows of data (each row corresponds to 1 parent object with about 5 associations).
The batch completed successfully in about 2100 seconds, but I got a lot of warnings after the job completes:
Code:
WARN ReadWriteCache - An item was expired by the cache while it was locked (increase your cache timeout): someObject#xxxxxxx
WARN ReadWriteCache - An item was expired by the cache while it was locked (increase your cache timeout): someObject#xxxxxxx
WARN ReadWriteCache - An item was expired by the cache while it was locked (increase your cache timeout): someObject#xxxxxxx
.....
.....
.....
The data seems to be persisted in the DB correctly.
What is the impact of this and how do we get rid of the warnings?
the warning says (increase your cache timeout), but my ehcache is set to eternal=true.
Here's my ehcache.xml
Code:
<ehcache>
<diskStore path="java.io.tmpdir"/>
<defaultCache
maxElementsInMemory="100000000"
eternal="true"
overflowToDisk="false"
timeToIdleSeconds="0"
timeToLiveSeconds="0"
diskPersistent="false"
diskExpiryThreadIntervalSeconds="120"
/>
</ehcache>
I've also tried setCacheMode(CacheMode.IGNORE) but Warnings are still there...[/code]