It looks like the cache manager thinks it is all in local mode, and does not really form the cluster when one of the cache set clustering mode = local.
But, it works if I set one of cache to clustering mode = invalidation and others to replication.
It seems a bug.
Anyone in known to confirm this.
I found out the problem in my configuration. I did not remove the <async> after setting clustering mode to local. Infinispan is fine.