Re: [rules-users] Rule definition introspection

2012-02-18 Thread GPatel
Thanks Mark. Quite well understood. Thanks Wolfgang for the code snippet, much appreciated. The reason I need to know which facts the rule are using at runtime is to create an audit log and capture the values the facts had at the time of rule execution, so that an audit log can be created that

[rules-users] Guvnor pojo & InitialConext

2012-02-18 Thread gombasp
Hello, i tried to create a pojo and load it to Guvnor which would call an EJB on the same Jboss AS 7.1. Below code works in another app without problem. public class Calculation implements IFCalculation { IFRemoteCalculation remoteCalculation; public Calculation() {

Re: [rules-users] MVEL Expression causing NPE in MVEL optimizer

2012-02-18 Thread womuji
The NPE was caused by the call: cmds.add(CommandFactory.newSetGlobal( "addressManager", addressManager, true)); cmds.add(CommandFactory.newSetGlobal("fieldOperations", new HashMap(), true)); the addressManager is not available via this call, but if I switched all Global setting via non-command API

Re: [rules-users] KnowledgeAgent custom class loader not working for PKG resources

2012-02-18 Thread Hrumph
http://drools.46999.n3.nabble.com/file/n3756244/knowledge-agent-classloader-5.4.zip knowledge-agent-classloader-5.4.zip Attached...thanks. -- View this message in context: http://drools.46999.n3.nabble.com/KnowledgeAgent-custom-class-loader-not-working-for-PKG-resources-tp3746456p3756244.html S

Re: [rules-users] Using an OWL Ontology in drools - advice

2012-02-18 Thread Salaboy
You can watch davide's github user and follow him - CTO @ http://www.plugtree.com - MyJourney @ http://salaboy.wordpress.com - Co-Founder @ http://www.jbug.com.ar - Mauricio "Salaboy" Salatino - On 18/02/2012, at 06:21, Anton Hughes wrote: > > Hi Anton, > I'm (un)officially in charge of the to

Re: [rules-users] KnowledgeAgent custom class loader not working for PKG resources

2012-02-18 Thread Esteban Aliverti
Seems that the link for the attached file is no valid. Could you please try to send it again? Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Fri, Feb 17, 2012 at 12:13 AM, Hrumph wrote:

Re: [rules-users] Using an OWL Ontology in drools - advice

2012-02-18 Thread Anton Hughes
> > > Hi Anton, > I'm (un)officially in charge of the topic. Right now I have identified the > following topics/tasks, feel free to ask for more details on any one of > them: > > 1) Use the ontology to create a fact model to write rules with : I'm > perfecting the tool even now, in a few days the a

Re: [rules-users] Rule definition introspection

2012-02-18 Thread Wolfgang Laun
The model is always defined by the DRL syntax. There is no point in exposing the implementation of some object hierarchy as it is produced by the DRL compiler, tree walker, etc. There may be a limit to what is possible to reconstruct from that internal implementation, but surely not for the top lev