[infinispan-issues] [JBoss JIRA] (ISPN-9168) RemoteCacheManagerAdmin#getOrCreateCache(..., null) does not create cache from the default cache configuration; creates local cache instead

Radoslav Husar (JIRA) issues at jboss.org
Wed May 16 10:37:01 EDT 2018


     [ https://issues.jboss.org/browse/ISPN-9168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radoslav Husar updated ISPN-9168:
---------------------------------
    Description: 
This is because {{org.infinispan.manager.DefaultCacheManager#defaultCacheName}} is null and {{org.infinispan.manager.DefaultCacheManager#getDefaultCacheConfiguration}} returns null even with the proper configuration:

{code:xml}
<subsystem xmlns="urn:infinispan:server:core:9.2" default-cache-container="clustered">
            <cache-container name="clustered" default-cache="default" statistics="true">
...
                <distributed-cache name="default"/>
...
            </cache-container>
        </subsystem>
{code}

  was:
This is because {{org.infinispan.manager.DefaultCacheManager#getDefaultCacheConfiguration}} returns null even with the proper configuration:

{code:xml}
<subsystem xmlns="urn:infinispan:server:core:9.2" default-cache-container="clustered">
            <cache-container name="clustered" default-cache="default" statistics="true">
...
                <distributed-cache name="default"/>
...
            </cache-container>
        </subsystem>
{code}



> RemoteCacheManagerAdmin#getOrCreateCache(..., null) does not create cache from the default cache configuration; creates local cache instead 
> --------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ISPN-9168
>                 URL: https://issues.jboss.org/browse/ISPN-9168
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Hot Rod, Server
>    Affects Versions: 9.2.2.Final
>            Reporter: Radoslav Husar
>            Priority: Critical
>
> This is because {{org.infinispan.manager.DefaultCacheManager#defaultCacheName}} is null and {{org.infinispan.manager.DefaultCacheManager#getDefaultCacheConfiguration}} returns null even with the proper configuration:
> {code:xml}
> <subsystem xmlns="urn:infinispan:server:core:9.2" default-cache-container="clustered">
>             <cache-container name="clustered" default-cache="default" statistics="true">
> ...
>                 <distributed-cache name="default"/>
> ...
>             </cache-container>
>         </subsystem>
> {code}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list