There are lots of complex moving parts in this scenario: from a Muxed
JGroups Channel, and the Application Server responsible for
initializing the stack with some added magic from CapeDwarf itself:
it's not clear to me what configuration is exactly being used, for
one.
Some quick info on how we configure things.
In CapeDwarf we have 10 custom caches, 5 of them are indexable.
And 3 Lucene Infinispan directory caches.
We use AS config as template for these caches,
but we sometimes need to adjust the config at deployment time.
Config "adjusters":
We generate unique mux id per app:
Where each indexing cache gets proper unique number:
HTH
-Ales