[JBoss JIRA] (ISPN-2575) KeyTransformer registration is required on all nodes of the cluster, in case of custom keys
by Mircea Markus (JIRA)
[ https://issues.jboss.org/browse/ISPN-2575?page=com.atlassian.jira.plugin.... ]
Mircea Markus updated ISPN-2575:
--------------------------------
Assignee: Adrian Nistor (was: Sanne Grinovero)
> KeyTransformer registration is required on all nodes of the cluster, in case of custom keys
> -------------------------------------------------------------------------------------------
>
> Key: ISPN-2575
> URL: https://issues.jboss.org/browse/ISPN-2575
> Project: Infinispan
> Issue Type: Enhancement
> Components: Querying
> Affects Versions: 5.2.0.Beta5
> Reporter: Anna Manukyan
> Assignee: Adrian Nistor
> Attachments: ClusteredCacheTest.java
>
>
> The case is the following:
> I have a clustered cache on which I want to perform a search. I'm doing the following:
> I'm initializing SearchManager on node1, I'm registering a custom key transformer for my key using the created searchmanager, but then when I'm trying to put data into the cache on node1 (which is in REPL_SYNC mode with cache on node2), I'm getting the exception:
> java.lang.IllegalArgumentException: Indexing only works with entries keyed on Strings, primitives and classes that have the @Transformable annotation - you passed in a class org.infinispan.query.test.CustomKey3. Alternatively, see org.infinispan.query.SearchManager#registerKeyTransformer
> When I'm initializing the SearchManager using node2 cache and register the keyTransformer on it as well, then everything works perfectly, even though I am not using the second created SearchManager.
> The test which reproduces the issue is attached to the jira. Please see the test case: testSearchKeyTransformer()
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
1 week
[JBoss JIRA] (ISPN-9559) Server <modules> configuration with a single entry breaks classloading
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/ISPN-9559?page=com.atlassian.jira.plugin.... ]
Adrian Nistor updated ISPN-9559:
--------------------------------
Description: There's a bug in CacheContainerConfigurationBuilder introduced by changes for ISPN-7714. This happens only if we have a single module entry specified in the <modules> element of the cache container config or if we have a non-empty 'module' attribute. The classloader of the specified module is used as the global classloader of the cache container. This is almost always wrong. We should instead have an AggregatedClassloader of the user specified classloader in module/modules + the infinispan subsystem classloader. If no module is specified then the infinispan subsystem classloader should be used.
> Server <modules> configuration with a single entry breaks classloading
> ----------------------------------------------------------------------
>
> Key: ISPN-9559
> URL: https://issues.jboss.org/browse/ISPN-9559
> Project: Infinispan
> Issue Type: Bug
> Components: Core, Embedded Querying, Server
> Affects Versions: 9.2.0.Final
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
> Fix For: 9.4.0.Final
>
>
> There's a bug in CacheContainerConfigurationBuilder introduced by changes for ISPN-7714. This happens only if we have a single module entry specified in the <modules> element of the cache container config or if we have a non-empty 'module' attribute. The classloader of the specified module is used as the global classloader of the cache container. This is almost always wrong. We should instead have an AggregatedClassloader of the user specified classloader in module/modules + the infinispan subsystem classloader. If no module is specified then the infinispan subsystem classloader should be used.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month
[JBoss JIRA] (ISPN-9556) NoClassDefFoundError Log4J2Logger when running the fat-server in Openshift
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-9556?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-9556:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> NoClassDefFoundError Log4J2Logger when running the fat-server in Openshift
> --------------------------------------------------------------------------
>
> Key: ISPN-9556
> URL: https://issues.jboss.org/browse/ISPN-9556
> Project: Infinispan
> Issue Type: Bug
> Components: Server
> Reporter: Diego Lovison
> Assignee: Tristan Tarrant
> Priority: Critical
> Fix For: 9.4.0.Final
>
>
> When running Infinispan server in Openshift it is failing due:
> {noformat}
> 18:25:53,529 WARN [org.jboss.modules.define] (MSC service thread 1-6) Failed to define class io.netty.util.internal.logging.Log4J2Logger in Module "io.netty:ispn-9.4" version 4.1.28.Final from local module loader @79b4d0f (finder: local module finder @6b2fad11 (roots: /opt/jboss/infinispan-server/modules,/opt/jboss/infinispan-server/modules/system/layers/base,/opt/jboss/infinispan-server/modules/system/add-ons/ispn)): java.lang.NoClassDefFoundError: Failed to link io/netty/util/internal/logging/Log4J2Logger (Module "io.netty:ispn-9.4" version 4.1.28.Final from local module loader @79b4d0f (finder: local module finder @6b2fad11 (roots: /opt/jboss/infinispan-server/modules,/opt/jboss/infinispan-server/modules/system/layers/base,/opt/jboss/infinispan-server/modules/system/add-ons/ispn))): org/apache/logging/log4j/spi/ExtendedLoggerWrapper
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month