[JBoss JIRA] (ISPN-6202) Properties defined in <local-cache-configuration> are not applied to children
by Sergey Sigelman (JIRA)
Sergey Sigelman created ISPN-6202:
-------------------------------------
Summary: Properties defined in <local-cache-configuration> are not applied to children
Key: ISPN-6202
URL: https://issues.jboss.org/browse/ISPN-6202
Project: Infinispan
Issue Type: Bug
Components: Configuration
Affects Versions: 8.1.1.Final
Reporter: Sergey Sigelman
Configure Infinispan XML using <local-cache-configuration>:
{code:xml}
<local-cache-configuration name="defaultCacheConfig">
.. attributes go here ...
</local-cache-configuration>
<local-cache name="testCache1" configuration="defaultCacheConfig" />
{code}
"testCache1" does not inherit any attributes from "defaultCacheConfig".
org.infinispan.configuration.parsing.Parser80#getConfigurationBuilder finds and validates the supplied configuration, but does not actually apply it.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (ISPN-6201) Exception in JCache interface when xml file contains <local-cache-configuration> tag
by Sergey Sigelman (JIRA)
Sergey Sigelman created ISPN-6201:
-------------------------------------
Summary: Exception in JCache interface when xml file contains <local-cache-configuration> tag
Key: ISPN-6201
URL: https://issues.jboss.org/browse/ISPN-6201
Project: Infinispan
Issue Type: Bug
Components: Configuration, JCache
Affects Versions: 8.1.1.Final
Reporter: Sergey Sigelman
Configure infinispan XML with a <local-cache-configuration> tag.
{code:xml}
<cache-container default-cache="">
<local-cache-configuration name="defaultCacheConfig"/>
<local-cache name="testCache1" />
<local-cache name="testCache2" />
</cache-container>
{code}
Then load the configuration using JCache:
{code:java}
CacheManager cacheManager = Caching.getCachingProvider().getCacheManager(
URI.create("infinispan.xml"), getClass().getClassLoader());
{code}
An Exception is thrown:
{code:java}
org.infinispan.commons.CacheConfigurationException: ISPN000373: Attempted to start a cache using configuration template 'defaultCacheConfig'
at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:602)
at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:572)
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:440)
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:426)
at org.infinispan.jcache.embedded.JCacheManager.registerPredefinedCaches(JCacheManager.java:88)
at org.infinispan.jcache.embedded.JCacheManager.<init>(JCacheManager.java:71)
at org.infinispan.jcache.embedded.JCachingProvider.createCacheManager(JCachingProvider.java:46)
at org.infinispan.jcache.AbstractJCachingProvider.getCacheManager(AbstractJCachingProvider.java:67)
at org.infinispan.jcache.AbstractJCachingProvider.getCacheManager(AbstractJCachingProvider.java:80)
...
{code}
This bug is caused by org.infinispan.jcache.embedded.JCacheManager#registerPredefinedCaches not skipping over confuguration XML elements and treating them as real caches.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (ISPN-6077) AddCache dialog only offers cache templates from "clustered" cache container
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-6077?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic commented on ISPN-6077:
-------------------------------------------
[~mgencur] Confirmed. Development started.
> AddCache dialog only offers cache templates from "clustered" cache container
> ----------------------------------------------------------------------------
>
> Key: ISPN-6077
> URL: https://issues.jboss.org/browse/ISPN-6077
> Project: Infinispan
> Issue Type: Bug
> Components: Console
> Affects Versions: 8.1.0.Final
> Reporter: Martin Gencur
> Assignee: Vladimir Blagojevic
>
> When adding a new cache, the "Base configuration" element only shows options from a cache container named "clustered". If there are different cache containers in the configuration, the select element does not show anything.
> The problem is getConfigurationTemplates function in infinispan-management-console/src/main/webapp/components/api/cache-creation-controller.service.js which should take into account different cache container names.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (ISPN-6077) AddCache dialog only offers cache templates from "clustered" cache container
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-6077?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic updated ISPN-6077:
--------------------------------------
Status: Open (was: New)
> AddCache dialog only offers cache templates from "clustered" cache container
> ----------------------------------------------------------------------------
>
> Key: ISPN-6077
> URL: https://issues.jboss.org/browse/ISPN-6077
> Project: Infinispan
> Issue Type: Bug
> Components: Console
> Affects Versions: 8.1.0.Final
> Reporter: Martin Gencur
> Assignee: Vladimir Blagojevic
>
> When adding a new cache, the "Base configuration" element only shows options from a cache container named "clustered". If there are different cache containers in the configuration, the select element does not show anything.
> The problem is getConfigurationTemplates function in infinispan-management-console/src/main/webapp/components/api/cache-creation-controller.service.js which should take into account different cache container names.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (ISPN-6109) Management console - set of deployed caches is not displayed in node view
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-6109?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic edited comment on ISPN-6109 at 2/12/16 11:45 AM:
---------------------------------------------------------------------
[~rmacor] You are referring to statistics for the caches on https://rawgit.com/infinispan/infinispan-console-mockup/master/node-statu..., correct? Just as in ISPN-6112, in order to display this data we have to fetch all statistics for all caches on all containers residing on this server node. This is not feasible at the current moment with our backend capabilities. Similar to ISPN-6112 we have also decided not to implement this feature at this time.
[~pzapataf] Please confirm
was (Author: vblagojevic):
[~rmacor] You are referring to statistics for the caches on https://rawgit.com/infinispan/infinispan-console-mockup/master/node-statu..., correct? Just as in ISPN-6122, in order to display this data we have to fetch all statistics for all caches on all containers residing on this server node. This is not feasible at the current moment with our backend capabilities. Similar to ISPN-6112 we have also decided not to implement this feature at this time.
[~pzapataf] Please confirm
> Management console - set of deployed caches is not displayed in node view
> -------------------------------------------------------------------------
>
> Key: ISPN-6109
> URL: https://issues.jboss.org/browse/ISPN-6109
> Project: Infinispan
> Issue Type: Bug
> Components: Console
> Reporter: Roman Macor
> Assignee: Vladimir Blagojevic
>
> Clusters tab -> click on cluster -> click on node
> There should be a list of caches deployed on this node.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (ISPN-6112) Management console - Entries lifecycle is not displayed in node view
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-6112?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic commented on ISPN-6112:
-------------------------------------------
[~rmacor] You are likely referring to https://rawgit.com/infinispan/infinispan-console-mockup/master/node-statu... as a reference, correct? We ([~NadirX] [~pzapataf] and I ) have since amended this screen and agreed that cache level statistical properties (Activations, Evictions, Invalidations and Passivations) do not belong here. The difficulty of implementing this feature right now forced us to postpone it. In order to implement and show these cache level statistical properties for one node we would have to get all caches for all containers residing on that node, iterate through that data, add it up and finally display it. Now imagine having hundreds of caches and just a few containers, not more! It would take a while to fetch this data and then add it up. Until we have a mechanism to track and collect this data on the back end automatically we are forced to postpone this statistical view.
[~pzapataf] Please confirm and decide how to proceed on this matter!
> Management console - Entries lifecycle is not displayed in node view
> --------------------------------------------------------------------
>
> Key: ISPN-6112
> URL: https://issues.jboss.org/browse/ISPN-6112
> Project: Infinispan
> Issue Type: Bug
> Components: Console
> Reporter: Roman Macor
> Assignee: Vladimir Blagojevic
>
> Clusters tab -> click on cluster -> click on node
> There should be Entries lifecycle statistics containing:
> Activations, Evictions, Invalidations and Passivations
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month