I have the exact same problem as well. 

Option 1 (raises not found in database error)
Reader reader = new 
InputStreamReader(Main.class.getResourceAsStream("AmountRule.drl"));

Option 2 (raises classloader issues, imported classes in drl file are not found)
Reader reader = new InputStreamReader(new 
FileInputStream("D:/dev/iai/src/rules/AmountRule.drl"));


This is a very important issue as we are not able to mix the jBPM engine with 
the Rule Engine...

The project I am involved in requires both.

By the way, just executing the Rule file (DRL) from a main class works 
perfectly.

I am using the jbpm-starterskit-3.1.3.


Help needed!!!


Regards,

Jeff








View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036056#4036056

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036056
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to