From last few days we are struck with one issue , sometime we are not getting required row from cache , not able to exactly figure out reason for this.
We have some doubts on the ehcache configuration, the current max setting is 40k objects but in our database , we have total of 63k rows. Does this mean only 40k object will be in the cache and not the entire 63k?
yes, you have set overflow to disk=false. so as soon as your memory fills up with 40000 records. Cache start eviction fro memory. So only 40K records can store in heap memory.
Please set overflow to disk =true.