[infinispan-issues] [JBoss JIRA] (ISPN-4639) IndexingConfigurationBuilder query module validation is wrong
William Burns (JIRA)
issues at jboss.org
Thu Aug 21 12:03:59 EDT 2014
[ https://issues.jboss.org/browse/ISPN-4639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
William Burns updated ISPN-4639:
--------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/2815
> IndexingConfigurationBuilder query module validation is wrong
> -------------------------------------------------------------
>
> Key: ISPN-4639
> URL: https://issues.jboss.org/browse/ISPN-4639
> Project: Infinispan
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Configuration
> Affects Versions: 7.0.0.Beta1
> Reporter: Paul Ferraro
> Assignee: William Burns
> Priority: Critical
>
> The query module is ultimately loaded by the ComponentRegistry, which will load its modules via the classloader returned by GlobalConfiguration.classLoader(). However, the logic in IndexingConfigurationBuilder.validate(...) tests that the query module classes are accessible from the classloader that loaded the IndexingConfigurationBuilder itself.
> In WildFly, to use querying, one would use the following configuration:
> <cache-container module="org.infinispan.query"/>
> Internally, this configures Infinispan's GlobalConfiguration with the classloader of the "org.infinispan.query" module.
> However, the IndexingConfigurationBuilder class is contained in the "org.infinispan" - which does not depend on the "org.infinispan.query" module. Consequently, IndexingConfigurationBuilder validation fails, even though the module would have been successfully loaded at runtime.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the infinispan-issues
mailing list