[JBoss JIRA] (ISPN-10117) Ensure a complete cleanup between tests
by Vittorio Rigamonti (Jira)
Vittorio Rigamonti created ISPN-10117:
-----------------------------------------
Summary: Ensure a complete cleanup between tests
Key: ISPN-10117
URL: https://issues.jboss.org/browse/ISPN-10117
Project: Infinispan
Issue Type: Feature Request
Components: Operator
Affects Versions: 0.2.1
Reporter: Vittorio Rigamonti
Assignee: Vittorio Rigamonti
Sometime a test starts before the pods started from the previous test terminate: this can generate randomic test failures.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 9 months
[JBoss JIRA] (ISPN-8388) Entity with @Cache(usage=CacheConcurrencyStrategy.NONSTRICT_READ_WRITE) fails if cache is configured as simple cache
by Paul Ferraro (Jira)
[ https://issues.jboss.org/browse/ISPN-8388?page=com.atlassian.jira.plugin.... ]
Paul Ferraro commented on ISPN-8388:
------------------------------------
This does not look trivial to fix without pre-emptively disabling the simple cache optimization for all entities since the cache is created when the region is created, and the CacheConcurrencyStrategy is not known until the call to EntityRegion.buildAccessStrategy(...).
> Entity with @Cache(usage=CacheConcurrencyStrategy.NONSTRICT_READ_WRITE) fails if cache is configured as simple cache
> --------------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-8388
> URL: https://issues.jboss.org/browse/ISPN-8388
> Project: Infinispan
> Issue Type: Bug
> Components: Hibernate Cache
> Affects Versions: 9.1.1.Final, 9.2.0.Alpha1
> Reporter: Paul Ferraro
> Assignee: Galder Zamarreño
> Priority: Major
>
> The Infinispan region factory needs to explicitly disable the simple cache optimization for cache regions that will use the NONSTRICT_READ_WRITE concurrency strategy.
> This issue is particularly troublesome for WildFly where the simple cache optimization is automatically enabled for non-transactional, non-persistent local caches.
> {noformat}
> 2017-10-06 14:56:36,221 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 19) MSC000001: Failed to start service jboss.persistenceunit."harmonyserver.sar#IpsDb": org.jboss.msc.service.StartException in service jboss.persistenceunit."harmonyserver.sar#IpsDb": javax.persistence.PersistenceException: [PersistenceUnit: IpsDb] Unable to build Hibernate SessionFactory
> at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:179)
> at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:121)
> at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:667)
> at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:193)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> at org.jboss.threads.JBossThread.run(JBossThread.java:320)
> Caused by: javax.persistence.PersistenceException: [PersistenceUnit: IpsDb] Unable to build Hibernate SessionFactory
> at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.persistenceException(EntityManagerFactoryBuilderImpl.java:954)
> at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:882)
> at org.jboss.as.jpa.hibernate5.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44)
> at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:161)
> ... 7 more
> Caused by: java.lang.UnsupportedOperationException: ISPN000376: Interceptor stack is not supported in simple cache
> at org.infinispan.cache.impl.SimpleCacheImpl.removeInterceptor(SimpleCacheImpl.java:952)
> at org.infinispan.cache.impl.AbstractDelegatingAdvancedCache.removeInterceptor(AbstractDelegatingAdvancedCache.java:85)
> at org.hibernate.cache.infinispan.impl.BaseTransactionalDataRegion.prepareForVersionedEntries(BaseTransactionalDataRegion.java:154)
> at org.hibernate.cache.infinispan.impl.BaseTransactionalDataRegion.createAccessDelegate(BaseTransactionalDataRegion.java:122)
> at org.hibernate.cache.infinispan.entity.EntityRegionImpl.buildAccessStrategy(EntityRegionImpl.java:50)
> at org.hibernate.internal.SessionFactoryImpl.determineEntityRegionAccessStrategy(SessionFactoryImpl.java:624)
> at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:332)
> at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:444)
> at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:879)
> ... 9 more
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 9 months
[JBoss JIRA] (ISPN-10114) Server managed transactional cache configuration cannot be persisted to global state
by Paul Ferraro (Jira)
[ https://issues.jboss.org/browse/ISPN-10114?page=com.atlassian.jira.plugin... ]
Paul Ferraro reassigned ISPN-10114:
-----------------------------------
Assignee: Paul Ferraro
> 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
> Assignee: 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}
> &#27;[0m&#27;[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}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 9 months
[JBoss JIRA] (ISPN-10114) Server managed transactional cache configuration cannot be persisted to global state
by Paul Ferraro (Jira)
[ https://issues.jboss.org/browse/ISPN-10114?page=com.atlassian.jira.plugin... ]
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}
> &#27;[0m&#27;[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}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 9 months
[JBoss JIRA] (ISPN-10114) Server managed transactional cache configuration cannot be persisted to global state
by Paul Ferraro (Jira)
[ https://issues.jboss.org/browse/ISPN-10114?page=com.atlassian.jira.plugin... ]
Paul Ferraro updated ISPN-10114:
--------------------------------
Affects Version/s: 10.0.0.Beta3
> 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}
> &#27;[0m&#27;[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}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 9 months
[JBoss JIRA] (ISPN-10114) Server managed transactional cache configuration cannot be persisted to global state
by Paul Ferraro (Jira)
[ https://issues.jboss.org/browse/ISPN-10114?page=com.atlassian.jira.plugin... ]
Paul Ferraro updated ISPN-10114:
--------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/6838
> 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}
> &#27;[0m&#27;[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}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 9 months
[JBoss JIRA] (ISPN-10114) Server managed transactional cache configuration cannot be persisted to global state
by Paul Ferraro (Jira)
[ https://issues.jboss.org/browse/ISPN-10114?page=com.atlassian.jira.plugin... ]
Paul Ferraro updated ISPN-10114:
--------------------------------
Status: Open (was: New)
> 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}
> &#27;[0m&#27;[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}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 9 months
[JBoss JIRA] (ISPN-10111) Avoiding Duplicate MBean Registration with Spring
by Donald Naro (Jira)
[ https://issues.jboss.org/browse/ISPN-10111?page=com.atlassian.jira.plugin... ]
Donald Naro updated ISPN-10111:
-------------------------------
Git Pull Request: https://github.com/infinispan/infinispan/pull/6830, https://github.com/infinispan/infinispan/pull/6831 (was: https://github.com/infinispan/infinispan/pull/6830)
> Avoiding Duplicate MBean Registration with Spring
> -------------------------------------------------
>
> Key: ISPN-10111
> URL: https://issues.jboss.org/browse/ISPN-10111
> Project: Infinispan
> Issue Type: Enhancement
> Affects Versions: 9.4.12.Final, 10.0.0.Beta4
> Reporter: Donald Naro
> Assignee: Donald Naro
> Priority: Major
>
> org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [org.infinispan.client.hotrod.RemoteCacheManager@51a06cbe] with key 'remoteCacheManager'; nested exception is javax.management.InstanceAlreadyExistsException: MXBean already registered with name org.infinispan:type=HotRodClient,name=Default
> at org.springframework.jmx.export.MBeanExporter.registerBeanNameOrInstance(MBeanExporter.java:625) ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
> at org.springframework.jmx.export.MBeanExporter.lambda$registerBeans$2(MBeanExporter.java:551) ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
> at java.util.HashMap.forEach(HashMap.java:1289) ~[na:1.8.0_201]
> at org.springframework.jmx.export.MBeanExporter.registerBeans(MBeanExporter.java:551) ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
> at org.springframework.jmx.export.MBeanExporter.afterSingletonsInstantiated(MBeanExporter.java:434) ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
> at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:863) ~[spring-beans-5.1.4.RELEASE.jar:5.1.4.RELEASE]
> at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:863) ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
> at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546) ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
> at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142) ~[spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE]
> at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775) [spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE]
> at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) [spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE]
> at org.springframework.boot.SpringApplication.run(SpringApplication.java:316) [spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE]
> at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260) [spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE]
> at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248) [spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE]
> at me.ignaciosanchez.hotrodtester.HotrodTesterApplication.main(HotrodTesterApplication.java:10) [classes/:na]
> Caused by: javax.management.InstanceAlreadyExistsException: MXBean already registered with name org.infinispan:type=HotRodClient,name=Default
> at com.sun.jmx.mbeanserver.MXBeanLookup.addReference(MXBeanLookup.java:151) ~[na:1.8.0_201]
> at com.sun.jmx.mbeanserver.MXBeanSupport.register(MXBeanSupport.java:160) ~[na:1.8.0_201]
> at com.sun.jmx.mbeanserver.MBeanSupport.preRegister2(MBeanSupport.java:173) ~[na:1.8.0_201]
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:930) ~[na:1.8.0_201]
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900) ~[na:1.8.0_201]
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324) ~[na:1.8.0_201]
> at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522) ~[na:1.8.0_201]
> at org.springframework.jmx.support.MBeanRegistrationSupport.doRegister(MBeanRegistrationSupport.java:137) ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
> at org.springframework.jmx.export.MBeanExporter.registerBeanInstance(MBeanExporter.java:671) ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
> at org.springframework.jmx.export.MBeanExporter.registerBeanNameOrInstance(MBeanExporter.java:615) ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
> ... 14 common frames omitted
> We are using a Spring Boot application (with Spring Cache and Spring Session) and maybe this could be the problem. My configuration is:
> @Bean
> public InfinispanRemoteConfigurer infinispanRemoteConfigurer() {
> return () -> new ConfigurationBuilder()
> .addServer()
> .host(host)
> .port(Integer.parseInt(port))
> .statistics()
> .enable()
> .jmxEnable()
> .build();
> }
> And I have also tried with this one:
> @Bean
> public SpringRemoteCacheManager cacheManager() {
> return new SpringRemoteCacheManager(infinispanCacheManager());
> }
> @Bean
> public RemoteCacheManager infinispanCacheManager() {
> ConfigurationBuilder builder = new ConfigurationBuilder();
> builder.addServer()
> .host(host)
> .port(Integer.parseInt(port))
> .statistics()
> .enable()
> .jmxEnable();
> return new RemoteCacheManager(builder.build());
> }
> But both return me the same error.
> Disable Spring JMX auto configuration: spring.jmx.enabled=false
> https://docs.spring.io/spring-boot/docs/current/api/org/springframework/b...
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 9 months
[JBoss JIRA] (ISPN-10116) Missing persistence element when reading a template resource
by Ryan Emerson (Jira)
Ryan Emerson created ISPN-10116:
-----------------------------------
Summary: Missing persistence element when reading a template resource
Key: ISPN-10116
URL: https://issues.jboss.org/browse/ISPN-10116
Project: Infinispan
Issue Type: Bug
Components: Server
Affects Versions: 9.4.12.Final, 10.0.0.Beta3
Reporter: Ryan Emerson
Assignee: Ryan Emerson
Fix For: 10.0.0.Beta4, 9.4.13.Final
When reading a template resource, e.g via.
{code:java}
/subsystem=datagrid-infinispan/cache-container=local/configurations=CONFIGURATIONS/local-cache-configuration=my-template:read-resource
{code}
The following is thrown:
{code:java}
[standalone@localhost:9990 /] /subsystem=datagrid-infinispan/cache-container=local/configurations=CONFIGURATIONS/local-cache-configuration=my-template:read-resource
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0216: Management resource '[
(\"subsystem\" => \"datagrid-infinispan\"),
(\"cache-container\" => \"local\"),
(\"configurations\" => \"CONFIGURATIONS\"),
(\"local-cache-configuration\" => \"my-template\"),
(\"persistence\" => \"PERSISTENCE\")
]' not found",
"rolled-back" => true
}
{code}
The problem is caused by the persistence=PERSISTENCE element not being created by the xml reader. This is now necessary as the aliases to the old store entries refer to {{persistence=PERSISTENCE/file-store}} etc, which is called during a read-resource operation.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 9 months