Configure Infinispan with RESTEasy
Configuration Out of the box, Infinispan will create and use a new LOCAL mode cache. To set a custom configuration:  Unzip the REST WAR file (or use an exploded deployment) Create an Infinispan configuration XML file and name this infinispan.xml Place this file in infinispan-server-rest.war/WEB-INF/classes  Alternatively, you could:  Unzip the REST WAR file (or use an exploded deployment) Create an Infinispan configuration XML file, call it whatever you want and place it wherever you want Edit infinispan-server-rest.war/WEB-INF/web.xml and look for the "infinispan.config" init-param. Change the value of this init-param to the full path to your Infinispan configuration.   Please note that the REST server only allows interaction with either the default cache (named "___defaultcache") or one of the named caches in the configuration file. This is because the REST server starts the default and pre-defined caches on startup in order to provide consistent behaivor.  NOTE: creation of new named caches on the fly is not supported.  As a result, if you don't use a custom configuration file, you'll only be able to interact with the default cache. To interact with more caches, use a configuration file with the desired named caches.