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

Michal Petrov (JIRA) issues at jboss.org
Thu Feb 2 11:27:00 EST 2017


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

Michal Petrov commented on WFLY-8014:
-------------------------------------

This might be two different issues. From what I'm able to tell the file store is not installed through {{ResourceServiceHandler.installServices()}} and somehow skips the check for an existing service. Even then the problem is that store=none is treated as an existing service when it's meant to be overwritten.

> 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