For a simple CachePut with Datatypes String and Number, the values are replicated asap to the other instance.
If I put more complex values to the Cache with CachePut (Arry, Struct, Datetime Object) the data was stored in the local Cache, but not replicated to the other caches.
Code to reproduce, String and Number ok, other not ok.
CentOS in a VirtualBox with Lucee 220.127.116.11 updated with 18.104.22.168 lco file and EHCache Extension Version 22.214.171.124 and OSGi EHCache Implementation Version 2.10.3. Two instances in parallel on same System, ports 8888 and 9999
Thank you to confirm. I have no idea how to write a UnitTest for that, because it was only reproducable with Cluster. Is there a Chance to have a fix this week for a quick implementation.
that is what is happening, the thread created by RMI does not use our classloader.
Could you push these issue to one of the next sprints? We used EHCache since Railo exists and with the EOL for Railo and starting with Lucee, the problems starts also for us and the customers. We hanging with a cluster project now for more than one year because we cannot finish the cluster setup in case of missing issue like this.
most likely a fix is not possible , we need to update to EHCache 3 that is OSGi ready to solve this.
Sadly there are big differences between EHCache 2 and 3, there is no caching configuration on object level anymore.
So an update without breaking compatibility is not possible.