[JBoss JIRA] (ISPN-1682) Cache.getCacheConfiguration() fails if cache is already started
by Paul Ferraro (Created) (JIRA)
Cache.getCacheConfiguration() fails if cache is already started
---------------------------------------------------------------
Key: ISPN-1682
URL: https://issues.jboss.org/browse/ISPN-1682
Project: Infinispan
Issue Type: Bug
Components: Configuration
Affects Versions: 5.1.0.CR2
Reporter: Paul Ferraro
Assignee: Manik Surtani
Priority: Blocker
Fix For: 5.1.0.CR3
Calling Cache.getCacheConfiguration() on a started cache throws the following exception:
Caused by: org.infinispan.config.ConfigurationException: Attempted to modify a non-Dynamic configuration element [enabled] after the component has started!
at org.infinispan.config.AbstractConfigurationBean.testImmutability(AbstractConfigurationBean.java:105)
at org.infinispan.loaders.decorators.SingletonStoreConfig.setSingletonStoreEnabled(SingletonStoreConfig.java:72)
at org.infinispan.loaders.AbstractCacheStoreConfig.singletonStore(AbstractCacheStoreConfig.java:92)
at org.infinispan.configuration.cache.LegacyConfigurationAdaptor.adapt(LegacyConfigurationAdaptor.java:397)
at org.infinispan.CacheImpl.getCacheConfiguration(CacheImpl.java:377)
at org.infinispan.AbstractDelegatingCache.getCacheConfiguration(AbstractDelegatingCache.java:67)
at org.infinispan.AbstractDelegatingCache.getCacheConfiguration(AbstractDelegatingCache.java:67)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 2 months
[JBoss JIRA] (ISPN-1666) Add EmbeddedCacheManager.getCacheConfiguration(String)
by Paul Ferraro (Created) (JIRA)
Add EmbeddedCacheManager.getCacheConfiguration(String)
------------------------------------------------------
Key: ISPN-1666
URL: https://issues.jboss.org/browse/ISPN-1666
Project: Infinispan
Issue Type: Feature Request
Components: Configuration
Affects Versions: 5.1.0.CR2
Reporter: Paul Ferraro
Assignee: Manik Surtani
Fix For: 5.1.0.CR3
Currently, EmbeddedCacheManager provides no mechanism to retrieve a defined cache configuration without starting the corresponding cache.
Formerly, one could achieve this via the defineConfiguration(String, Configuration) method, by passing in an empty Configuration object, however, this will not work with the new configuration API - the returned object will always be equivalent the one passed in.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 2 months