I may be stating the obvious, but please make sure that all the cache keys & values you use are serializable. In addition to the key or value implementing the Serializable interface, all the classes of the non-transient attributes too should be serializable, all non-transient attributes of those attributes should be serializable and so on.
In the case of keys, you should also override equals & hashCode. If the keys or values are not serializable, they cannot be replicated across the cluster. Please note that you are not limited to using String values for the cache key, and hence if you have a number of attributes, instead of combining them into a String, please define a serializable POJO. -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * <http://www.apache.org/>** email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919 blog: **http://blog.afkham.org* <http://blog.afkham.org/>* twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware*
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev