Even when I disable it in the infinispan configuration file, infinispan always register the configired domain to JMX server. When XWiki is restarted the domain is registered again and fail because it's already registered.
There is two issues IMO:
- infinispan should not completely fail when it can't register to JMX server, it's just informations after all but there is not much we can do here (whatever I do I was unable to disable it in the configuration file even with enable=false...)
- XWiki should properly dispose the infinispan cache manager when XWiki is stoppped