Re: [rules-users] Accessing maps (hashmaps) keys and values in rules

2008-03-12 Thread Mehak
Hi I am using xml drl files for my rules. I pass the facts in HashMap. Map factAgendaMap = new HashMap(); factAgendaMap.put(group, ruleConfig.getRuleName()); factAgendaMap.put(fact, fact); session.execute(factAgendaMap); In my drl file I m calling the

RE: [rules-users] conversion of .pkg file to other formats

2008-03-12 Thread Knapp, Barry
Rick, We had the same issue/concern and chose to pass the drl to our engine. We bypass the default BRMS deployer and created a custom servlet to return the drl. Here is some logic that will generate the drl. PACKAGE_UUID = uuid of your package REPOSITORY_SERVICE =

Re: [rules-users] Drools.NET

2008-03-12 Thread Mark Proctor
anishanc wrote: Hello friends.. Is drools.net support plain drl file Is a port of Drools 3.0 which does use plain drl files. example: when .. then .. Actually i want to use the same plain drl file used in the

[rules-users] EJB3.0 on RHS of the rule

2008-03-12 Thread dare
We are using Drools 4.0.3 with EJB3.0 on glassfish. When we invoke some method of EJB3.0 stateless session bean (annotated with @Remote) from the RHS part of .drl file we get NullPointerException. Any help would be appreciated -- View this message in context:

RE: [rules-users] Interesting null pointer exception when inserting afact.

2008-03-12 Thread Jason Partyka
It looks like the bug is still in there. I am attempting to resolve it myself, but in order to do so I need to go into the MVEL code, but the mvel jar that is included as part of the drools classpath container (within eclipse) is just mvel14.jar. So I'm not sure where the source is or what

[rules-users] Serialize RuleBase ClassNotFoundException error.

2008-03-12 Thread Pedro Costa
Hi All, I have a RuleBase I use it create a working memory, I add some object to the working memory, I execute the rules I get some results I serialize both the working memory and the rule base I need the working memory So, I try to desirialize the RuleBase When trying to do so, I get the

Re: [rules-users] Interesting null pointer exception when inserting afact.

2008-03-12 Thread Mark Proctor
Jason Partyka wrote: It looks like the bug is still in there. I am attempting to resolve it myself, but in order to do so I need to go into the MVEL code, but the mvel jar that is included as part of the drools classpath container (within eclipse) is just mvel14.jar. So I'm not sure where

[rules-users] Re: Serialize RuleBase ClassNotFoundException error.

2008-03-12 Thread Pedro Costa
Sorry! This problem seems to be corrected if using the lastest from 4.0.xtrunk ... :P 2008/3/12, Pedro Costa [EMAIL PROTECTED]: Hi All, I have a RuleBase I use it create a working memory, I add some object to the working memory, I execute the rules I get some results I serialize both

RE: [rules-users] Interesting null pointer exception when inserting afact.

2008-03-12 Thread Jason Partyka
Well, I've downloaded the source, and it appears that it is occuring in the org.mvel.MVELRuntime class, method execute(). My equals token (==) is being properly recognized, and converted to its integer representation (10). However, in a block with switch (operator), the org.mvel.Operator.EQUAL

Re: [rules-users] conversion of .pkg file to other formats

2008-03-12 Thread Rick Lacy
Barry, Thanks a million! I'm still not sure which way we're going for deployment, but this looks interesting. It's always great to have options. Rick On Wed, Mar 12, 2008 at 7:03 AM, Knapp, Barry [EMAIL PROTECTED] wrote: Rick, We had the same issue/concern and chose to pass the drl to

[rules-users] Do you have a Bug?

2008-03-12 Thread Mark Proctor
We've fixed a huge number of things for 4.0.5. We are going to try and get the release out this friday. So please hurry if you have a bug then let us know, especially if you have a fix :) And don't forget to try your bug out on 4.0.x in svn in case its already fixed:

Re: [rules-users] Drools low concurrency/high synchronization? !NOSIG!

2008-03-12 Thread Leon S
We ran into this problem after upgrading from 3.0.* to 4.0.4. Is there a JIRA issue filed for this? I see a few MVEL-related issues scoped for 4.0.5 and 5.0 releases, but nothing that looks like specifically covering this problem. Thanks, Leon Mark Proctor wrote: This looks different