[jboss-jira] [JBoss JIRA] (WFLY-8014) Remote store cannot be added to a cache via CLI

Paul Ferraro (JIRA) issues at jboss.org
Fri Feb 3 06:54:00 EST 2017


    [ https://issues.jboss.org/browse/WFLY-8014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13358234#comment-13358234 ] 

Paul Ferraro commented on WFLY-8014:
------------------------------------

[~michpetrov] Good question. They should behave the same.  It seems that without that flag the store=file:add puts the server in reload-required state, while the store=remote:add fails with a duplicate service exception.  I'll reopen this for investigation and note the workaround in the description.

> 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}}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list