[
https://issues.apache.org/jira/browse/CAMEL-13654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Diesler updated CAMEL-13654:
-----------------------------------
Summary: optaplanner-7.23 not usable in WildFly (was: optaplanner-7.23 not
usable in wildfly)
> optaplanner-7.23 not usable in WildFly
> --------------------------------------
>
> Key: CAMEL-13654
> URL: https://issues.apache.org/jira/browse/CAMEL-13654
> Project: Camel
> Issue Type: Bug
> Reporter: Thomas Diesler
> Assignee: Thomas Diesler
> Priority: Major
> Fix For: 3.0.0
>
>
> drools-7.23 uses this code in `org.drools.core.common.ProjectClassLoader` ...
> {code}
> public void setDroolsClassLoader(ClassLoader droolsClassLoader) {
> if (getParent() != droolsClassLoader &&
> isOsgiClassLoader(droolsClassLoader)) {
> this.droolsClassLoader = droolsClassLoader;
> if (CACHE_NON_EXISTING_CLASSES) {
> nonExistingClasses.clear();
> }
> }
> }
> {code}
> drools-7.14 uses
> {code}
> public void setDroolsClassLoader(ClassLoader droolsClassLoader) {
> if (getParent() != droolsClassLoader) {
> this.droolsClassLoader = droolsClassLoader;
> if (CACHE_NON_EXISTING_CLASSES) {
> nonExistingClasses.clear();
> }
> }
> }
> {code}
> The later version of drools does not allow the CL to get set to anything that
> is not an OSGi CL. Hence, it will fail in any other modular environment,
> except OSGi.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)