Problem

We use infinispan in jboss. We try to evict the cache from CLI, but could not. We need to manage the cache from JBoss CLI. Such as clean the cache, put new record into cache etc.. The official doc is here http://infinispan.org/docs/5.3.x/user_guide/user_guide.html#_CLI_chapter . But we don’t know how to make it work with JBoss EAP.

Solution

  • I guess you are running Infinispan as library mode. In this case, the CLI tool
[1] is not usable, it is available only in server mode. And the CLI tool is Infinispan’s one. Infinispan’s CLI and JBoss CLI packaged in EAP are different tools and are not compatible.