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,
*
https://github.com/capedwarf/capedwarf-jboss-as/blob/master/build/src/mai...
but we sometimes need to adjust the config at deployment time.
*
https://github.com/capedwarf/capedwarf-jboss-as/blob/master/extension/src...
Config "adjusters":
*
https://github.com/capedwarf/capedwarf-jboss-as/blob/master/extension/src...
*
https://github.com/capedwarf/capedwarf-jboss-as/blob/master/extension/src...
*
https://github.com/capedwarf/capedwarf-jboss-as/blob/master/extension/src...
*
https://github.com/capedwarf/capedwarf-jboss-as/blob/master/extension/src...
We generate unique mux id per app:
*
https://github.com/capedwarf/capedwarf-jboss-as/blob/master/extension/src...
Where each indexing cache gets proper unique number:
*
https://github.com/capedwarf/capedwarf-jboss-as/blob/master/extension/src...
HTH
-Ales