[rules-users] Class not found Exception dynamically loadind DRLs

ukriegel ulrich.kriegel at isst.fraunhofer.de
Mon Jul 11 04:04:45 EDT 2011


Hi there,
we try to load small rule packages containing java classes to be provided as
globals and drl-definitions from a webserver using an URLClassloader. the
"globals"classes could be read and their tests are ok, but as soon as a
drl-file is loded which references souch a dynamically loaded "globals2
class, a class no found-Exception is fired.
That could be expaned with the differenz class loaders used - the
URLClassloader for loading the "globals"-Classes and the standard class
loader used to load the drl-files via 	kbuilder.add(
resourceFactory.newUrlResource(url), ResourceType.DRL);

Is there any solution for this problem.
Thanks in advance
--Ulrich


--
View this message in context: http://drools.46999.n3.nabble.com/Class-not-found-Exception-dynamically-loadind-DRLs-tp3158496p3158496.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list