[
https://issues.jboss.org/browse/AS7-3481?page=com.atlassian.jira.plugin.s...
]
Martin Gencur commented on AS7-3481:
------------------------------------
I tried this fix. Unfortunately, I got this exception"
{code}
10:53:54,824 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed
to start service jboss.infinispan.default.memcachedCache.config:
org.jboss.msc.service.StartException in service
jboss.infinispan.default.memcachedCache.config: Failed to start service
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1780)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[:1.6.0_0]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[:1.6.0_0]
at java.lang.Thread.run(Thread.java:636) [:1.6.0_0]
Caused by: org.infinispan.config.ConfigurationException: Couldn't find a property
editor for parameter type class java.util.Properties
at org.infinispan.config.parsing.XmlConfigHelper.setValues(XmlConfigHelper.java:452)
at
org.infinispan.configuration.cache.LegacyConfigurationAdaptor.adapt(LegacyConfigurationAdaptor.java:208)
at
org.infinispan.manager.DefaultCacheManager.defineConfiguration(DefaultCacheManager.java:430)
at
org.jboss.as.clustering.infinispan.DefaultEmbeddedCacheManager.defineConfiguration(DefaultEmbeddedCacheManager.java:121)
at
org.jboss.as.clustering.infinispan.subsystem.CacheConfigurationService.start(CacheConfigurationService.java:100)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
... 3 more
{code}
Infinispan subsystem setting wrong properties for RemoteCacheStore
------------------------------------------------------------------
Key: AS7-3481
URL:
https://issues.jboss.org/browse/AS7-3481
Project: Application Server 7
Issue Type: Bug
Components: Clustering
Reporter: Martin Gencur
Assignee: Paul Ferraro
Fix For: 7.1.0.Final
I'm getting this exception when I configure an infinispan cache with remote-store:
11:19:31,657 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed
to start service jboss.infinispan.default.memcachedCache.config:
org.jboss.msc.service.StartException in service
jboss.infinispan.default.memcachedCache.config: Failed to start service
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1780)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_21]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_21]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_21]
Caused by: org.infinispan.config.ConfigurationException: Couldn't find a setter named
[setInfinispan.client.hotrod.server_list] which takes a single parameter, for parameter
infinispan.client.hotrod.server_list on class [class
org.infinispan.loaders.remote.RemoteCacheStoreConfig]
at org.infinispan.config.parsing.XmlConfigHelper.setValues(XmlConfigHelper.java:471)
at
org.infinispan.configuration.cache.LegacyConfigurationAdaptor.adapt(LegacyConfigurationAdaptor.java:208)
at
org.infinispan.manager.DefaultCacheManager.defineConfiguration(DefaultCacheManager.java:430)
at
org.jboss.as.clustering.infinispan.DefaultEmbeddedCacheManager.defineConfiguration(DefaultEmbeddedCacheManager.java:121)
at
org.jboss.as.clustering.infinispan.subsystem.CacheConfigurationService.start(CacheConfigurationService.java:100)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
... 3 more
For this to work, Infinispan subsystem (CacheAdd class) should now set different
properties for the RemoteCacheStore. It now sets
"infinispan.client.hotrod.server_list" directly as a property while it should
most likely set "HotRodClientProperties" as a key and a Properties object (which
would contain "infinispan.client.hotrod.server_list" as a key and proper value
as a value) as a value.
See
http://docs.jboss.org/infinispan/5.1/apidocs/org/infinispan/loaders/remot...
...hope that helps
--
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