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

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

                Author: ASF GitHub Bot
            Created on: 18/Jun/19 07:56
            Start Date: 18/Jun/19 07:56
    Worklog Time Spent: 10m 
      Work Description: oscerd 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:
us...@infra.apache.org


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

    Worklog Id:     (was: 262120)
    Time Spent: 20m  (was: 10m)

> 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: 20m
>  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. 
> CrossRefs: https://github.com/wildfly-extras/wildfly-camel/issues/2831, 
> https://github.com/kiegroup/drools/commit/85c5308031a84a0ac4086c1df363bb1b4b3c6af9



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

Reply via email to