Re: [rules-users] Drools Fusion 6.0.0.CR3

2013-09-11 Thread Mark Proctor
than one can be used. Where as at the moment, to emulate 5.x drl, it is hard coded as the final network node. Mark On 11 Sep 2013, at 21:27, Mark Proctor mproc...@codehaus.org wrote: Unless you are using fireUntilHalt there is now no longer any async reactivity. As discussed before, we have

Re: [rules-users] Drools Concurrent Execution causes Blocked Threads

2013-09-02 Thread Mark Proctor
SatefulKnowledgeSesssion is thread safe - it just uses a big lock on the session, so only one thread can interact with it at any one time. We will need to see your problem to be able to assist. The sample rules, and how you are bootstrapping and using these 10 threads. As per previous request,

Re: [rules-users] Drools Concurrent Execution causes Blocked Threads

2013-09-01 Thread Mark Proctor
This is happening in a MVELPredicate, i.e. an eval. The ASM based JIT we do is not used for predicates (I think, @mario will confirm), so it will use stock MVEL. MVEL is defaulted to work in reflection mode, hence the reflection optimizer. It has an ASM optimiser, but there were issues with

Re: [rules-users] How Answers to community question Appear on more than one site

2013-08-27 Thread Mark Proctor
Nabble is simply a 3rd party service, that provides web access to mailing lists, such as this one. I don't know about Marshut. A quick glance looks like they are trying to build a simlar service as nabble, but combined with features found at stack exchange. These are all 3rd party services.

[rules-users] Dublin : JBoss BRMS (Drools) event Wed 28th August

2013-08-14 Thread Mark Proctor
http://blog.athico.com/2013/08/dublin-jboss-brms-drools-event-wed-28th.html --- Dublin : JBoss BRMS (Drools) event Wed 28th August Posted by Mark Proctor Making an updated post. Thanks to Sabeo and IrishDev I'll be doing two presentations now, one in the morning, and one in the evening. Both

Re: [rules-users] KIE-WB, Drools-WB Authoring REST api

2013-08-13 Thread Mark Proctor
:42 schrieb Mark Proctor mproc...@codehaus.org: On 12 Aug 2013, at 18:28, Alexander Herwix a...@herwix.com wrote: Hey guys, I really love the new wb-apps, but documentation is really pretty sparse right now, so maybe you guys can help me out :) Is there any documentation

Re: [rules-users] KIE-WB, Drools-WB Authoring REST api

2013-08-12 Thread Mark Proctor
On 12 Aug 2013, at 18:28, Alexander Herwix a...@herwix.com wrote: Hey guys, I really love the new wb-apps, but documentation is really pretty sparse right now, so maybe you guys can help me out :) Is there any documentation on the authoring REST-Api? I have already asked on the jbpm

[rules-users] Dublin : JBoss BRMS event Wed 28th Aug

2013-08-07 Thread Mark Proctor
I'll be giving a JBoss BRMS 6.0 talk in Dublin this month, it's free, so please help spread the word ;) http://marketing.interactiveideas.com/acton/fs/blocks/showLandingPage/a/824/p/p-0169/t/page/fm/0 --- JBoss® BRMS Technical Workshop In this FREE Technical Workshop on Wednesday 28th August at

Re: [rules-users] Dublin : JBoss BRMS event Wed 28th Aug

2013-08-07 Thread Mark Proctor
updated url: http://tinyurl.com/mfralbu Mark On 7 Aug 2013, at 15:39, Mark Proctor mproc...@codehaus.org wrote: I'll be giving a JBoss BRMS 6.0 talk in Dublin this month, it's free, so please help spread the word ;) http://marketing.interactiveideas.com/acton/fs/blocks/showLandingPage/a/824

Re: [rules-users] Timer and AgendaFilter

2013-08-07 Thread Mark Proctor
The agendaFilter is passed to the fireAllRules method, and applied in the outer loop of that: if ( filter == null || filter.accept( item ) ) { // fire it fireActivation( item); localFireCount++; } The timer is called async, so it has no agendaFilter in scope, and it calls

Re: [rules-users] java.lang.ClassCastException: org.drools.reteoo.BetaMemory cannot be cast to org.drools.reteoo.AlphaNode$AlphaMemory

2013-08-07 Thread Mark Proctor
AlphaNode is for literal constraints, BetaNodes for joins (i.e. involves variables). Mark On 7 Aug 2013, at 19:47, AlesD ales.dole...@nextiraone.eu wrote: I understand that, but as far as I can say, it is not in the rules or facts. I have restarted our solution, used same rules and fed them

Re: [rules-users] What's new in Drools 6.0

2013-08-05 Thread Mark Proctor
People had problems with the uploaded slide before, which was an html export from keynote. I've since exported to PDF and uploaded to slideshare. http://blog.athico.com/2013/08/whats-new-in-drools-60-london-jbug-2013.html Mark On 30 Jul 2013, at 21:42, Mark Proctor mproc...@codehaus.org wrote

Re: [rules-users] Creati custom Ui for Drools

2013-08-05 Thread Mark Proctor
The 6.x codebase has rewritten the web UI from scratch, with end user extensibility in mind. Each editor is separate maven module, with defined life cycles and hooks. You can simply copy one of those editors as a starting point, and recompile for your custom 6.x web UI. 6.x has lot of other

Re: [rules-users] RightTupleIndexHashTable

2013-08-05 Thread Mark Proctor
On 05/11/2013 02:14 PM, Ming Fang wrote: We did not explicitly enable multithread mode, unless it's on by default. Also we're only using Drools in a single thread. Sent from my iPad On May 11, 2013, at 1:05 PM, Mark Proctor mproc...@codehaus.org wrote: It's used for indexing in joins

[rules-users] What's new in Drools 6.0

2013-07-30 Thread Mark Proctor
The Drools 6.0 talk I did in london is now online: https://www.youtube.com/watch?v=_fyxXDyNRRU Slides I've put online before, but can be found here: http://blog.athico.com/2013/05/whats-coming-in-drools-60-slides.html ___ rules-users mailing list

Re: [rules-users] Manage dynamically rules in KnowledgeBase

2013-07-24 Thread Mark Proctor
https://github.com/droolsjbpm/drools/blob/master/drools-compiler/src/test/java/org/drools/compiler/integrationtests/DynamicRulesTest.java On 23 Jul 2013, at 17:26, tiahdomoina rabarijaonadomo...@gmail.com wrote: Hello :) How can I manage dynamically rules in KnowledgeBase ? I mean remove,

Re: [rules-users] Manage dynamically rules in KnowledgeBase

2013-07-24 Thread Mark Proctor
On 24 Jul 2013, at 11:04, tiahdomoina rabarijaonadomo...@gmail.com wrote: Thanks for the link, it definitely helped me I was wondering about 2 things : 1- With the knowledgeBuilder, you can check if there is an error with the method getErrors(). So you can remove immediately the

Re: [rules-users] How to set drools.dialect.mvel.strict = false?

2013-07-24 Thread Mark Proctor
It shouldn't do, and could be a bug. Can you try 5.6.0.SNAPSOT and see if it is still a problem. Mark On 24 Jul 2013, at 18:22, Jeet Singh jeet...@gmail.com wrote: Alright, I kinda found out the cause of the exception I am getting, however I am still struggling the reason behind the

Re: [rules-users] java.lang.ClassCastException: [Lorg.drools.rule.Package; cannot be cast to org.drools.rule.Package

2013-07-22 Thread Mark Proctor
Your's is a different issue. You either have an incorrect class path, with mixed versions. Or your client and your server are using different versions. Or you didn't tell Guvnor to recompile all it's packages, when you changed jar versions. Also your try/catch would result in no actual

Re: [rules-users] Importing functionS from another drl in 5.5.0

2013-07-19 Thread Mark Proctor
Unfortunately not, and in 6.0 that won't be possible as there is stricter class loader isolation between drl namespace files (limitation of a dynamic system on the JVM). However functions are just static java methods, and those work fine too, when defined on a class in the parent class loader.

Re: [rules-users] Importing functionS from another drl in 5.5.0

2013-07-19 Thread Mark Proctor
:46, Sonata plz.write...@gmail.com wrote: Mark Proctor wrote Unfortunately not, and in 6.0 that won't be possible as there is stricter class loader isolation between drl namespace files (limitation of a dynamic system on the JVM). However functions are just static java methods, and those work

Re: [rules-users] Problems with the Mrs Manners Benchmark

2013-07-17 Thread Mark Proctor
manners is a pretty terrible benchmark, and should probably not be used. Most vendors cheat it, and it doesn't really tell you much. Also to work it expects an OPS5 execution order, which we've attempted to emulate in the past, we may not in the future - which is probably why you have the

[rules-users] Drools in Hawaii

2013-07-17 Thread Mark Proctor
I'm going to be in Hawaii for 3 weeks in september, visiting honolulu, kauaui and maui. Is there a Drools community on any of those islands, I could be tempted to attend a user group and do a Drools 6 talk :) Mark ___ rules-users mailing list

Re: [rules-users] Simpler API to access the Rule object in RHS?

2013-07-16 Thread Mark Proctor
If you look at the implementation for the interface, you'll see it can be cast. org.drools.rule.Rule is considered internal, so you can cast - but beware, it may change later. Mark On 16 Jul 2013, at 08:46, Sonata plz.write...@gmail.com wrote: Hi, right now I am using this

Re: [rules-users] Spam

2013-07-09 Thread Mark Proctor
we have little control over nabble, sorry. People already use stack exchange, so it's a viable place to ask questions. It just has a smaller outreach size. Mark On 9 Jul 2013, at 10:20, rjr201 rich.j.ri...@gmail.com wrote: I agree that a question and answer style approach would definitely be

Re: [rules-users] JBoss Drools evaluation

2013-07-08 Thread Mark Proctor
On 8 Jul 2013, at 08:03, Wolfgang Laun wolfgang.l...@gmail.com wrote: It's Rete, not Reto. Being Rete-based is reportedly disappearing with 6.x. I'm not sure what sort of criterion the graphical representation of rules should represent. There is a way for displaying the Rete network

Re: [rules-users] JBoss Drools evaluation

2013-07-08 Thread Mark Proctor
On 8 Jul 2013, at 13:38, Wolfgang Laun wolfgang.l...@gmail.com wrote: On 08/07/2013, Mark Proctor mproc...@codehaus.org wrote: On 8 Jul 2013, at 08:03, Wolfgang Laun wolfgang.l...@gmail.com wrote: Some backward chaining functionality is indeed available, although it cannot be compared

Re: [rules-users] Is it possible to update KnowledgeBase inside a rule?

2013-06-28 Thread Mark Proctor
we have a multi-thread test for this use case, so you can see what we are doing: http://grepcode.com/file/repo1.maven.org/maven2/org.drools/drools-compiler/6.0.0.Alpha6/org/drools/integrationtests/DynamicRulesChangesTest.java Mark On 27 Jun 2013, at 05:02, Sonata plz.write...@gmail.com wrote:

[rules-users] JudCon, Summit and Misc Presentation Slides (2013)

2013-06-28 Thread Mark Proctor
http://blog.athico.com/2013/06/judcon-summit-and-misc-presentation.html --- I've done a number of presentations recently. I've finally got around to uploading them to SlideShare, with videos in some cases. Here are the links Drools talks Drools 6.0 (Red Hat Summit 2013) Drools 6.0 (Judcon 2013)

Re: [rules-users] What is -?

2013-06-27 Thread Mark Proctor
That should have been removed, it was an old drools 3 feature. @mario: can you make sure that's removed from the eclipse content assist. Mark On 27 Jun 2013, at 04:46, Sonata plz.write...@gmail.com wrote: I dont have an example. I just see it when I get the content assist in Eclipse

Re: [rules-users] What is -?

2013-06-27 Thread Mark Proctor
without having to use special delineator notation. Mark On 27 Jun 2013, at 10:54, Sonata plz.write...@gmail.com wrote: Mark Proctor wrote That should have been removed, it was an old drools 3 feature. @mario: can you make sure that's removed from the eclipse content assist. Mark Thanks Mark

Re: [rules-users] openLiveQuery not implemented

2013-06-25 Thread Mark Proctor
that has not changed, I think it's probably hard to do via the JPA command approach. Shouldn't be too hard for someone to do. Send your pull requests in :) don't forget the unit tests, we won't accept a pull request that is without tests. Mark On 25 Jun 2013, at 15:23, Andynator

Re: [rules-users] openLiveQuery not implemented

2013-06-25 Thread Mark Proctor
would be appreciated. Mark On 25 Jun 2013, at 15:36, Wolfgang Laun wolfgang.l...@gmail.com wrote: ...it's probably hard to do... vs. Shouldn't be too hard ... to do Make up your mind? -W On 25/06/2013, Mark Proctor mproc...@codehaus.org wrote: that has not changed, I think it's probably

Re: [rules-users] External storage and timers

2013-06-24 Thread Mark Proctor
the 6.0 stuff is not really ready for production use, many aspects do not work yet - such as serialisation of rules. Mark On 24 Jun 2013, at 11:01, didierC didier.chevr...@gmail.com wrote: Hi, We want to use the external storage API for our Fusion project (Drools 6.0 - beta2). We have

Re: [rules-users] drools 6 and osgi

2013-06-21 Thread Mark Proctor
20.06.13 17:28, schrieb Mark Proctor: There are bugs with loadClass and serialisation :( http://lists.jboss.org/pipermail/rules-dev/2011-November/003681.html http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6500212 Thus, we highly recommend replacement of this code

Re: [rules-users] No eval with backward chaining?

2013-06-21 Thread Mark Proctor
Can you submit a pull request against master, 6.x, with the test. Put it in BackwardChainingTest. We'll back port the test and fix to 5.x. thanks Mark On 21 Jun 2013, at 16:00, Wolfgang Laun wolfgang.l...@gmail.com wrote: Trying to use eval in a query for backward chaining causes a runtime

Re: [rules-users] drools 6 and osgi

2013-06-21 Thread Mark Proctor
() for issues that exclude array-types by classloader.loadClass(). WDYT? Best Florian Am 20.06.13 17:28, schrieb Mark Proctor: There are bugs with loadClass and serialisation :( http://lists.jboss.org/pipermail/rules-dev/2011-November/003681.html http://bugs.sun.com/bugdatabase

Re: [rules-users] sharing functions across namespaces

2013-06-21 Thread Mark Proctor
In 6.0 we will not allow function re-use across namespaces. It wasn't supported in the syntax anyway, but people found ways around that, via the class generation conventions we used. In 5.0 we used a composite class loader, which made this possible. But it also has poor performance, and creates

Re: [rules-users] Timers and fireAllRules

2013-06-20 Thread Mark Proctor
We'll update the documentation, that was probably the behaviour in an older version. The behaviour should not have rules async firing, unless there is proper async controls, as with fireUntilHalt, otherwise the firings must be constrained within fireAllRules. Mark On 20 Jun 2013, at 12:04,

Re: [rules-users] drools 6 and osgi

2013-06-20 Thread Mark Proctor
There are bugs with loadClass and serialisation :( http://lists.jboss.org/pipermail/rules-dev/2011-November/003681.html http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6500212 Thus, we highly recommend replacement of this code: myClassLoader.loadClass(className); With this code:

Re: [rules-users] Cron Rule doesn't work

2013-06-19 Thread Mark Proctor
try fireUntilHalt, or it won't be able to fire the events as they happen. Mark On 20 Jun 2013, at 02:04, Andy reliable.andr...@gmail.com wrote: *Issue 1* Steps: 1. Add a Rule with cron + when condition always true. 2. FireAllRules Expected: Cron to fire every 15 seconds Rule:

Re: [rules-users] Cron Rule doesn't work

2013-06-19 Thread Mark Proctor
with fireUntilHalt. -W On 20/06/2013, Mark Proctor mproc...@codehaus.org wrote: try fireUntilHalt, or it won't be able to fire the events as they happen. Mark On 20 Jun 2013, at 02:04, Andy reliable.andr...@gmail.com wrote: *Issue 1* Steps: 1. Add a Rule with cron + when condition always

Re: [rules-users] Problem with Banking Tutorial

2013-06-18 Thread Mark Proctor
Is it better to use an older version? best regards Stefan 2013/4/18 Mark Proctor mproc...@codehaus.org There are a lot of fixes in the 5.x master. Anyone verified their bugs against this? I suspect this is fixed in that. Mark On 18 Apr 2013, at 16:21, Wolfgang

Re: [rules-users] Problem with eclipse and drools 6.0.0 beta 3

2013-06-18 Thread Mark Proctor
things are still raw in the beta's, and we've not checked the eclipse tooling. It's really only for developers, not end users. Best to stick with 5.5 Mark On 18 Jun 2013, at 16:46, harald.loes...@bluemail.ch wrote: Hi, today I started using drools using eclipse Kepler version where I added

Re: [rules-users] grammar of rules language

2013-06-10 Thread Mark Proctor
we use a custom parser, based on an antlr lexer. On 10 Jun 2013, at 22:24, Florian.Pirchner florian.pirch...@gmail.com wrote: hi, i am looking for the grammar of rules to get some insights of all the semantic elements available. i found parts of it at github. can anyone point me to a

Re: [rules-users] Decision tree, Is this scenario possible in Drools 5.x, need to fire a new question based on the answer of previous

2013-06-07 Thread Mark Proctor
We don't support decision tree's. But many simple decision trees, like the one you have linked, can be translated to decision tables. Mark On 7 Jun 2013, at 06:33, atif007 atif.ta...@tcs.com wrote: http://drools.46999.n3.nabble.com/file/n4024193/SingleQuestionTrigger_Sample.jpg --

Re: [rules-users] Decision tree, Is this scenario possible in Drools 5.x, need to fire a new question based on the answer of previous

2013-06-07 Thread Mark Proctor
You could also just model this with jBPM. Mark On 7 Jun 2013, at 10:43, rjr201 rich.j.ri...@gmail.com wrote: I don't think it'd be too hard to model a decision tree in a .drl file. You'd need a rule for each node/transition in your graph. Something like: WHEN $cn : CurrentNode(

Re: [rules-users] Multi-dimentional planning in C#

2013-06-06 Thread Mark Proctor
On 6 Jun 2013, at 17:17, Wierdbeard65 wierdbear...@gmail.com wrote: Hi, I came across the OptaPlanner site / product as part of researching solutions to a project I am working on for my employer. In essance, it's a timetabling system, however all of the solutions I have found so far

[rules-users] Walkin Clinic for Drools jBPM @ Red Hat Summit

2013-06-05 Thread Mark Proctor
http://blog.athico.com/2013/06/walkin-clinic-for-drools-jbpm-red-hat.htmlRed Hat Summit, BostonJune 11th to 14thWe have a dedicated room for community members to come and chat and hang out with core Drools jBPM developers. The room should be open to all, not just those with summit passes,

Re: [rules-users] Translate Drools to CLIPS rules

2013-05-31 Thread Mark Proctor
On 31 May 2013, at 07:43, Wolfgang Laun wolfgang.l...@gmail.com wrote: On 31/05/2013, Mark Proctor mproc...@codehaus.org wrote: On 30 May 2013, at 23:36, Stadin, Benjamin benjamin.sta...@heidelberg-mobil.com wrote: I'd be willing to get involved, but since you mention clp to drl only

Re: [rules-users] Unable to resolve knowledgebase from classpath in JBoss 7 (VFS)

2013-05-31 Thread Mark Proctor
There was some work done in trunk, to fix VFS, we added pluggable discovery. It defaults to File, but if the vfs jar is on the claspath it uses that. We setup a container test

Re: [rules-users] Guvnor 6.0 User Security

2013-05-30 Thread Mark Proctor
On 30 May 2013, at 21:26, Michael Anstis michael.ans...@gmail.com wrote: At the moment 6.0 authenticates users from a properties file (drools-wb) or with JACC (kie-drools-wb and kie-wb). Uberfire, the underlying workbench library, supports a finer grained permissions model however we are

Re: [rules-users] Translate Drools to CLIPS rules

2013-05-30 Thread Mark Proctor
drools-clips was both a parser and a shell. The parser basically converted clp fr drl, to then be executed in a shell. There was however no interested in the project at all, so we discontinued it. The parser and converter might be salvageable, if the project is rescoped simply at a clp to drl

Re: [rules-users] Translate Drools to CLIPS rules

2013-05-30 Thread Mark Proctor
and CLP? Mark Ben Von: Mark Proctor mproc...@codehaus.org Antworten an: Rules Users List rules-users@lists.jboss.org Datum: Freitag, 31. Mai 2013 00:16 An: Rules Users List rules-users@lists.jboss.org Betreff: Re: [rules-users] Translate Drools to CLIPS rules drools-clips was both a parser

Re: [rules-users] migrating from 5.5.x to 6.0.0

2013-05-28 Thread Mark Proctor
support it.. I started down the road of unpicking the FactoryBeans's (on v6) but backed out when I found they didn't match just a thought Ramon Ramon Buckland ra...@thebuckland.com On 28 May 2013, at 16:49, Mark Proctor mproc...@codehaus.org wrote: The spring stuff hasn't been

[rules-users] What's Coming in Drools 6.0 Slides

2013-05-28 Thread Mark Proctor
http://blog.athico.com/2013/05/whats-coming-in-drools-60-slides.html --- Recently I gave a talk at the London JBUG, on what's coming in Drools 6.0. Those slides are now available online. HTML export from Keynote (apparently some firefox issues, but fine in Safari and Chrome):

Re: [rules-users] Shadow fax

2013-05-27 Thread Mark Proctor
it already works that way, eval cond2 will only be evaluated after cond1. Mark On 27 May 2013, at 08:55, ronan.quintin ronan.quin...@gmail.com wrote: Is there a way to force a rule evaluation from left to right? For example if i have : eval(cond1) | eval(cond2) I wan't that cond2 is evaluate

[rules-users] What's new in Drools 6.0

2013-05-27 Thread Mark Proctor
Here are some slides from the other night, I can't put them up on slideshare, as it has some video's in it. The URL is temporary, until i find a permanent location for them. https://www.dropbox.com/sh/4hxfxb2ho44f0el/10ASoNbCB9 Mark ___ rules-users

[rules-users] G+ HashTags

2013-05-27 Thread Mark Proctor
G+ now supports hashtags. https://marketingland.com/up-close-with-the-new-google-related-hashtags-44035 This means anyone can write a small Drools or jBPM article, and get association via the use of a hashtag. So if you write anything about Drools, jBPM, OptaPlanner, Uberfire etc, please do

[rules-users] New Guvnor and Drools 6.0 Workbench video

2013-05-24 Thread Mark Proctor
I made this last night, it's just a quick thing, but gives an idea of the flexibility we have in the new Workbench. https://www.youtube.com/watch?v=ckAznbOOV-4 Mark ___ rules-users mailing list rules-users@lists.jboss.org

[rules-users] Backward Chaining Tutorial

2013-05-24 Thread Mark Proctor
made this video, hope it helps in understanding backward chaining. https://www.youtube.com/watch?v=fCjIRVSRFvA Mark ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Shadow fax

2013-05-24 Thread Mark Proctor
On 24 May 2013, at 08:51, ronan.quintin ronan.quin...@gmail.com wrote: Hello, First of all i have to appologise for this horrible joke, but i think you understand that i'm interrested in shadow facts. I read that theses lazy facts proxy were introduced in Drools 4 in order to make the

Re: [rules-users] Shadow fax

2013-05-24 Thread Mark Proctor
On 24 May 2013, at 09:50, ronan.quintin ronan.quin...@gmail.com wrote: Ok i understand that the need to have proxies no longer exits due to new asymetric rete algorithm. I but i'm a little bit desapointed. It seem that when a fact is introduced into the working memory, all it's fields are

Re: [rules-users] Shadow fax

2013-05-24 Thread Mark Proctor
On 24 May 2013, at 15:35, ronan.quintin ronan.quin...@gmail.com wrote: Ok, thank you for this explaination. I know that the salience can build a priority between rules into a single excel file. But it there a priority criteria between column? For exemple from left column to right. no

Re: [rules-users] Jboss Business Rules Management System (BRMS)

2013-05-17 Thread Mark Proctor
If you are referring to the BRMS product, that comes with paid support, then please ask this question in the customer support forum. Your question will be tracked under SLA, ensuring you get an answer. Mark On 17 May 2013, at 13:05, abhinay_agarwal abhinay_agar...@infosys.com wrote: The

Re: [rules-users] Using Java Rule Engine JSR-94

2013-05-16 Thread Mark Proctor
On 16 May 2013, at 14:20, abhinay_agarwal abhinay_agar...@infosys.com wrote: you mean to say, if i switch the api, I ll have to rewrite all my DRL files/ the rules i have in guvnor ? Nothing you author in DRL or Guvnor will be usable in another vendors product - making using JSR94 kinda

Re: [rules-users] Drools 6.0.0.Beta2 Documentation and Examples

2013-05-15 Thread Mark Proctor
Up to date examples can be found here: https://github.com/droolsjbpm/drools/tree/master/drools-examples-api https://github.com/droolsjbpm/drools/tree/master/drools-examples-cdi Mark On 15 May 2013, at 17:48, 445511 cont...@silvernine.com wrote: I'm trying to use Drools 6.0.0.Beta2 but none of

Re: [rules-users] Problem migrating from newClassPathResource to newUrlResource

2013-05-14 Thread Mark Proctor
you set the wrong ResourceType: urlResource.setResourceType(ResourceType.PKG); Try CHANGE_SET, as you are loading a change set xml. urlResource.setResourceType(ResourceType.CHANGE_SET); Mark On 14 May 2013, at 12:34, abhinay_agarwal abhinay_agar...@infosys.com wrote: M still stuck at this.

Re: [rules-users] Room to optimize or bug? Unnecessary calls to unused method

2013-05-12 Thread Mark Proctor
The code examples of what you are proposing did not make it to the list. Mark On 12 May 2013, at 12:29, Sonata plz.write...@gmail.com wrote: Hi, I am using 5.5.0.final on jdk7(64bit). To repeat the test, simply create a new Drools project in Eclipse. Tick the option to create a default Hello

Re: [rules-users] Agenda-group in fact insert time

2013-05-11 Thread Mark Proctor
On 9 May 2013, at 14:47, Sonata plz.write...@gmail.com wrote: Hi, I just noticed that even I have different agenda-groups, all groups are evaluated during fact inset time. In an extreme case, if I have 1000 rules in agenda-group A, and 1 rule in agenda-group B even though I just want to

Re: [rules-users] Agenda-group in fact insert time

2013-05-11 Thread Mark Proctor
On 11 May 2013, at 16:23, Sonata plz.write...@gmail.com wrote: After a few testing, it seems that this rule extends rule feature is not exactly what I want. Say rule B extends A rule A will be evaluated. This is OK. when it comes to rule B, first, conditions in rule A will be

Re: [rules-users] RightTupleIndexHashTable

2013-05-11 Thread Mark Proctor
It's used for indexing in joins. It looks like you are using the experimental multi-threading mode, I'd recommend you disable that, and try the latest 5.6.0.SNAPSHOT builds if you have problems. Mark On 11 May 2013, at 17:01, Ming Fang mingf...@mac.com wrote: What is the purpose of

[rules-users] London JBUG May Event - What's new in Drools 6.0 (22nd May 2013)

2013-05-07 Thread Mark Proctor
London JBUG May Event - What's new in Drools 6.0 (22nd May 2013) http://www.c2b2.co.uk/london_jbug_may_2013 Mark ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] drools key word

2013-05-03 Thread Mark Proctor
It was deprecated to kcontext some releases ago. The interface name is RuleContext. http://docs.jboss.org/jbpm/v5.2/javadocs/org/drools/runtime/rule/RuleContext.html Mark On 3 May 2013, at 10:14, rjr201 rich.j.ri...@gmail.com wrote: I was looking for a way to get a rule's name within the

[rules-users] GSOC project - Realtime Collaborative Editor for Drools Decision Tables using Errai OT/EC

2013-05-03 Thread Mark Proctor
Errai has recently added OTEC support, which is a web based system for collaborative editing. I thought this would be really interesting project, working on cutting edge web technologies for anyone doing a GSOC submission. Or actually anyone looking for an engaging task :)

Re: [rules-users] Decision table -1 java file per rule - optimization

2013-05-01 Thread Mark Proctor
There is not. Why not just increase perm gen? Mark On 2 May 2013, at 05:28, jalex jaa...@gmail.com wrote: Hi, I noticed that each row in the decision table speadsheet is converted to a separate java file during runtime (ex: Rule_Pricing_bracket_352_941a618e0e72407d89d04664d5809e7f.java) .

Re: [rules-users] Maintain assets synchronized between members of a team

2013-04-25 Thread Mark Proctor
On 25 Apr 2013, at 16:35, ciberg2 joaoguerr...@gmail.com wrote: Hi, My Drools project is going well and now it's time for some people starting creating and deploying new Excel decision tables onto the repository. For that we are using the Eclipse plugin, I've created a general project

Re: [rules-users] KnowledgeBase in drools 6.0.0.beta1

2013-04-19 Thread Mark Proctor
The is a complet api change in 6.0. We've moved from a pure api approach, to something convention and configuration based. We've done a number of examples for this, but unfortunately not had time to document them :( https://github.com/droolsjbpm/drools/tree/master/drools-examples-api Mark On 19

Re: [rules-users] Problem with Banking Tutorial

2013-04-18 Thread Mark Proctor
There are a lot of fixes in the 5.x master. Anyone verified their bugs against this? I suspect this is fixed in that. Mark On 18 Apr 2013, at 16:21, Wolfgang Laun wolfgang.l...@gmail.com wrote: Ah, my memory :-) http://lists.jboss.org/pipermail/rules-dev/2013-January/004338.html Mark

Re: [rules-users] Expert Systems and Functional programming?

2013-03-15 Thread Mark Proctor
...@acm.org wrote: Who are the primary researchers of expert-systems today? On Tue, Mar 12, 2013 at 8:21 PM, Mark Proctor mproc...@codehaus.org wrote: Actually Pamela is one of the papers I've been trying to track down, can't get it on the internet any more. As I first saw it referenced

Re: [rules-users] UnsupportedOperationException intermitently

2013-03-13 Thread Mark Proctor
In theory it shouldn't be threading, as all working memory actions go through a lock. The downside is it could be anything…. Could you try out 5.5.1 snapshot, lots of fixes in there - we'll release that as 5.6 soon. Mark On 13 Mar 2013, at 08:53, erolagnab trung@gmail.com wrote: Thanks

Re: [rules-users] Implementing Refraction with Drools

2013-03-13 Thread Mark Proctor
poor is a relative word. It might be fast enough for many people. If we were to implement this in the core of the code, we could avoid a fair bit of the work you are doing. As we implement modify in place all we need to do is ignore any activations that are re-actives via a modify. We wouldn't

Re: [rules-users] Expert Systems and Functional programming?

2013-03-12 Thread Mark Proctor
On 12 Mar 2013, at 02:10, Grant Rettke gret...@acm.org wrote: On Mon, Mar 11, 2013 at 10:19 AM, Mark Proctor mproc...@codehaus.org wrote: For instance here is an idea I've been mulling over recently (note just random ideas, not roadmap). We don't have the resources to completely compete

Re: [rules-users] Expert Systems and Functional programming?

2013-03-12 Thread Mark Proctor
and that it's evaluation is atomic, and can have cleanup work done. Mark On 12 Mar 2013, at 06:04, Wolfgang Laun wolfgang.l...@gmail.com wrote: Indeed, this thesis mentions a few features of the system I was talking about :-) ([13]) -W On 11/03/2013, Mark Proctor mproc...@codehaus.org wrote

Re: [rules-users] Implementing Refraction with Drools

2013-03-12 Thread Mark Proctor
a call back during the activation created event. You'll need to cast to an internal concrete class first, AgendaItem. Remember these interfaces and classes will change over time. Mark On 12 Mar 2013, at 18:53, Jim Hahn j...@att.com wrote: Mark Proctor mproctor at codehaus.org writes

Re: [rules-users] [REQUEST] upgrade next version of drools to use the newer Janino library.

2013-03-12 Thread Mark Proctor
Have you tried just using the 2.6.1 janino jar? It may just work. Mark On 12 Mar 2013, at 19:06, Felix fe...@bluekai.com wrote: I am using the cascading 2.1 which bundles a newer version of the janino 2.6.1. I'd like to see the next version of drools updated with the newer janino. --

Re: [rules-users] Implementing Refraction with Drools

2013-03-12 Thread Mark Proctor
The code looks ok to me. If an activation has fired, then you cannot cancel it. Cancelled events are only for activations that are true and have not yet fired. Read my previous email about how to use the unmatch listener, that will do what you want. Mark On 12 Mar 2013, at 20:49, jrh3

Re: [rules-users] Expert Systems and Functional programming?

2013-03-12 Thread Mark Proctor
-internet days way back then :-) If you could produce an RBS ranking based on rules fired in production, I think that PAMELA would be in an excellent position. There's a three-digit number of installations by now, but they're running 24/7. -W On 12/03/2013, Mark Proctor mproc...@codehaus.org

Re: [rules-users] Expert Systems and Functional programming?

2013-03-11 Thread Mark Proctor
There is, but you have to look at things slightly differently - and we have to really work on a new DRL to better support it, so it's all very experimental and bleeding edge. It's also probably more lambdas and closures than pure functions. Where I see lambdas helping is in creating meta

Re: [rules-users] Expert Systems and Functional programming?

2013-03-11 Thread Mark Proctor
On 11 Mar 2013, at 03:10, Grant Rettke gret...@acm.org wrote: On Thu, Mar 7, 2013 at 2:44 PM, Matteo Mortari matteo.mort...@gmail.com wrote: The Question I'm asking myself: is there a specific, or few, areas where Functional Programming could actually benefit Expert Systems so much to

Re: [rules-users] Expert Systems and Functional programming?

2013-03-11 Thread Mark Proctor
=rep1type=pdf Mark On 11 Mar 2013, at 18:03, Wolfgang Laun wolfgang.l...@gmail.com wrote: On 11 March 2013 16:19, Mark Proctor mproc...@codehaus.org wrote: So thinking really long term here. Can we build a java layer that provide all the rule functionality we need - but fit ontop of the java

Re: [rules-users] Help with DefaultAgenda.java

2013-03-10 Thread Mark Proctor
I replied to this on the DEV mailing list, this is the USER mailing list. Please see the web archives. Mark On 11 Mar 2013, at 00:36, Mallory gmalathi...@gmail.com wrote: Hello, I have tried to change the source code of DefaultAgenda.Java by adding the code below: //drools orginial

Re: [rules-users] Drools upgrade

2013-03-08 Thread Mark Proctor
Try out the latest 5.5.1.SNAPSHOT (which will be the 5.6 release). It has a lot of fixes. 1. How big? This is a relative question, not really sure how to answer it. Probably easiest for you to review the original work, and make up your own mind. 2. See if the issue exists in 5.5.1.SNAPSHOT,

Re: [rules-users] UnsupportedOperationException intermitently

2013-03-08 Thread Mark Proctor
The jira you reference, JBRULES-3713, has marked itself as a duplicate of /JBRULES-3632. The later was fixed for the upcoming 5.6 release, again try the 5.5.1.SNAPSHOT to be sure. The problem is due to the LeftTuple factory method. Each node builds and returns it's own LeftTuple. If some how a

Re: [rules-users] drools linkage errors

2013-03-06 Thread Mark Proctor
Did you rebuild the pkg files you are loading? Have you made sure all your dependency versions are correct? Mark On 5 Mar 2013, at 18:04, mani koduri kodur...@gmail.com wrote: Hi, Initially I am using jboss-drool 5.0.1 version in our project and I updated to jboss-drools 5.4.0 version in

Re: [rules-users] deadlock

2013-03-05 Thread Mark Proctor
Can you please try the snapshots marked as 5.5.1 (which is actually for the 5.6 release) and let us know if you still have problems: http://snapshots.jboss.org/maven2/org/drools/drools-core/ We will also need some sort of test case to reproduce the issue. Mark On 5 Mar 2013, at 04:12, Smita S.

Re: [rules-users] Drools / Guvnor 6

2013-02-28 Thread Mark Proctor
6.0 stuff is still raw, there are alphas, but they are not really got general use. We'll put out a beta shortly, I'd recommend you wait until then. Also a lot has changed in 6.0, especially around deployment, so it won't be an easy switch. Mark On 28 Feb 2013, at 17:50, Stephen Masters

Re: [rules-users] Drools / Guvnor 6

2013-02-28 Thread Mark Proctor
I would hope before end of this year. Mark On 28 Feb 2013, at 22:39, kurrent93 kurren...@gmail.com wrote: When can expect Drools 6 to make it into Enterprise support? I understand this is a long way off, but generally, is this 1 year, 18months, or longer? -- View this message in

Re: [rules-users] GC Overhead Limit Exceeded and 1B JoinLeftNode Objects

2013-02-25 Thread Mark Proctor
On 25 Feb 2013, at 06:46, Wolfgang Laun wolfgang.l...@gmail.com wrote: On 24/02/2013, Mark Proctor mproc...@codehaus.org wrote: when $sv1 : SiteVisit( yearRecorded == durationCycleYear, !annualVisit ) FaultCode( $sv1.ID==svID, code matches 366.\\d+|743.3\\d? ) $inspector

Re: [rules-users] GC Overhead Limit Exceeded and 1B JoinLeftNode Objects

2013-02-24 Thread Mark Proctor
at 1:25 AM, Mark Proctor mproc...@codehaus.org wrote: You also need to give us some indication of what your rules look like. Are you using just patterns, what conditional elements are you using, are you using any temporal operators, scheduling, tms? Mark On 24 Feb 2013, at 06:12, Wolfgang

<    1   2   3   4   5   6   7   8   9   10   >