Re: [rules-users] Drools Rule language resources Reg;

2010-08-10 Thread Mark Proctor
There is a wiki, but it's not that well maintained: http://community.jboss.org/wiki/JBossRules You can read any book on production rule systems and the examples should translate pretty well. So I'd recommend the Jess book and also the two Expert Systems books.

Re: [rules-users] CPU Spike creating a StatefulKnowledgeSession using OSGi

2010-08-10 Thread Mark Proctor
On 10/08/2010 17:22, David Conde wrote: Hi Pavel, I've changed it over to use a stateless session and I'm seeing the same behavior. I've done some debugging and it seems to be very slow loading up the SessionConfiguration due to all of the loading that happens in ChainedProperties. it

Re: [rules-users] CPU Spike creating a StatefulKnowledgeSession using OSGi

2010-08-10 Thread Mark Proctor
On 10/08/2010 19:53, David Conde wrote: Just to let people know, I've worked around this by only creating one SessionConfig object and caching it i.e StatelessKnowledgeSession ksession = kbase.newStatelessKnowledgeSession((KnowledgeSessionConfiguration)getSessionConfig());. What seemed to

Re: [rules-users] Design of Rule Engine

2010-08-13 Thread Mark Proctor
On 13/08/2010 17:44, Manav wrote: Hi, I am using the 5.x version of Drools and currently new. I am currently evaluating Drools for an internal project . The product's impressive and the support is absolutely superb. To design a new Rule Engine using Drools as the base are there any

[rules-users] Don't forget RulesFest 2010

2010-08-13 Thread Mark Proctor
Don't forget RuleFest 2010 this October. Edson, Kris and myself will be there. And the event includes a one day bootcamp for those wanting to discuss their projects with us or run over examples with us to hand. http://rulesfest.org/html/home.html Mark

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

2010-08-17 Thread Mark Proctor
On 18/08/2010 00:49, Norman C wrote: Hi All, I've posted on this topic twice and logged a JIRA ticket (https://jira.jboss.org/browse/JBRULES-2651) as well. I've received no responses and the bug hasn't been updated since I logged it. I just replied to the jira. I'm committing the fix now.

Re: [rules-users] Migration from drools 5.0 to 5.1

2010-08-20 Thread Mark Proctor
On 20/08/2010 11:28, Swapnil Sawant wrote: Hi, Using drools 5.0 APIs, I have written a kind of framework component code using which I am able to achieve following functionalities successfully : - Running rules using changeset.xml - Executing workflow Example of framework component code

[rules-users] Left and Right Unlinking - Community Project Proposal

2010-08-20 Thread Mark Proctor
In an effort to help encourage those thinking of learning more about the internals of rule engines. I have made a document on implementating left and right unlinking. I describe the initial paper in terms relevant to Drools users, and then how that can be implemented in Drools and a series of

Re: [rules-users] Migration from drools 5.0 to 5.1

2010-08-20 Thread Mark Proctor
*KnowledgeAgentImpl *that's an internal class you should be sticking to the interfaces and only that which is in drools-api. Mark On 20/08/2010 17:34, Swapnil Sawant wrote: Hi Mark, Thanks for your reply. I tried migrating rules from 5.0 to 5.1 at first. For this, I just replaced drools-core

Re: [rules-users] Difference between Rule Base and Knowledge Base

2010-08-21 Thread Mark Proctor
rulebase is legacy, it's still there for backwards comptability. Mark On 21/08/2010 15:47, Swapnil Sawant wrote: Hi, I had a very basic doubt. 'Rule Base' and 'Knowledge Base' are two different concepts (may be from implementation point of view )? I got this doubt when I was going

Re: [rules-users] Drools v5.1.0 KnowledgeAgent using Spring Beans

2010-08-25 Thread Mark Proctor
On 25/08/2010 13:08, KiranP wrote: hi all, I am trying to configure Drools v5.1.0 [Guvnor + Spring 3.0 + Web App.(Tomcat)] i don't understand how can i do it in the simplest way please point to some examples or provide concept to go with thanks and regards, Sorry looks like that one

Re: [rules-users] Drools and Java EE

2010-08-25 Thread Mark Proctor
Let's continue this discussin on the dev mailing list, as it's definitely of interest: http://www.jboss.org/drools/lists.html Mark On 25/08/2010 03:50, ljnelson wrote: Hello; I've made a JCA resource adapter for Drools. I've had to hack quite a bit to get it so that the KnowledgeAgent- and

Re: [rules-users] Rileflow / Domain-specific processes / thread model

2010-08-25 Thread Mark Proctor
On 25/08/2010 13:38, jschmied wrote: Hi! When I define a ruleflow with parallel branches and have my own WorkItems in both branches do they get executed in parallel threads? no Mark Thanks juergen ___ rules-users mailing list

[rules-users] Rules Fest and Drools Bootcamp San Jose Oct 2010

2010-08-30 Thread Mark Proctor
Time is ticking, so don't forget about the San Jose Rules Fest Oct 2010: http://rulesfest.org/html/home.html It's a 3 day event of talks followed by a one day Boot Camp with separate rooms for Jess, DroolsjBPM, Grind Works and Open Rules. You may attend the talks or the bootcamps or both:

Re: [rules-users] copyright violation issue on Drools

2010-08-31 Thread Mark Proctor
Yusuke, At the time of your contributions to Drools and other projects you were a Red Hat employee. The Red Hat legal department has determined that it has the right to copy, modify and distribute your contributions under the Apache License version 2.0 and considers this matter closed. If

Re: [rules-users] copyright violation issue on Drools

2010-09-01 Thread Mark Proctor
to anger. Anger leads to hate. Hate leads to suffering. Mark PS. My advice is for you not to reply to this, and let this thread die here, nothing positive for you can be achieved. That's why I post this matter to this list. On Sep 1, 2010, at 6:19 AM, Mark Proctor wrote: Because

Re: [rules-users] Archived documentation for Drools 3?

2010-09-01 Thread Mark Proctor
On 01/09/2010 08:52, Alexandros Karypidis wrote: Hi all, The Drools web site only has the docs/tutorials/etc for version 4 onwards. I am looking for archived documentation of Drools version 3.x.y (I am new to Drools and need to work on a legacy application written with that version).

Re: [rules-users] Problem with importing DrlParser and XmlDumper classes.

2010-09-01 Thread Mark Proctor
On 01/09/2010 10:07, tom ska wrote: Hi, I have problem with importing and using DrlParser XmlDumper classes. In Eclipse I get thoose communicate: Discouraged access: The type DrlParser is not accessible due to restriction on required library [path hier]\drools-compiler.jar I googled this

[rules-users] Please ignore Yusuke Yamamoto do not reply (don't feed the troll)

2010-09-01 Thread Mark Proctor
It is unfortunate that in Open Source from time to time we have to deal with people of a more unstable nature, the inveritable troll. see http://drools-java-rules-engine.46999.n3.nabble.com/Re-rules-users-copyright-violation-issue-on-Drools-td1397208.html#a1397208 Anyway please don't feed

[rules-users] Shame on Progress and Savvion

2010-09-02 Thread Mark Proctor
Progress has recently ripped off the Drools community and has offered nothing in return, not even a curtesy nod of accreditation for our hard work.. 30% of that 49mill USD would go a long way to helping us invest in our tooling which would benefit all of us :) and maybe the Drools team can

[rules-users] Drools 5.1 Released

2010-09-03 Thread Mark Proctor
Flow. The afternoon will be an open floor where you can get time with us core developers for any questions, mentoring or assistance that you would like. Thanks Drools 5.1 wouldn't have been possible without the following people: Core: Mark Proctor Edson Tirelli Kris Verlaenen Toni Rikkola Geoffrey

Re: [rules-users] Shame on Progress and Savvion

2010-09-03 Thread Mark Proctor
We just made #4 on dzone, please keep the votes coming, let's see if we can make #1 http://www.dzone.com/links/progress_buy_a_bridge_in_brooklyn_savvion_brms_an.html http://www.dzone.com/links/progress_buy_a_bridge_in_brooklyn_savvion_brms_an.html Mark On 03/09/2010 01:47, Mark Proctor wrote

Re: [rules-users] what happened to . org.drools.util.ProviderLocator in drools 5.1.1??

2010-09-03 Thread Mark Proctor
On 03/09/2010 21:03, Jeff Parks wrote: Upgrading from 5.0 to 5.1.1, I can't seem to find this class anymore That's internal factory loading stuff, you probably shouldn't be using that anyway. In drools-api there is org.drools.util that has similar stuff. But all are for internal Drools

Re: [rules-users] Question about BPMN2 and Drools

2010-09-03 Thread Mark Proctor
On 03/09/2010 22:48, Cristiano Gavião wrote: Hi, I'm investigating the new Oryx editor... I'm delighted with it. It's a such nice work :-) and I would like to know how will Drools to address BPMN2 diagrams with more than one pool/ swimlanes. Something like this:

Re: [rules-users] What's the use of the RemoveIdentitiesOption?

2010-09-08 Thread Mark Proctor
On 08/09/2010 10:04, Wolfgang Laun wrote: I do understand both ways of the AssertBehaviorOption, but what's the function of the RemoveIdentitiesOption? (This one's not in Drools Expert, and Javadoc doesn't explain.) It stops self joins, although I'm not a fan of it really and it's off by

Re: [rules-users] JMS Messenger

2010-09-08 Thread Mark Proctor
On 08/09/2010 12:21, Tina Vießmann wrote: I've looked at the Drools Expert User Guide for version 5.0. There it's chapter 3.3.8.5 In Drools 5.1 we recommend you use Camel, as that abstracts all messaging. Mark On 7 September 2010 01:14, Tina Vießmann tviessm...@stud.hs-bremen.de

Re: [rules-users] JMS Messenger

2010-09-08 Thread Mark Proctor
Mark Proctor: On 08/09/2010 12:21, Tina Vießmann wrote: I've looked at the Drools Expert User Guide for version 5.0. There it's chapter 3.3.8.5 In Drools 5.1 we recommend you use Camel, as that abstracts all messaging. Mark On 7 September 2010 01:14, Tina Vießmann tviessm...@stud.hs

Re: [rules-users] Virtual box dev environment

2010-09-10 Thread Mark Proctor
On 09/09/2010 16:34, Leonardo Gomes wrote: Hi Guys, I'm trying to setup a drools developer environment and currently facing some issues with missing dependencies. Is it still worth to install the virtual box described here:

Re: [rules-users] [rules-dev] Hold the Beans!

2010-09-11 Thread Mark Proctor
08:35, Mark Proctor wrote: The first aspect is to allow the type and the property accessors to be dynamically defined declare Element @type( nodeName ) @property( get( $1 ) ) end Where $1 is the interpolation point for the passed property name. That would then allow access to Dom

Re: [rules-users] OWL (2 RL) reasoning support

2010-09-11 Thread Mark Proctor
On 11/09/2010 09:29, Semweb Developer wrote: Hi all, as far as I know, Drools does not support a built-in ruleset for reasoning on OWL (2 RL) in the form of triple-based rules. Is there any custom approach towards this field with a publicly available ruleset for Drools? Davide Sottara is

Re: [rules-users] Verify if an objects attribute exists

2010-09-14 Thread Mark Proctor
Pattern( field != null, eval( someFunc( field ) ) ) Mark On 14/09/2010 05:18, lnguyen wrote: Sorry here is some additional details...I hope I'm not making this sound more complicated than it really is but I am attempting to restrict access to view an account based on the logged in user.

Re: [rules-users] [rules-dev] Technical Rules

2010-09-14 Thread Mark Proctor
On 14/09/2010 21:17, Leonardo Gomes wrote: The thing is that, afaik, the DrlParser in itself doesn't give you something that you can use to generate the BRL XML, even for a well-behaved DRL. You would have to do some sort of model-to-model transformation that would have RuleModel as an

Re: [rules-users] Drools dependencies

2010-09-15 Thread Mark Proctor
On 15/09/2010 11:00, Evert Penninckx wrote: Hello I'm using ant to compile and deploy a project which uses drools. I ran in some jar dependency problems and have a hard time understanding which packages are required for what and which dependent libs are really needed. I read the

Re: [rules-users] Drools flow and BPEL (Drools 5.1)

2010-09-15 Thread Mark Proctor
On 15/09/2010 07:46, tim wrote: Hello, I am studying how to integrate Drools 5.1 into our product. And we will need a BPEL engine embedded in Drools. I read from the Drools Flow User Guide that the Drools Flow engine is based on a generic process engine that allows the definition and

Re: [rules-users] URGENT - using lock-on-active or not

2010-09-16 Thread Mark Proctor
please don't title your subjects with URGENT. i'm sure everyone's email here is urgent. See netiquette here: http://www.jboss.org/drools/lists.html Mark On 16/09/2010 08:55, Yaniv Itzhaki wrote: Hi All, I have an urgent problem which I hope someone can explain it to me and how it can be

Re: [rules-users] Drools flow and BPEL (Drools 5.1)

2010-09-16 Thread Mark Proctor
On 16/09/2010 03:29, tim wrote: Do you mean that there isn't embedded BPEL (i.e Apache ODE) in Drools 5.1?If that's true, I'll have to find other ways to support BPEL in our product. I find there is a guvnor-BPEL-editor component in Drools 5.1.1 source code. Are you planning to provide a

Re: [rules-users] Fwd: Early bird registration ENDS TODAY: Rules Fest 2010

2010-09-17 Thread Mark Proctor
On 17/09/2010 19:07, Abdel Dridi wrote: Edson, Would you please clarify what kind of exercise you guys are planing to do for the Drools Bootcamp? which level of Drools knowledge is required to attend the bootcamp? Is it worth it for people who have been using Drools for some time now? The

Re: [rules-users] Schema Error with Drools spring xsd

2010-09-20 Thread Mark Proctor
We do not maintain publicly accessible schemas. So take the xsds from the jar and host them somewhere locally and make the schemaLocation referenec that. Mark On 20/09/2010 15:35, Evert Penninckx wrote: Hi I had a similar problem. Since the drools jars contain the xsd I tried referring to

Re: [rules-users] Drools Fusion High Availability

2010-09-21 Thread Mark Proctor
On 21/09/2010 13:02, Thomas Peuß wrote: Hello! We are thinking about using Drools Fusion 5.1 for Complex Event Processing. We have a prototype running that consumes events from a Tibco JMS server. Everything works as expected. My boss is now asking about HA features that are available. I

Re: [rules-users] drools vs jbpm

2010-09-21 Thread Mark Proctor
On 21/09/2010 18:07, woods5242-photogra...@yahoo.com wrote: Hi, We need a rules engine for our project and I am trying to determine the main differences between Drools and JBPM. Can anyone on here provide a brief explanation maybe offering why one is better than the other, chances of them

Re: [rules-users] drools vs jbpm

2010-09-21 Thread Mark Proctor
von Mark Proctor Gesendet: Dienstag, 21. September 2010 19:52 An: rules-users@lists.jboss.org Betreff: Re: [rules-users] drools vs jbpm On 21/09/2010 18:07, woods5242-photogra...@yahoo.com wrote: Hi, We need a rules engine for our project and I am trying to determine the main differences

Re: [rules-users] Ruleflow and events

2010-09-22 Thread Mark Proctor
On 22/09/2010 06:57, pieter wrote: I am using drools version 5.1.0.M1 5.1.1 is out now, please try that fitst. Thanks Pieter On Wed, 2010-09-22 at 07:38 +0200, pieter wrote: Hi, I have a foreach node with a composite node nested inside it. In the composite node I have an exception

[rules-users] DroolsjBPM Boot Camps 2011 USA and EMEA (Rules, Workflow, Event Processing and Ontologies)

2010-09-22 Thread Mark Proctor
We are looking into an end of February date to do the next week long Boot Camp, location to be decided - proposals for USA so far are Chicago, Austin and Miami. The EMEA one will be Berlin, probably overlapping with the 2011 JudCon. The last boot camp had a medical focus and was a huge

Re: [rules-users] SAML 2.0 support ?

2010-09-22 Thread Mark Proctor
On 22/09/2010 16:38, Lavabit wrote: Hi, le Mon, 20 Sep 2010 17:03:17 +0200 Lavabitlangou...@lavabit.com a écrit : I would like to know if any of you as ever succesfully tested JBoss against a certified SAML 2.0 Identity Provider ? My question seems to be a bad one as I have no answer

Re: [rules-users] Is RETE algo optimizes the performance in a stateless session.

2010-09-24 Thread Mark Proctor
On 24/09/2010 16:18, Leonardo Gomes wrote: Have a look here: http://www.drdobbs.com/184405218 here: http://blog.athico.com/2007/07/sequential-rete.html and here: http://herzberg.ca.sandia.gov/guidelines.shtml The easy answer for your question is Yes ;-) It depends :) In general a stateless

Re: [rules-users] Chained Rules

2010-09-28 Thread Mark Proctor
On 06/05/2010 08:37, miguel machado wrote: there is the 'extends' feature.. i guess that's what you're looking for. rule xyz ... end rule abc extends xyz... ... end it's been recently talked about in this forum. _ miguel and rule flow. Mark On Tue, May 4, 2010 at 10:46 AM, djb

Re: [rules-users] Challenge! Using javassist and drools presents an issue with drl

2010-09-28 Thread Mark Proctor
On 29/04/2010 09:38, Swindells, Thomas wrote: Isn't the simplest solution just to add the imports at the start of the imported drl file? That is the users don't need to worry about writing the imports but before you feed the files into your code simply prepends the required imports. You

Re: [rules-users] 5.1.1 import com.sun.tools.xjc

2010-09-30 Thread Mark Proctor
On 30/09/2010 16:19, Barry Kaplan wrote: It seems that KnowledgeBuilderFactory in api now has a dependency on these sun packages. However the pom declares them as provided. This seems to imply that drools will only be run in some kind of app-server?? I had to manually add a bunch of

[rules-users] University of Texas Austin

2010-10-04 Thread Mark Proctor
I'm looking for locations for the next USA based conference for febuary (end of febuary). http://blog.athico.com/2010/09/drools-boot-camps-2011-usa-and-emea.html I figured most people want somewhere warm and Austin is centrally located. I don't know about pricing but Austin University seems

[rules-users] Rules Fest October 2010

2010-10-11 Thread Mark Proctor
Rules Fest is in full swing, http://rulesfest.org/html/home.html. Great attendance with around 100 people and great food :) Myself, Edson and Davide are here. Davide did a great lunch time talk. Kris will be arriving on Wednesday to help with the BootCamp. It's been a lot of preparation last

Re: [rules-users] Using Drools and Spring in an OSGi environment

2010-10-20 Thread Mark Proctor
On 20/10/2010 11:26, O.S. wrote: Has nobody tried to get Drools-Spring working with OSGi? Otherwise it would be enough for me if i could configure the Kbases, KSessions and so on with the Drools-Spring-Syntax (drools-spring-1.0.0.xsd). Is there something like a DroolsConfigurationHelper ? If

Re: [rules-users] [rules-dev] Rules Fest October 2010 and BRF 2010

2010-10-20 Thread Mark Proctor
Just a reminder that I and others of the core team are on conference at the moment, so apologies for lack of responsiveness. Mark On 12/10/2010 01:08, Mark Proctor wrote: Rules Fest is in full swing, http://rulesfest.org/html/home.html. Great attendance with around 100 people and great

[rules-users] build and branches

2010-10-25 Thread Mark Proctor
We now have quite a few people working on different things and the build is breaking a lot and those breaking it are just leaving it broken. If you are doing feature development, can you please work in a branch and commit regularly there. Then sync up with trunk prior to a merge and make sure

Re: [rules-users] Integration of Drools with Hadoop

2010-10-30 Thread Mark Proctor
On 31/10/2010 05:35, Roger Smith wrote: We are working on a project to integrate Drools with Apache Hadoop, http://hadoop.apache.org/, and run into some road blocks. We would very much appreciate any suggestions/help from this list. We have an app where we call drools rule engine inside the

Re: [rules-users] Marshalling Error : JBRULES-2453

2010-11-03 Thread Mark Proctor
On 03/11/2010 15:01, drooRam wrote: bump you'll need to make a minimal self contained test that removes everything but what is necessary to show the problem, then attach it as a jira. The marshalling stuff is very cryptic and impossible to debug with a test case. Mark

Re: [rules-users] Starting resource change scanner and notifier in drools-server.

2010-11-03 Thread Mark Proctor
It won't detect changes on the classpath. Needs to be file or http. Mark On 03/11/2010 21:49, Jason Davidson wrote: Hello, Any tips on this? I'm seeing this same behavior using Drools 5.1.1: Spring Beans: !-- Drools : -- drools:resource-change-scannerid=scannerinterval=10/

Re: [rules-users] Marshalling Error : JBRULES-2453

2010-11-04 Thread Mark Proctor
On 04/11/2010 08:36, Michael Anstis wrote: If it's impossible to debug *with* a test case imagine how difficult it must be without one! hehe, yes meant without :) Mark ;-) On 4 November 2010 04:49, Mark Proctor mproc...@codehaus.org mailto:mproc...@codehaus.org wrote: On 03/11/2010

Re: [rules-users] Performance monitoring and hotspot detection in rules?

2010-11-06 Thread Mark Proctor
On 05/11/2010 20:52, H.C. wrote: I am trying to implement a performance monitor to find the most problematic rules in order to optimize performance. The main performance metrics I want to gather are: 1. How any times a rule's conditions have been evaluated 2. How long each rule's condition

Re: [rules-users] Custom UI for Drools rules

2010-11-07 Thread Mark Proctor
On 08/11/2010 06:35, Balasenthil D wrote: Hi, Is it possible to create a custom UI to create/edit drools rules( instead of Drools Guvnor). Are there APIs that let you do it? For e.g., oracle provides a java API for create/edit rules. With this you can come up with your own UI, if you are

Re: [rules-users] Performance monitoring and hotspot detection in rules?

2010-11-07 Thread Mark Proctor
On 07/11/2010 21:59, H.C. wrote: Mark, Thanks for your reply. I figured 3 and 4 were currently possible but 1 and 2 puzzled me. it interates from root to tip repeatedly, so you can't easily determine how long it spends in each node Sorry, looks like my prior statement (#2) was misleading.

Re: [rules-users] Drools Flow Editor

2010-11-10 Thread Mark Proctor
On 10/11/2010 11:58, Esteban Aliverti wrote: Last version of Guvnor supports lets you edit flows using Oryx. I would add that Guvnor was not updated to create extensions .bpmn2 files for flow, even though that is the default format now. As such creating a flow does not result in the Oryx

Re: [rules-users] Doubt regardging Drools-RETE

2010-11-10 Thread Mark Proctor
On 11/11/2010 05:28, Harshit Bapna wrote: Hello everyone, 1. If there are not many common facts i.e all rules are operating on distinct facts / data. Does this mean the algorithm will not bring in much benefit ? 2. Also if the facts are same but the LHS of a rule is quite different from

Re: [rules-users] Doubt regardging Drools-RETE

2010-11-10 Thread Mark Proctor
the benefit as it's an algorithm that will grow with your needs. Mark I hope learned people on rete and drools can help me on this.. 2010/11/11 Mark Proctor mproc...@codehaus.org mailto:mproc...@codehaus.org On 11/11/2010 05:28, Harshit Bapna wrote: Hello everyone, 1

Re: [rules-users] Removing facts from statefulknowledgeSession's memory

2010-11-11 Thread Mark Proctor
On 11/11/2010 10:46, Ayush wrote: Ok so drools will not be garbage collecting the facts (as I'm not calling dispose()) and I've to retract them manually. I was wondering cannot there be any way in which I can define expiry time for facts in the same way I declare for events i.e. @expiry Use a

Re: [rules-users] Drools Spring module

2010-11-16 Thread Mark Proctor
On 16/11/2010 14:45, ahmed fayed wrote: Hi, Are the new Spring Module support creating POJO Rules? I could't find the rule, condition, and consequence annotations classes in the new JARs in 5.1, any idea if it's still supported and in which JAR? what's a pojo rule? The spring stuff allows

[rules-users] DroolsjBPM Boot Camps 2011 USA - Sponsorship Needed

2010-11-18 Thread Mark Proctor
http://blog.athico.com/2010/11/drools-boot-camps-2011-usa-sponsorship.html I previously mentioned our next planned USA 2011 bootcamp: http://blog.athico.com/2010/09/drools-boot-camps-2011-usa-and-emea.html We are seeking sponsorship to help make this happen. These have been great events with

Re: [rules-users] == not work for big int value

2010-11-18 Thread Mark Proctor
On 19/11/2010 01:34, Zeke wrote: Can anyone help me? Thanks! On 16 November 2010 09:57, Zeke xanadu860...@gmail.com mailto:xanadu860...@gmail.com wrote: Hi, I'm using Drools 4.0.7. I find == operator does not work for big int value (like 2147483647). The condition is like

Re: [rules-users] Integrate Fusion into Guvnor

2010-11-19 Thread Mark Proctor
On 19/11/2010 16:14, John Peterson wrote: Message: 4 Date: Fri, 19 Nov 2010 07:01:36 -0700 From: John Petersonjohn.peterson.g...@statefarm.com Subject: Re: [rules-users] rules-users Digest, Vol 48, Issue 72 To:rules-users@lists.jboss.org Message-ID:

Re: [rules-users] == not work for big int value

2010-11-21 Thread Mark Proctor
On 22/11/2010 01:03, Zeke wrote: Why int need be cast to BigInteger? 2147483647 is a valid int value. In normal java program, if a is a int variable, and assign its value to 2147483647, a == 2147483647 is true. Try this on 5.1, see if it works there first. Mark Thanks! 2010/11/19 Mark

Re: [rules-users] StatefulKnowledgeSession.startProcess not thread-safe ?

2010-11-27 Thread Mark Proctor
On 26/11/2010 15:16, Esteban Aliverti wrote: Are you using the same session? Sessions are not thread-safe in drools. Sessions should be thread safe, if they aren't its a bug. Most of the methods locks while executing. Looks like bug, something is blocking and not releasing. Mark Best,

[rules-users] deprecating old core/compiler apis

2010-11-29 Thread Mark Proctor
We've attempted to keep the main core/compiler api compatabile in our codebase for our existing users, while providing the new drools-api. However this leaves a lot of messy code and we think it's time to start cleaning up. So anyone think it'll be a problem if stuff in core and compiler

Re: [rules-users] == not work for big int value

2010-12-02 Thread Mark Proctor
are ok too, or if they are bugged: sec.i == 2147483647 Mark Thanks! 2010/11/22 Mark Proctor mproc...@codehaus.org mailto:mproc...@codehaus.org On 22/11/2010 01:03, Zeke wrote: Why int need be cast to BigInteger? 2147483647 is a valid int value. In normal java program, if a is a int

Re: [rules-users] scoping spring beans

2010-12-03 Thread Mark Proctor
On 01/12/2010 16:36, Kumar, Ravendra wrote: Hello, I wonder, if some spring drools expert guy help me to set the ksession bean's bean scope like below. drools:ksession kbase=/kbase1/ type=/stateless/ id=/stateless/ *property scope=/prototype//* /drools:ksession Any help will be

Re: [rules-users] KnowledgeAgent exception while trying to deserialize KnowledgeDefinitionsPackage

2010-12-03 Thread Mark Proctor
Did you recompile the packages in Guvnor, there is a button for that. Server and client must all be on the same version, as well as compiled Packages. Mark On 03/12/2010 16:15, John Peterson wrote: I'm getting the following error when I attempt torun my Drools application. I recently

Re: [rules-users] timer and duration

2010-12-09 Thread Mark Proctor
On 09/12/2010 12:30, OlliSee wrote: Hello there. I seem to have trouble with the timer operator which is documented to have superseded the duration operator for use in the rule body. I might have something to do with the not operator I use in my rule. Scenario: A is a fact, B is an event

Re: [rules-users] Understanding indexing

2010-12-09 Thread Mark Proctor
On 09/12/2010 14:15, Chris Selwyn wrote: I would like to understand more about how my rules are being executed. Is there a way that I can find out what indexes are being are being created. I can see the drools.indexLeftBetaMemory (and friends) properties but I would like to be able to observe

Re: [rules-users] Memory Consumption with 5000 Rules

2010-12-09 Thread Mark Proctor
Each 'or' will generate a rule, so that's more like 50K rules. Mark On 09/12/2010 22:08, thomas.pol...@gmail.com wrote: Dear all, My setup includes about 5000 rules with the following pattern: rule 1 when ( $c_0 : CFRO( fi.co == 1, su.co == P, c.co == C) or $c_0 : CFRO( fi.co == 2, su.co ==

Re: [rules-users] timer and duration

2010-12-09 Thread Mark Proctor
On 09/12/2010 14:50, Wolfgang Laun wrote: I can confirm that the timer rule continues to fire - if the condition contains a not CE - even after the not CE should return false Repeating timer firing stops for positive CEs turning to false. sounds like a bug :( Wolfgang, could you commit your

Re: [rules-users] timer and duration

2010-12-10 Thread Mark Proctor
On 10/12/2010 08:44, Wolfgang Laun wrote: Done. There are two FIXME-tests at the end, one for timer() + not; the other one demonstrating that drools.halt() from a rule with a timer() doesn't terminate the session - it also keeps firing. Notice that even with no timer() on the halt rule but

Re: [rules-users] Rule project referencing

2010-12-13 Thread Mark Proctor
You can just keep adding resources to your knowledge base as you like, it's cummulative. You can define sets of rules with changeset. Mark On 14/12/2010 01:53, gpa...@tsys.com wrote: Hello I am looking for a comparable feature in drools that works similar to rule project inheritance in ILOG

Re: [rules-users] timer and duration

2010-12-13 Thread Mark Proctor
On 10/12/2010 23:00, Mark Proctor wrote: On 10/12/2010 08:44, Wolfgang Laun wrote: Done. There are two FIXME-tests at the end, one for timer() + not; the other one demonstrating that drools.halt() from a rule with a timer() doesn't terminate the session - it also keeps firing. Notice

Re: [rules-users] Questions regarding Guvnor

2010-12-14 Thread Mark Proctor
On 14/12/2010 12:00, Harshit Bapna wrote: Hello All, Few questions: 1. What is the release date of Guvnor 5.2 ? (Couldn't find it from the site of the documentation) I am interested in the functionality to add the guvnor editors in another app for rule editing. i.e. StandaloneEditorServlet

Re: [rules-users] rulebase configuration Options

2010-12-17 Thread Mark Proctor
On 17/12/2010 10:53, Kumar, Ravendra wrote: Hi Guys, I am trying to find out more information about rulebase configuration options written in drools.default.rulebase.conf Do any of you guys know any blog or material written on these options, If someone has written any blog on these

Re: [rules-users] Upload an existing .drl for the Guvnor dynamically

2010-12-17 Thread Mark Proctor
On 17/12/2010 14:08, dhermanns wrote: Hi! I would like to accomplish the same thing. Is there really no programmatic way to do this? I noticed that the files are uploaded through the eclipse-plugin using webdav. Is it documented what has to be done in order to install/update a drl using

Re: [rules-users] Drools 4.0, Support for multiple pattern in accumulate source pattern

2010-12-20 Thread Mark Proctor
On 20/12/2010 08:58, AleBu wrote: Hi, I found that accumulate only supports Single pattern as source. I found this thread and I can see here that it was planned to implement, but at least my attempt to apply more then one pattern is not working. I got an error: mismatched input ',' expecting

Re: [rules-users] Drools 4.0, Support for multiple pattern in accumulate source pattern

2010-12-20 Thread Mark Proctor
Didn't you say you were on Drools 4? if so you can't use multiple patterns. Mark On 20/12/2010 10:35, AleBu wrote: Hi Mark, Can you tell me what is wrong then with a rule below (WHEN part provided): when $order: Order( $orderId: id, $userId: userId, $orderParts:

Re: [rules-users] drools from database

2010-12-23 Thread Mark Proctor
On 23/12/2010 05:49, wasim.khan318 wrote: sir please give me any example or link so that i can implement it I've read the thread on this, i think you need to grasp the basics to drools first and then come back with more specific questions. Try going over all the examples. Then you can either

Re: [rules-users] Drools-Spring Config for Knowledge Agent

2010-12-28 Thread Mark Proctor
On 28/12/2010 12:40, krkaleraj wrote: Turner, Unfortunately if you post anything which is hard truth that will not be published here. Advantage of moderation hehehe There is no moderation for this list, hard truths are visible to all. Feel free to apologise anytime. Mark

Re: [rules-users] Drools-Spring Config for Knowledge Agent

2010-12-28 Thread Mark Proctor
so much spam the moderation list is just ignored, as it's not practical to sift through the emails to figure out what is and what isn't spam. Mark On Wed, Dec 29, 2010 at 11:09 AM, Mark Proctor mproc...@codehaus.org mailto:mproc...@codehaus.org wrote: On 28/12/2010 12:40

Re: [rules-users] Drools-Spring Config for Knowledge Agent

2010-12-29 Thread Mark Proctor
On 29/12/2010 15:40, Greg Barton wrote: Also, sometimes emails I send to the list are delayed as much as 12 hours. Maybe it's because I post from a yahoo account and the spam filter pushes back. Could be that as well. GreG On Dec 29, 2010, at 0:18, Mark Proctor mproc...@codehaus.org

Re: [rules-users] QA features in BRMS

2010-12-30 Thread Mark Proctor
On 30/12/2010 08:53, Benson Fung wrote: Hi, Can anyone know whether QA features can provide the rule conflict checks? http://community.jboss.org/wiki/DroolsVerifier Mark Thanks ___ rules-users mailing list rules-users@lists.jboss.org

Re: [rules-users] Drools 5.x OSGI in Equinox

2010-12-30 Thread Mark Proctor
On 30/12/2010 17:55, Gregory Mace wrote: Hi, I've tried to build plugin from OSGI bundles ( downloaded from here: http://www.jboss.org/drools/downloads.html) and use code from SimpleOsgiTest.java, but my bundle context always returns null for the serviceReference. Is there a good

Re: [rules-users] QA features in BRMS

2010-12-30 Thread Mark Proctor
On 30/12/2010 17:12, Benson Fung wrote: Hi Mark, Do you have example how to use the DroolsVerifier? It is used at rule level or at java level? 2010/12/31 Mark Proctor mproc...@codehaus.org mailto:mproc...@codehaus.org On 30/12/2010 08:53, Benson Fung wrote: Hi, Can anyone

Re: [rules-users] QA features in BRMS

2010-12-30 Thread Mark Proctor
On 30/12/2010 18:36, Mark Proctor wrote: On 30/12/2010 17:12, Benson Fung wrote: Hi Mark, Do you have example how to use the DroolsVerifier? It is used at rule level or at java level? 2010/12/31 Mark Proctor mproc...@codehaus.org mailto:mproc...@codehaus.org On 30/12/2010 08:53

Re: [rules-users] Drools in production use vs. JBoss BRMS commercially supported version?

2011-01-03 Thread Mark Proctor
On 04/01/2011 01:41, dc tech wrote: I wonder if any, or perhaps many, of you are using Drools community version in production systems? Or are you using the jBoss BRMS - the commercially supported version? If you are using the community version, what is your sense of stability of the

Re: [rules-users] Compiling rules using maven?

2011-01-08 Thread Mark Proctor
On 09/01/2011 01:09, ge0ffrey wrote: Nothing up to date AFAIK. I assigned the jira to me a while back. If you write it and make a pull request on github I ll sponsor it and see if I can merge it into master. There was some work done on a maven plugin, similar to the ant one. At one point there

[rules-users] Mythic Game Project Addition Artificial Intelligence and Quest System Components

2011-01-10 Thread Mark Proctor
http://blog.athico.com/2011/01/mythic-game-project-addition-artificial.html In this project, we describe the design decisions and principles behind the arti cial intelligence (AI) for a multiplayer online role playing game, and our use of an expert system to implement it. We explain how we

[rules-users] Drools Content Based Routing with Camel (John Ellis)

2011-01-11 Thread Mark Proctor
http://blog.athico.com/2011/01/drools-content-based-routing-with-camel.html Drools Content Based Routing with Camel (John Ellis) http://blog.athico.com/2011/01/drools-content-based-routing-with-camel.html John Ellis has done a nice writeup of his work on improving Drools to

Re: [rules-users] Performance issue: why are rules outside of ruleflow-group evaluated?

2011-01-11 Thread Mark Proctor
On 10/01/2011 16:43, H.C. wrote: Hey, We are dealing with performance issues at the moment are trying to find ways to improve the performance of our conditional statements. We see that when an update happens, drools will evaluate conditional statements of rules outside of the ruleflow-group

[rules-users] Real World Examples Wanted!!!!!!

2011-01-12 Thread Mark Proctor
We often get complaints about not enough real world examples in Drools. We have a large community now, so surely a few of you must be able to write up examples based on your work? So please, please, please, please take the time to help us here. Thanks Mark

<    5   6   7   8   9   10   11   12   13   14   >