[rules-users] Error Loading multiple input files

Greg Barton greg_barton at yahoo.com
Sun Jun 6 23:09:57 EDT 2010


How are you translating the input file into POJOs? Not being able to find a file on your system has little to do with drools.  

Can you list the code that throws the FileNotFoundException?

GreG

On Jun 6, 2010, at 9:09 PM, Mahalakshmi <mr2809 at nyu.edu> wrote:

Hi,

I have 3 separate text files with my input data. I need to load all the input files data to my working memory and then fire the rules on this data.
I am able to work with just 1 input file. But when I try to add multiple files - which I tried by adding an array of input files - my program terminates giving me a FileNotFoundException.
Same problem occurs if I try to add an multiple .drl files ( different rule files).

Can you guys please help me. Not understanding how to solve this error.
Also, how can I add my modified data to a new file. My new file gets created and the rules which are fired do modify my data as required ( printed it on the console)
But how do I store this information back to my working memory and print it out to my output file.
All my input files have only 1 field in common otherwise are not related.

Is it a better option to have all data in only 1 input file??

Thanks you. 

-M
_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



      



More information about the rules-users mailing list