]
Paul Ferraro updated ISPN-10114:
--------------------------------
Affects Version/s: 9.4.12.Final
(was: 9.4.11.Final)
Server managed transactional cache configuration cannot be persisted
to global state
------------------------------------------------------------------------------------
Key: ISPN-10114
URL:
https://issues.jboss.org/browse/ISPN-10114
Project: Infinispan
Issue Type: Bug
Components: Configuration, Server
Affects Versions: 9.3.6.Final, 9.4.12.Final, 10.0.0.Beta3
Reporter: Paul Ferraro
Priority: Critical
In the stacktrace below, the remote cache administration facility fails to create a cache
on a remote infinispan server if the template configuration is transactional.
{noformat}
[0m[33m11:50:17,784 WARN
[org.infinispan.client.hotrod.impl.protocol.Codec21] (HotRod-client-async-pool-0)
ISPN004005: Error received from the server:
org.infinispan.commons.CacheConfigurationException: ISPN000499: Could not serialize the
configuration of cache 'CoarseHotRodWebFailoverTestCase.war'
(Configuration{simpleCache=simpleCache=false, clustering=ClusteringConfiguration
[hashConfiguration=HashConfiguration [attributes=HashConfiguration =
[consistentHashFactory=null, hash=MurmurHash3, numOwners=2, numSegments=256,
capacityFactor=1.0, keyPartitioner=HashFunctionPartitioner{hashFunction=null, ns=0}]],
l1Configuration=L1Configuration [attributes=L1Configuration = [enabled=false,
invalidationThreshold=0, lifespan=600000, cleanupTaskFrequency=60000]],
stateTransferConfiguration=StateTransferConfigurationStoreAsBinaryConfiguration =
[fetchInMemoryState=true, timeout=60000, chunkSize=512, awaitInitialTransfer=true],
syncConfiguration=SyncConfiguration [attributes=SyncConfiguration = [replTimeout=15000]],
partitionHandlingConfiguration=PartitionHandlingConfiguration
[attributes=PartitionHandlingConfiguration = [enabled=false, whenSplit=ALLOW_READ_WRITES,
mergePolicy=NONE]], attributes=ClusteringConfiguration = [cacheMode=DIST_SYNC,
remoteTimeout=15000, invalidationBatchSize=128, biasAcquisition=ON_WRITE,
biasLifespan=300000]], customInterceptors=CustomInterceptorsConfiguration
[interceptors=[]], dataContainer=DataContainerConfiguration
[attributes=DataContainerConfiguration = [properties={}, dataContainer=null]],
deadlockDetection=DeadlockDetectionConfiguration
[attributes=DeadlockDetectionConfiguration = [enabled=false, spinDuration=-1]],
encodingConfiguration= DataTypeConfiguration [keyDataType=ContentTypeConfiguration
[attributes=ContentTypeConfiguration = [media-type=null]],
valueDataType=ContentTypeConfiguration [attributes=ContentTypeConfiguration =
[media-type=null]]], eviction=EvictionConfiguration [attributes=EvictionConfiguration =
[size=-1, type=COUNT, strategy=NONE, threadPolicy=DEFAULT]],
expiration=ExpirationConfiguration [attributes=ExpirationConfiguration = [lifespan=-1,
maxIdle=-1, reaperEnabled=true, wakeUpInterval=60000]], indexing=IndexingConfiguration
[attributes=IndexingConfiguration = [properties={}, index=NONE, autoConfig=false,
indexed-entities=[]]], invocationBatching=InvocationBatchingConfiguration
[attributes=InvocationBatchingConfiguration = [enabled=false]],
jmxStatistics=JMXStatisticsConfiguration [attributes=JMXStatisticsConfiguration =
[enabled=true, available=true]], persistence=PersistenceConfiguration
[attributes=PersistenceConfiguration = [passivation=false, availabilityInterval=1000,
connectionAttempts=10, connectionInterval=50], stores=[]], locking=LockingConfiguration
[attributes=LockingConfiguration = [concurrencyLevel=32, isolationLevel=REPEATABLE_READ,
lockAcquisitionTimeout=10000, striping=false, writeSkewCheck=true]], modules={},
security=SecurityConfiguration [authorization=AuthorizationConfiguration
[attributes=AuthorizationConfiguration = [enabled=false, roles=[]]]],
storeAsBinary=StoreAsBinaryConfiguration [attributes=StoreAsBinaryConfiguration =
[enabled=false, keys=true, values=true]], transaction=TransactionConfiguration
[attributes=TransactionConfiguration = [auto-commit=true, stop-timeout=30000,
locking=PESSIMISTIC,
transaction-manager-lookup=org.jboss.as.clustering.infinispan.TransactionManagerProvider@4bb15f9a,
transaction-synchronization-registry-lookup=org.jboss.as.clustering.infinispan.TransactionSynchronizationRegistryProvider@26affd34,
mode=TRANSACTIONAL, synchronization=true, single-phase-auto-commit=false,
reaper-wake-up-interval=30000, complete-timeout=60000, transaction-protocol=DEFAULT,
notifications=true], recovery=RecoveryConfiguration [attributes=RecoveryConfiguration =
[enabled=false, recoveryInfoCacheName=__recoveryInfoCacheName__]]],
versioning=VersioningConfiguration = [enabled=true, scheme=SIMPLE],
unsafe=UnsafeConfiguration = [unreliable-return-values=false], sites=SitesConfiguration
[backupFor=BackupForConfiguration [attributes=BackupForConfiguration = [remoteCache=null,
remoteSite=null]], allBackups=[], attributes=SitesConfiguration = [disable=false,
backup-sites-in-use=[]]], compatibility=CompatibilityModeConfiguration
[attributes=CompatibilityModeConfiguration = [enabled=false, marshaller=null]],
memory=MemoryConfiguration [attributes=MemoryConfiguration = [properties={},
storage=OBJECT, size=-1, type=COUNT, strategy=NONE, address-count=1048576]]})
org.infinispan.commons.CacheListenerException: ISPN000280: Caught exception
[org.infinispan.commons.CacheConfigurationException] while invoking method [public void
org.infinispan.globalstate.impl.GlobalConfigurationStateListener.createCache(org.infinispan.notifications.cachelistener.event.CacheEntryCreatedEvent)]
on listener instance:
org.infinispan.globalstate.impl.GlobalConfigurationStateListener@66c1d35f
org.infinispan.commons.CacheConfigurationException: Unable to instantiate class
org.jboss.as.clustering.infinispan.TransactionManagerProvider
java.lang.InstantiationException:
org.jboss.as.clustering.infinispan.TransactionManagerProvider
java.lang.NoSuchMethodException:
org.jboss.as.clustering.infinispan.TransactionManagerProvider.<init>()
&#27;[0m&#27;[31m11:50:17,785 ERROR [org.jboss.msc.service.fail] (MSC
service thread 1-7) MSC000001: Failed to start service
jboss.clustering.web."CoarseHotRodWebFailoverTestCase.war":
org.jboss.msc.service.StartException in service
jboss.clustering.web."CoarseHotRodWebFailoverTestCase.war":
org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for messageId=3
returned server error (status=0x85): org.infinispan.commons.CacheConfigurationException:
ISPN000499: Could not serialize the configuration of cache
'CoarseHotRodWebFailoverTestCase.war'
(Configuration{simpleCache=simpleCache=false, clustering=ClusteringConfiguration
[hashConfiguration=HashConfiguration [attributes=HashConfiguration =
[consistentHashFactory=null, hash=MurmurHash3, numOwners=2, numSegments=256,
capacityFactor=1.0, keyPartitioner=HashFunctionPartitioner{hashFunction=null, ns=0}]],
l1Configuration=L1Configuration [attributes=L1Configuration = [enabled=false,
invalidationThreshold=0, lifespan=600000, cleanupTaskFrequency=60000]],
stateTransferConfiguration=StateTransferConfigurationStoreAsBinaryConfiguration =
[fetchInMemoryState=true, timeout=60000, chunkSize=512, awaitInitialTransfer=true],
syncConfiguration=SyncConfiguration [attributes=SyncConfiguration = [replTimeout=15000]],
partitionHandlingConfiguration=PartitionHandlingConfiguration
[attributes=PartitionHandlingConfiguration = [enabled=false, whenSplit=ALLOW_READ_WRITES,
mergePolicy=NONE]], attributes=ClusteringConfiguration = [cacheMode=DIST_SYNC,
remoteTimeout=15000, invalidationBatchSize=128, biasAcquisition=ON_WRITE,
biasLifespan=300000]], customInterceptors=CustomInterceptorsConfiguration
[interceptors=[]], dataContainer=DataContainerConfiguration
[attributes=DataContainerConfiguration = [properties={}, dataContainer=null]],
deadlockDetection=DeadlockDetectionConfiguration
[attributes=DeadlockDetectionConfiguration = [enabled=false, spinDuration=-1]],
encodingConfiguration= DataTypeConfiguration [keyDataType=ContentTypeConfiguration
[attributes=ContentTypeConfiguration = [media-type=null]],
valueDataType=ContentTypeConfiguration [attributes=ContentTypeConfiguration =
[media-type=null]]], eviction=EvictionConfiguration [attributes=EvictionConfiguration =
[size=-1, type=COUNT, strategy=NONE, threadPolicy=DEFAULT]],
expiration=ExpirationConfiguration [attributes=ExpirationConfiguration = [lifespan=-1,
maxIdle=-1, reaperEnabled=true, wakeUpInterval=60000]], indexing=IndexingConfiguration
[attributes=IndexingConfiguration = [properties={}, index=NONE, autoConfig=false,
indexed-entities=[]]], invocationBatching=InvocationBatchingConfiguration
[attributes=InvocationBatchingConfiguration = [enabled=false]],
jmxStatistics=JMXStatisticsConfiguration [attributes=JMXStatisticsConfiguration =
[enabled=true, available=true]], persistence=PersistenceConfiguration
[attributes=PersistenceConfiguration = [passivation=false, availabilityInterval=1000,
connectionAttempts=10, connectionInterval=50], stores=[]], locking=LockingConfiguration
[attributes=LockingConfiguration = [concurrencyLevel=32, isolationLevel=REPEATABLE_READ,
lockAcquisitionTimeout=10000, striping=false, writeSkewCheck=true]], modules={},
security=SecurityConfiguration [authorization=AuthorizationConfiguration
[attributes=AuthorizationConfiguration = [enabled=false, roles=[]]]],
storeAsBinary=StoreAsBinaryConfiguration [attributes=StoreAsBinaryConfiguration =
[enabled=false, keys=true, values=true]], transaction=TransactionConfiguration
[attributes=TransactionConfiguration = [auto-commit=true, stop-timeout=30000,
locking=PESSIMISTIC,
transaction-manager-lookup=org.jboss.as.clustering.infinispan.TransactionManagerProvider@4bb15f9a,
transaction-synchronization-registry-lookup=org.jboss.as.clustering.infinispan.TransactionSynchronizationRegistryProvider@26affd34,
mode=TRANSACTIONAL, synchronization=true, single-phase-auto-commit=false,
reaper-wake-up-interval=30000, complete-timeout=60000, transaction-protocol=DEFAULT,
notifications=true], recovery=RecoveryConfiguration [attributes=RecoveryConfiguration =
[enabled=false, recoveryInfoCacheName=__recoveryInfoCacheName__]]],
versioning=VersioningConfiguration = [enabled=true, scheme=SIMPLE],
unsafe=UnsafeConfiguration = [unreliable-return-values=false], sites=SitesConfiguration
[backupFor=BackupForConfiguration [attributes=BackupForConfiguration = [remoteCache=null,
remoteSite=null]], allBackups=[], attributes=SitesConfiguration = [disable=false,
backup-sites-in-use=[]]], compatibility=CompatibilityModeConfiguration
[attributes=CompatibilityModeConfiguration = [enabled=false, marshaller=null]],
memory=MemoryConfiguration [attributes=MemoryConfiguration = [properties={},
storage=OBJECT, size=-1, type=COUNT, strategy=NONE, address-count=1048576]]})
org.infinispan.commons.CacheListenerException: ISPN000280: Caught exception
[org.infinispan.commons.CacheConfigurationException] while invoking method [public void
org.infinispan.globalstate.impl.GlobalConfigurationStateListener.createCache(org.infinispan.notifications.cachelistener.event.CacheEntryCreatedEvent)]
on listener instance:
org.infinispan.globalstate.impl.GlobalConfigurationStateListener@66c1d35f
org.infinispan.commons.CacheConfigurationException: Unable to instantiate class
org.jboss.as.clustering.infinispan.TransactionManagerProvider
java.lang.InstantiationException:
org.jboss.as.clustering.infinispan.TransactionManagerProvider
java.lang.NoSuchMethodException:
org.jboss.as.clustering.infinispan.TransactionManagerProvider.<init>()
at org.wildfly.clustering.service.FunctionalService.start(FunctionalService.java:70)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1738)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1700)
at
org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1558)
at
org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for
messageId=3 returned server error (status=0x85):
org.infinispan.commons.CacheConfigurationException: ISPN000499: Could not serialize the
configuration of cache 'CoarseHotRodWebFailoverTestCase.war'
(Configuration{simpleCache=simpleCache=false, clustering=ClusteringConfiguration
[hashConfiguration=HashConfiguration [attributes=HashConfiguration =
[consistentHashFactory=null, hash=MurmurHash3, numOwners=2, numSegments=256,
capacityFactor=1.0, keyPartitioner=HashFunctionPartitioner{hashFunction=null, ns=0}]],
l1Configuration=L1Configuration [attributes=L1Configuration = [enabled=false,
invalidationThreshold=0, lifespan=600000, cleanupTaskFrequency=60000]],
stateTransferConfiguration=StateTransferConfigurationStoreAsBinaryConfiguration =
[fetchInMemoryState=true, timeout=60000, chunkSize=512, awaitInitialTransfer=true],
syncConfiguration=SyncConfiguration [attributes=SyncConfiguration = [replTimeout=15000]],
partitionHandlingConfiguration=PartitionHandlingConfiguration
[attributes=PartitionHandlingConfiguration = [enabled=false, whenSplit=ALLOW_READ_WRITES,
mergePolicy=NONE]], attributes=ClusteringConfiguration = [cacheMode=DIST_SYNC,
remoteTimeout=15000, invalidationBatchSize=128, biasAcquisition=ON_WRITE,
biasLifespan=300000]], customInterceptors=CustomInterceptorsConfiguration
[interceptors=[]], dataContainer=DataContainerConfiguration
[attributes=DataContainerConfiguration = [properties={}, dataContainer=null]],
deadlockDetection=DeadlockDetectionConfiguration
[attributes=DeadlockDetectionConfiguration = [enabled=false, spinDuration=-1]],
encodingConfiguration= DataTypeConfiguration [keyDataType=ContentTypeConfiguration
[attributes=ContentTypeConfiguration = [media-type=null]],
valueDataType=ContentTypeConfiguration [attributes=ContentTypeConfiguration =
[media-type=null]]], eviction=EvictionConfiguration [attributes=EvictionConfiguration =
[size=-1, type=COUNT, strategy=NONE, threadPolicy=DEFAULT]],
expiration=ExpirationConfiguration [attributes=ExpirationConfiguration = [lifespan=-1,
maxIdle=-1, reaperEnabled=true, wakeUpInterval=60000]], indexing=IndexingConfiguration
[attributes=IndexingConfiguration = [properties={}, index=NONE, autoConfig=false,
indexed-entities=[]]], invocationBatching=InvocationBatchingConfiguration
[attributes=InvocationBatchingConfiguration = [enabled=false]],
jmxStatistics=JMXStatisticsConfiguration [attributes=JMXStatisticsConfiguration =
[enabled=true, available=true]], persistence=PersistenceConfiguration
[attributes=PersistenceConfiguration = [passivation=false, availabilityInterval=1000,
connectionAttempts=10, connectionInterval=50], stores=[]], locking=LockingConfiguration
[attributes=LockingConfiguration = [concurrencyLevel=32, isolationLevel=REPEATABLE_READ,
lockAcquisitionTimeout=10000, striping=false, writeSkewCheck=true]], modules={},
security=SecurityConfiguration [authorization=AuthorizationConfiguration
[attributes=AuthorizationConfiguration = [enabled=false, roles=[]]]],
storeAsBinary=StoreAsBinaryConfiguration [attributes=StoreAsBinaryConfiguration =
[enabled=false, keys=true, values=true]], transaction=TransactionConfiguration
[attributes=TransactionConfiguration = [auto-commit=true, stop-timeout=30000,
locking=PESSIMISTIC,
transaction-manager-lookup=org.jboss.as.clustering.infinispan.TransactionManagerProvider@4bb15f9a,
transaction-synchronization-registry-lookup=org.jboss.as.clustering.infinispan.TransactionSynchronizationRegistryProvider@26affd34,
mode=TRANSACTIONAL, synchronization=true, single-phase-auto-commit=false,
reaper-wake-up-interval=30000, complete-timeout=60000, transaction-protocol=DEFAULT,
notifications=true], recovery=RecoveryConfiguration [attributes=RecoveryConfiguration =
[enabled=false, recoveryInfoCacheName=__recoveryInfoCacheName__]]],
versioning=VersioningConfiguration = [enabled=true, scheme=SIMPLE],
unsafe=UnsafeConfiguration = [unreliable-return-values=false], sites=SitesConfiguration
[backupFor=BackupForConfiguration [attributes=BackupForConfiguration = [remoteCache=null,
remoteSite=null]], allBackups=[], attributes=SitesConfiguration = [disable=false,
backup-sites-in-use=[]]], compatibility=CompatibilityModeConfiguration
[attributes=CompatibilityModeConfiguration = [enabled=false, marshaller=null]],
memory=MemoryConfiguration [attributes=MemoryConfiguration = [properties={},
storage=OBJECT, size=-1, type=COUNT, strategy=NONE, address-count=1048576]]})
org.infinispan.commons.CacheListenerException: ISPN000280: Caught exception
[org.infinispan.commons.CacheConfigurationException] while invoking method [public void
org.infinispan.globalstate.impl.GlobalConfigurationStateListener.createCache(org.infinispan.notifications.cachelistener.event.CacheEntryCreatedEvent)]
on listener instance:
org.infinispan.globalstate.impl.GlobalConfigurationStateListener@66c1d35f
org.infinispan.commons.CacheConfigurationException: Unable to instantiate class
org.jboss.as.clustering.infinispan.TransactionManagerProvider
java.lang.InstantiationException:
org.jboss.as.clustering.infinispan.TransactionManagerProvider
java.lang.NoSuchMethodException:
org.jboss.as.clustering.infinispan.TransactionManagerProvider.<init>()
at
org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:340)
at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:177)
at
org.infinispan.client.hotrod.impl.transport.netty.HeaderDecoder.decode(HeaderDecoder.java:138)
at
org.infinispan.client.hotrod.impl.transport.netty.HintedReplayingDecoder.callDecode(HintedReplayingDecoder.java:98)
at
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:265)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at
io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1434)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:965)
at
io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:808)
at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:410)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:310)
at
io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at
org.wildfly.clustering.service.concurrent.ClassLoaderThreadFactory.lambda$newThread$0(ClassLoaderThreadFactory.java:47)
... 1 more
{noformat}