]
Paul Ferraro updated WFLY-8014:
-------------------------------
Workaround Description: Both store=file:add and store=remove:add succeed when the
{allow-resource-service-restart=true} invocation flag is used.
Remote store cannot be added to a cache via CLI
-----------------------------------------------
Key: WFLY-8014
URL:
https://issues.jboss.org/browse/WFLY-8014
Project: WildFly
Issue Type: Bug
Components: Clustering
Affects Versions: 11.0.0.Alpha1
Reporter: Michal Petrov
Assignee: Paul Ferraro
It is not possible to add remote store to a new cache:
{quote}
/subsystem=infinispan/cache-container=web/local-cache=myCache/store=remote:add(remote-servers=\[mail-smtp\])
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0158: Operation handler failed:
org.jboss.msc.service.DuplicateServiceException: Service
org.wildfly.clustering.infinispan.cache-configuration.web.myCache.store is already
registered",
"rolled-back" => true
}
{quote}
However it is possible to add a file store:
{{/subsystem=infinispan/cache-container=web/local-cache=myCache/store=file:add}}