[
https://issues.jboss.org/browse/DROOLS-890?page=com.atlassian.jira.plugin...
]
Thomas Leung commented on DROOLS-890:
-------------------------------------
Also, another hint is that we observed it always happened in one of our drl rule which it
eval an local function and then this function call another local function.
e.g. In test.drl :
rule "A"
when eval(function1(...))
then .....
end
function boolean function1(...) {
return function2(...);
}
function boolean function2(...) {
return true;
}
I reviewed the generated java from this drl and seems like Drools will compile all
functions to individual classes and the rule class import static the function1 class and
then function1 class will import static the function2 class. Just wonder if this will
cause the ClassNotFoundException or not ? Our functions are not likely causing
ClassNotFoundException as it just does some string manipulations.
Thread deadlock issue in class ProjectClassLoader.java
-------------------------------------------------------
Key: DROOLS-890
URL:
https://issues.jboss.org/browse/DROOLS-890
Project: Drools
Issue Type: Bug
Components: core engine
Affects Versions: 6.1.0.Final
Reporter: Vivek Hingorani
Assignee: Mario Fusco
Fix For: 6.3.0.Final
In our project , we are using drools6.1.0.Final jars and the rules are deployed in a jar.
Another application when trying to use the rules jar is getting thread deadlock problem.
Stack trace is
at
org.drools.core.common.ProjectClassLoader$InternalTypesClassLoader.loadClass(ProjectClassLoader,java284)
Two threads are in deadlock condition on this thread. I restarted the application and the
error is gone but we need to fix this issue so that it is not reproduced later.The class
is in drools-core jar
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)