[wildfly-dev] Add persistend store to infinispan via CLI fail
Domenico Briganti
dometec at gmail.com
Fri Dec 15 03:39:21 EST 2017
Hi all!
I'm trying to configure a persistent file for a local-cache in
widlfly-11 via CLI but fail, it however works if I put the
configuration directly on standalone.xml:
<local-cache...
<file-store path="authtoken.dat" relative-to="jboss.home.dir"
passivation="false" preload="true" purge="false"/>
I try this CLI command in a fresh wildfly-11 installation, and the last
fail:
[standalone at localhost:9990 /] /subsystem=infinispan/cache-
container=reservation:add
{"outcome" => "success"}
[standalone at localhost:9990 /] /subsystem=infinispan/cache-
container=reservation/local-cache=authtoken:add(statistics-
enabled=true)
{"outcome" => "success"}
[standalone at localhost:9990 /] /subsystem=infinispan/cache-
container=reservation/local-
cache=authtoken/store=file:add(path=authtoken.dat,relative-
to=jboss.home.dir,passivation=false,preload=true,purge=true)
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0158: Operation handler failed:
org.jboss.msc.service.DuplicateServiceException: Service
org.wildfly.clustering.infinispan.cache.store.reservation.authtoken is
already registered",
"rolled-back" => true
}
Maybe I submit a wrong CLI command?
Thanks,
Domenico Briganti
More information about the wildfly-dev
mailing list