You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/06/17 11:13:00 UTC

[jira] [Work logged] (CAMEL-13654) optaplanner-7.23 not usable in WildFly

     [ https://issues.apache.org/jira/browse/CAMEL-13654?focusedWorklogId=261281&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-261281 ]

ASF GitHub Bot logged work on CAMEL-13654:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 17/Jun/19 11:12
            Start Date: 17/Jun/19 11:12
    Worklog Time Spent: 10m 
      Work Description: tdiesler commented on pull request #2980: [CAMEL-13654] optaplanner-7.23 not usable in WildFly
URL: https://github.com/apache/camel/pull/2980
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 261281)
            Time Spent: 10m
    Remaining Estimate: 0h

> 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
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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}
> In a non flat classpath environment, the later version of drools does not allow the CL to get set to anything that is not an OSGi CL. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)