[JBoss JIRA] (ISPN-10960) Add SerializationContextInitializer lookup to Server Extensions
by Ryan Emerson (Jira)
Ryan Emerson created ISPN-10960:
-----------------------------------
Summary: Add SerializationContextInitializer lookup to Server Extensions
Key: ISPN-10960
URL: https://issues.jboss.org/browse/ISPN-10960
Project: Infinispan
Issue Type: Enhancement
Components: Server
Affects Versions: 10.0.1.Final
Reporter: Ryan Emerson
Assignee: Ryan Emerson
Fix For: 10.1.0.Final
To utilise a SerializationContextInitializer on the server it's necessary for the implementation to be specified via the xml configuration. However, it should be possible to utilise the Server's Extensions to automatically load and configure any {{SerializationContextInitializer}} implementations that are placed on the servers classpath by the user. This will remove a configuration step when utilising the normal server, but will have the bigggest impact on the server image, as it will be possible for users to mount a volume with the jar(s) containing the desired {{SerializationContextInitializer}} implementations without changing the xml.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 10 months
[JBoss JIRA] (ISPN-10959) Cannot create Scattered Caches dynamically
by Gustavo Fernandes (Jira)
Gustavo Fernandes created ISPN-10959:
----------------------------------------
Summary: Cannot create Scattered Caches dynamically
Key: ISPN-10959
URL: https://issues.jboss.org/browse/ISPN-10959
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 10.0.1.Final
Reporter: Gustavo Fernandes
Assignee: Gustavo Fernandes
They are currently ignored by the Serializer when replicating state
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 10 months
[JBoss JIRA] (ISPN-10958) JBossExternalizerAdapter must be whitelisted when jboss-marshalling is used
by Ryan Emerson (Jira)
[ https://issues.jboss.org/browse/ISPN-10958?page=com.atlassian.jira.plugin... ]
Ryan Emerson updated ISPN-10958:
--------------------------------
Status: Open (was: New)
> JBossExternalizerAdapter must be whitelisted when jboss-marshalling is used
> ---------------------------------------------------------------------------
>
> Key: ISPN-10958
> URL: https://issues.jboss.org/browse/ISPN-10958
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 10.1.0.Beta1
>
>
> ISPN-10868 removed {{org.infinispan.jboss.marshalling.commons.JBossExternalizerAdapter}} from the default {{ClassWhiteList}} however this is required if the {{@SerializeWith}} annotations are used with jboss-marshalling.
> We should ensure that {{org.infinispan.jboss.marshalling.commons.JBossExternalizerAdapter}} is whitelisted. However, instead of adding to the default whitelist, it should be possible to simply add the class to the white list only when {{CheckedClassResolver}} is used.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 10 months
[JBoss JIRA] (ISPN-10952) InfinispanExtenionIT fails
by Ryan Emerson (Jira)
[ https://issues.jboss.org/browse/ISPN-10952?page=com.atlassian.jira.plugin... ]
Ryan Emerson resolved ISPN-10952.
---------------------------------
Resolution: Done
> InfinispanExtenionIT fails
> ---------------------------
>
> Key: ISPN-10952
> URL: https://issues.jboss.org/browse/ISPN-10952
> Project: Infinispan
> Issue Type: Bug
> Components: Integration , Test Suite - Core
> Reporter: Tristan Tarrant
> Assignee: Will Burns
> Priority: Major
> Fix For: 10.1.0.Beta1
>
>
> {{ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.datagrid-infinispan.infinispan_container: org.jboss.msc.service.StartException in service jboss.datagrid-infinispan.infinispan_container: Failed to start service
> at org.jboss.msc@1.4.11.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1731)
> at org.jboss.msc@1.4.11.Final//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
> at org.jboss.threads@2.3.3.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
> at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
> at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
> at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
> at java.base/java.lang.Thread.run(Thread.java:834)
> Caused by: org.infinispan.commons.CacheException: Unable to construct a GlobalComponentRegistry!
> at org.infinispan.core:ispn-10.0@10.1.0-SNAPSHOT//org.infinispan.factories.GlobalComponentRegistry.<init>(GlobalComponentRegistry.java:170)
> at org.infinispan.core:ispn-10.0@10.1.0-SNAPSHOT//org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:267)
> at org.infinispan.extension:ispn-10.0@10.1.0-SNAPSHOT//org.jboss.as.clustering.infinispan.DefaultCacheContainer.<init>(DefaultCacheContainer.java:47)
> at org.infinispan.extension:ispn-10.0@10.1.0-SNAPSHOT//org.jboss.as.clustering.infinispan.subsystem.CacheContainerBuilder.start(CacheContainerBuilder.java:97)
> at org.jboss.msc@1.4.11.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
> at org.jboss.msc@1.4.11.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
> ... 6 more
> Caused by: org.infinispan.commons.CacheConfigurationException: Failed to construct component org.infinispan.executors.async, path org.infinispan.executors.async
> << org.infinispan.notifications.cachemanagerlistener.CacheManagerNotifier
> at org.infinispan.core:ispn-10.0@10.1.0-SNAPSHOT//org.infinispan.factories.impl.BasicComponentRegistryImpl.doInstantiateWrapper(BasicComponentRegistryImpl.java:189)
> at org.infinispan.core:ispn-10.0@10.1.0-SNAPSHOT//org.infinispan.factories.impl.BasicComponentRegistryImpl.instantiateWrapper(BasicComponentRegistryImpl.java:176)
> at org.infinispan.core:ispn-10.0@10.1.0-SNAPSHOT//org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent0(BasicComponentRegistryImpl.java:141)
> at org.infinispan.core:ispn-10.0@10.1.0-SNAPSHOT//org.infinispan.factories.impl.WireContext.get(WireContext.java:20)
> at org.infinispan.core:ispn-10.0@10.1.0-SNAPSHOT//org.infinispan.notifications.impl.CorePackageImpl$1.wire(CorePackageImpl.java:27)
> at org.infinispan.core:ispn-10.0@10.1.0-SNAPSHOT//org.infinispan.notifications.impl.CorePackageImpl$1.wire(CorePackageImpl.java:24)
> at org.infinispan.core:ispn-10.0@10.1.0-SNAPSHOT//org.infinispan.factories.impl.BasicComponentRegistryImpl.invokeInjection(BasicComponentRegistryImpl.java:334)
> at org.infinispan.core:ispn-10.0@10.1.0-SNAPSHOT//org.infinispan.factories.impl.BasicComponentRegistryImpl.invokeInjection(BasicComponentRegistryImpl.java:342)
> at org.infinispan.core:ispn-10.0@10.1.0-SNAPSHOT//org.infinispan.factories.impl.BasicComponentRegistryImpl.doWireWrapper(BasicComponentRegistryImpl.java:231)
> at org.infinispan.core:ispn-10.0@10.1.0-SNAPSHOT//org.infinispan.factories.impl.BasicComponentRegistryImpl.wireWrapper(BasicComponentRegistryImpl.java:212)
> at org.infinispan.core:ispn-10.0@10.1.0-SNAPSHOT//org.infinispan.factories.impl.BasicComponentRegistryImpl.registerComponent(BasicComponentRegistryImpl.java:371)
> at org.infinispan.core:ispn-10.0@10.1.0-SNAPSHOT//org.infinispan.factories.GlobalComponentRegistry.<init>(GlobalComponentRegistry.java:123)
> ... 11 more
> Caused by: org.infinispan.commons.CacheConfigurationException: ISPN000566: Thread Pool Factory org.infinispan.executors.async is blocking, but this pool requires non blocking threads
> at org.infinispan.core:ispn-10.0@10.1.0-SNAPSHOT//org.infinispan.factories.NamedExecutorsFactory.createExecutorService(NamedExecutorsFactory.java:104)
> at org.infinispan.core:ispn-10.0@10.1.0-SNAPSHOT//org.infinispan.factories.NamedExecutorsFactory.construct(NamedExecutorsFactory.java:75)
> at org.infinispan.core:ispn-10.0@10.1.0-SNAPSHOT//org.infinispan.factories.impl.BasicComponentRegistryImpl.doInstantiateWrapper(BasicComponentRegistryImpl.java:186)
> ... 22 more
> }}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 10 months
[JBoss JIRA] (ISPN-10958) JBossExternalizerAdapter must be whitelisted when jboss-marshalling is used
by Ryan Emerson (Jira)
Ryan Emerson created ISPN-10958:
-----------------------------------
Summary: JBossExternalizerAdapter must be whitelisted when jboss-marshalling is used
Key: ISPN-10958
URL: https://issues.jboss.org/browse/ISPN-10958
Project: Infinispan
Issue Type: Bug
Components: Core
Reporter: Ryan Emerson
Assignee: Ryan Emerson
Fix For: 10.1.0.Beta1
ISPN-10868 removed {{org.infinispan.jboss.marshalling.commons.JBossExternalizerAdapter}} from the default {{ClassWhiteList}} however this is required if the {{@SerializeWith}} annotations are used with jboss-marshalling.
We should ensure that {{org.infinispan.jboss.marshalling.commons.JBossExternalizerAdapter}} is whitelisted. However, instead of adding to the default whitelist, it should be possible to simply add the class to the white list only when {{CheckedClassResolver}} is used.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 10 months