URL[] urls = new URL[]{ new URL(file://+path)
Are you using relative or absolute paths for classLoaders?
Did you check that the paths are valid when you deploy your application in
Tomcat container?
Cheers,
Swapnil
2009/11/4 Hemanth kumar hema...@saha.in
swapnil thanx for the reply,
this
Hi
I would like to test the time taken to run a single rule (eg.
HelloWorldExample from Drools5.0 documentation) against large data size (i.e
the object inserted in ksession is 10,000). The .drl file is loaded only
once and i am looping the part where message object is created and set with
Have you tried removing the System.out.println statement from the rule? Writing
to the console can be very very slow.
You could also get rid of the audit logger which could be spitting out a lot of
data into a file (or it may not, I've not actually tried it).
Thomas
-Original Message-
I have successfully used DRLParser with several DRL files, except when they
include the 'contains' syntax. My code for parsing DRL and then dumping into
XML, is below:
public class DroolsDumper {
public static final void main(String[] args) throws DroolsParserException {