I am new to Ehcache , In past few days , we are facing serious disconnections from the terracotta server . we tried out few options , mentioned below
In Xml configuration for ehcache , we added nonstop cache and rejoin attribute in the terracottaconfig element but not successful . Attaching the xml for your reference
to enable reconnection. If it's done, make sure that timeout you set is long enought. Because if is to short, client can't rejoin the cluster and have to be restarted.
I had this problem couple days ago. I changed timeout from 5000 to 30000.