EHCache replication works only for simple datatypes

Description

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.

Environment

CentOS in a VirtualBox with Lucee 5.2.4.0 updated with 5.2.4.37 lco file and EHCache Extension Version 2.10.0.25 and OSGi EHCache Implementation Version 2.10.3. Two instances in parallel on same System, ports 8888 and 9999

Activity

Show:
Alexander Diedler
November 6, 2017, 11:18 AM

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.

Michael Offner
November 6, 2017, 7:00 PM

that is what is happening, the thread created by RMI does not use our classloader.

Alexander Diedler
March 15, 2018, 9:13 AM

Hello,
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.

Michael Offner
September 3, 2018, 7:14 PM

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.

Michael Offner
September 6, 2018, 9:25 PM
Fixed

Assignee

Michael Offner

Reporter

Alexander Diedler

Priority

Blocker

Labels

Fix versions

Sprint

None

Affects versions