[infinispan-issues] [JBoss JIRA] (ISPN-9559) Server <modules> configuration with a single entry can break classloading

Adrian Nistor (Jira) issues at jboss.org
Tue Oct 9 13:13:00 EDT 2018


     [ https://issues.jboss.org/browse/ISPN-9559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrian Nistor updated ISPN-9559:
--------------------------------
    Fix Version/s: 9.3.4.Final


> Server <modules> configuration with a single entry can break 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
>            Priority: Major
>             Fix For: 9.4.0.Final, 9.3.4.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 and nothing in the 'module' attribute. In that case the module is used as if it was specified in the 'module' attribute.  The classloader of the specified module is used as the global classloader of the cache container and this is almost always wrong. We should instead have an AggregatedClassloader of the classloaders of the user specified module/modules + the infinispan subsystem classloader (if no module attribute is present). If a 'module' attribute was specified then we should let that module be the designated classloader and do not use infinispan subsystem classloader as backup.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list