Re: [rules-users] Class loader problem

2009-11-04 Thread Swapnil Raverkar
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

[rules-users] Execution time for drools5.0 against large data size

2009-11-04 Thread ABRA2
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

Re: [rules-users] Execution time for drools5.0 against large data size

2009-11-04 Thread Swindells, Thomas
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-

[rules-users] DRLParser not parsing collections

2009-11-04 Thread Ken Archer
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 {