Re: [rules-users] Possible concurrency issue in Drools

2010-08-04 Thread Norman C
I've run into this issue a few more times.  Should I log a JIRA ticket for this?  Any advice would be appreciated. Thanks, Norman From: Norman C To: rules-users@lists.jboss.org Sent: Sat, July 31, 2010 9:56:26 PM Subject: Re: Possible concurrency issue in D

[rules-users] How to aggregate decisions of multiple rules?? (In Guvnor)

2010-08-04 Thread bbarani
Hi, We have multiple rules defined in Guvnor and we fire all the rules at a time. There is a decision object set for each rule and I am trying to figure out a way to aggregate the result using the prirority of the decision object (kind of logical AND / OR) For Ex: The priority of the decision wo

Re: [rules-users] Drools Expert: monitor rules & report activity

2010-08-04 Thread Dieter D'haeyere
It seems to be hard to find documentation about Drools (5.1+) and JMX. Any articles / documentation available ? 2010/8/3 Quinn, Dan > Drools(5.1+) has already added functionality to monitor rule activity in > your application using JMX. You can turn mbean rule monitoring on either in > the

Re: [rules-users] Drools Expert: monitor rules & report activity

2010-08-04 Thread Dieter D'haeyere
never mind, http://planet.jboss.org/post/drools_monitoring_with_jmx picked wrong key words in google :s On Wed, Aug 4, 2010 at 11:42 PM, Dieter D'haeyere wrote: > It seems to be hard to find documentation about Drools (5.1+) and JMX. > Any articles / documentation available ? > > > > > > 2010/

Re: [rules-users] creating .pkg from .drl

2010-08-04 Thread jrob
I've tried to clean up my testing to be sure and created a few different scenarios. All of them end with the same result: java.lang.ClassCastException: [B at org.drools.rule.Package.readExternal(Package.java:197) at org.drools.definitions.impl.KnowledgePackageImp.readExternal(Know

[rules-users] DATE-EXPIRES in rule table ?

2010-08-04 Thread Arun Kumar
Hi, Am using a spreadsheet based rules. Is it possible to set the attribute like "date-expires", "enabled" in the spread sheet ? * * *Regards,* *Arun* * * ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo

Re: [rules-users] Drools 5 for process simulation

2010-08-04 Thread Labin, Jonathan W.
Mark, Thanks for the link. I'll look into it. I'm not sure I'll have time to learn enough about Drools to actually modify it for this project. Do you think it's not practical to attempt to build a simulator without modifying Drools? Thanks, Jonathan From: rules-users-boun...@lists.

Re: [rules-users] creating .pkg from .drl

2010-08-04 Thread Esteban Aliverti
Are you experiencing any error? Or it just doesn't work as you expected? Try doing a test without using kagent. Try to create a new KBase and add the serialized packages you have. Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://iles

Re: [rules-users] creating .pkg from .drl

2010-08-04 Thread jrob
Did you actually get this to work? I have tried both ways to create a .PKG mentioned here and still haven't got it to work. FILE CREATION CODE (Commented out portions are for direct serialization): public static void createPKG(Collection kpkgs, File file) throws IOException, FileNotFound

Re: [rules-users] Drools Web Service or external JAR in Oracle Database?

2010-08-04 Thread Esteban Aliverti
Maybe you could find drools-server helpful: https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-integration/html_single/index.html In that document you will find all the available integration techniques. Best,

Re: [rules-users] Drools 5 for process simulation

2010-08-04 Thread Mark Proctor
On 04/08/2010 16:20, Labin, Jonathan W. wrote: Drools users, I am currently researching Drools 5 as a potential toolkit to enable my next project. I have read through the Documentation for Drools Expert, Flow and skimmed through Fusion and I believe that Drools looks it provides many features

[rules-users] Incorrect allowable comparison when using Guvnor GUI Rules - known bug?

2010-08-04 Thread Stephen Mcgruer
Hi there. I was just wondering if the following was a known bug or not (and if it was fixed in Guvnor 5.1 - I am using 5.0): I have two classes, Foo.java and Bar.java. Bar has a property in it, an integer (also tried doubles, not tried anything else) called barInt. Foo also has a property, a

[rules-users] Drools 5 for process simulation

2010-08-04 Thread Labin, Jonathan W.
Drools users, I am currently researching Drools 5 as a potential toolkit to enable my next project. I have read through the Documentation for Drools Expert, Flow and skimmed through Fusion and I believe that Drools looks it provides many features we need. However, I am concerned about one aspect

Re: [rules-users] Downloading 5.1: bad contents of binaries?!

2010-08-04 Thread Wolfgang Laun
Sorry for the noise. I messed this up myself by Eclipse-building a drools runtime in the same place. :-\ -W 2010/8/4 Georg Maier > Just did the same, downloading the zip right now. > > > > My content looks like this: > > > > ~/drools # ls -l > > total 4512 > > -rw-rw-r-- 1 gmai gmai 11358 Jul

Re: [rules-users] Fusion - Why needs the stream time-ordered input

2010-08-04 Thread Edson Tirelli
Tina, the requirement is to avoid corner cases with sliding windows, for instance. Imagine you have a sliding window of 30 min, calculating averages... if events arrive out of order, they might generate odd results on the average calculation along the timeline and might remain in the window for

[rules-users] Fusion - Why needs the stream time-ordered input

2010-08-04 Thread Tina Vießmann
Hi, I'm restarting getting to know Drools (Fusion). Now I'm thinking about the stream processing mode. The documentation says the events must be time-ordered - they must be insert into the stream in the order in which they are occur so. Am I correct that it has to be that way, because the time

[rules-users] Drools Web Service or external JAR in Oracle Database?

2010-08-04 Thread tom ska
Hello, I have my Drools project, and I want to use a Drools JAR in Oracle PL/SQL. The problem is, that importing JAR to Oracle means for me (as far as I know) splitting JAR (in Oracle Database) to classes. After importing I have few thousands of classes in my Oracle Database. I want to avoid this,

Re: [rules-users] Downloading 5.1: bad contents of binaries?!

2010-08-04 Thread Georg Maier
Just did the same, downloading the zip right now. My content looks like this: ~/drools # ls -l total 4512 -rw-rw-r-- 1 gmai gmai 11358 Jul 30 10:22 LICENSE-ASL-2.0.txt -rw-rw-r-- 1 gmai gmai3084 Jul 30 10:22 README_DEPENDENCIES.txt -rw-rw-r-- 1 gmai gmai 12866 Jul 30 10:22 drool

[rules-users] Downloading 5.1: bad contents of binaries?!

2010-08-04 Thread Wolfgang Laun
After downloading 5.1 binaries from http://www.jboss.org/drools/downloads.html and unzipping them in a fresh, new directory I find: wl...@atvienw39033:/extra/drools-5.1/bin$ ls -l total 14316 -rw-r--r-- 1 wlaun wlaun 116205 2010-08-04 13:44 antlr-runtime.jar -rw-rw-r-- 1 wlaun wlaun 12866 2010-

[rules-users] Help regarding populating values from presentation layer into Fact Typpes in drools

2010-08-04 Thread Swapnil Sawant
Hi, In drools, I have seen that following functionalities have been implemented : - Creating a fact type which can be used in a rule - Creating rule by declaring functions or by using DSL - Testing the rule using test scenario Here, I had a question regarding deco

[rules-users] fireUntilHalt() and OSGi - CPU load

2010-08-04 Thread Georg Maier
Hi, I am using Drools 5.1 (final) in an OSGi environment. When invoking fireUntilHalt() for my StatefulKnowledgeSession, CPU load rises to 25% (meaning one complete core on the quad-core machine). Needless to say, when two sessions are used in different components at the same time I'm reaching

Re: [rules-users] Cannot work out how to get created fact to retract on change of 'when' conditions - help!

2010-08-04 Thread Wolfgang Laun
If you have *either* Fact1( $m : month, $s1 : score ) Fact2( month == $m, $s2 : score ) *or* Fact1( $m : month, $s1 : score ) Fact2( month == $m, $s2 : score ) Fact3( month == $m, score == $1 + $2 ) then you can easily write two rules that (a) detect the first case and progress to

Re: [rules-users] KnowledgeAgent and OSGI

2010-08-04 Thread Mark Proctor
On 04/08/2010 11:06, David Conde wrote: Thanks Mark, Cheers for the info. I've seen the OSGi bundle zip (and the boot bundle list [1]) but it seemed to have quite a large amount of dependencies for just drools-core and drools-compiler. Do you know if all these bundles are required for this

[rules-users] Cannot work out how to get created fact to retract on change of 'when' conditions - help!

2010-08-04 Thread Stephen Mcgruer
Hey, We have the following situation: Fact1 and Fact2 both have a 'score' property. They also both have a 'month' property. When a Fact1 and a Fact2 have the same month (at most there will only be one such pairing for each month), a Fact3 is created with a score made from adding the two ba

[rules-users] Instructions for upgrading designer.war?

2010-08-04 Thread Han Ming Low
Hi, I understand that the designer.war is a project by intalio. When looking at the source for the war at http://anonsvn.jboss.org/repos/labs/labs/jbossrules/contrib/designer/designer-src.war, I saw the changes to be made to make it compatible with Drools. I think I can do some of the steps like

Re: [rules-users] KnowledgeAgent and OSGI

2010-08-04 Thread David Conde
Thanks Mark, Cheers for the info. I've seen the OSGi bundle zip (and the boot bundle list [1]) but it seemed to have quite a large amount of dependencies for just drools-core and drools-compiler. Do you know if all these bundles are required for this subset? If not would you happen to have the li

Re: [rules-users] KnowledgeAgent and OSGI

2010-08-04 Thread Mark Proctor
The set of OSGi bundles dependencies can be used here: http://www.jboss.org/drools/downloads.html We test against spring: http://fisheye.jboss.org/browse/JBossRules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/drools/osgi/integrationtests/SimpleOsgiTest.java This is our project tha

Re: [rules-users] KnowledgeAgent and OSGI

2010-08-04 Thread David Conde
Hi, I'm trying to get drools-core and drools-compiler 5.1 running on spring dm-server. Does anyone have the minimal list of OSGi bundles as maven dependencies handy? Thanks, Dave On 25 June 2010 13:59, mmarmol wrote: > > Hi, I have managed to install Drools-core and Drools-compiler in my Equin

Re: [rules-users] Updating to 5.1 - what jars do I need to replace?

2010-08-04 Thread Stephen Mcgruer
Apologies Jervis for taking so long to get back to you - and the list. Unfortunately I've been unable to get time to get 5.1 installed on my machine again, since we're in quite a rush here to get the project finished. When I have a bit of free time I will reinstall 5.1 Guvnor and try and re