[
https://issues.jboss.org/browse/AS7-3539?page=com.atlassian.jira.plugin.s...
]
Martin Gencur commented on AS7-3539:
------------------------------------
I verified it. The fix is working.
Infinispan subsystem setting tableNamePrefix for JdbcCacheStores
incorrectly
----------------------------------------------------------------------------
Key: AS7-3539
URL:
https://issues.jboss.org/browse/AS7-3539
Project: Application Server 7
Issue Type: Bug
Components: Clustering
Reporter: Martin Gencur
Assignee: Paul Ferraro
Fix For: 7.1.0.Final
Tested with ISPN 5.1.0.FINAL and
https://github.com/pferraro/jboss-as/tree/infinispan
(HEAD = AS7-3481)
{code}
[java] 13:04:44,445 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
[java] at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1780)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
[java] at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[:1.6.0_0]
[java] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[:1.6.0_0]
[java] at java.lang.Thread.run(Thread.java:636) [:1.6.0_0]
[java] Caused by: org.infinispan.config.ConfigurationException: Couldn't find a
setter named [setTableNamePrefix] which takes a single parameter, for parameter
tableNamePrefix on class [class
org.infinispan.loaders.jdbc.stringbased.JdbcStringBasedCacheStoreConfig]
[java] at
org.infinispan.config.parsing.XmlConfigHelper.setValues(XmlConfigHelper.java:471)
[java] at
org.infinispan.configuration.cache.LegacyConfigurationAdaptor.adapt(LegacyConfigurationAdaptor.java:208)
[java] at
org.infinispan.manager.DefaultCacheManager.defineConfiguration(DefaultCacheManager.java:430)
[java] at
org.jboss.as.clustering.infinispan.DefaultEmbeddedCacheManager.defineConfiguration(DefaultEmbeddedCacheManager.java:121)
[java] at
org.jboss.as.clustering.infinispan.subsystem.CacheConfigurationService.start(CacheConfigurationService.java:100)
[java] at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
[java] at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
[java] ... 3 more
{code}
The setter's name is "setStringsTableNamePrefix" so CacheAdd class should
set this property on jdbc cache store: "stringsTableNamePrefix".
--
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