Re: [rules-users] direct access to guvnor servlet without login

2010-07-01 Thread Michael Neale
At the moment it is GWT specific - would need another servlet to do more "classic" HTTP authentication. On Fri, Jul 2, 2010 at 8:40 AM, Zhuk, Yefim wrote: > Hello everyone! > > I saw several threads related to this or a similar question: > - how to directly access the Guvnor securityService servl

Re: [rules-users] [ERR 102] Line 593:54 mismatched input '-'

2010-01-11 Thread Michael Neale
(refer to dev list thread about this) On Mon, Jan 11, 2010 at 4:09 AM, HonorGod wrote: > > How do I resolve this issue in Guvnor. I have imported my model jar and it > seems to have some generated class file package-info.class and drools is > complaining about the presence of the hyphen [which in

Re: [rules-users] Using groovy classes as Fact Classes in Guvnor

2010-01-10 Thread Michael Neale
you will probably need to get maven (somehow) to generate a jar of the classes that would be in WEB-INF/classes - and upload that as a model. The groovy jar will probably also need to be added either as a model or to the classpath of Guvnor. On Mon, Jan 11, 2010 at 1:47 AM, HonorGod wrote: > > Th

Re: [rules-users] How to create nested rules in Drool Guvnor

2010-01-07 Thread Michael Neale
There was some work done to inherit LHS conditions from a certain named category - but that seems diferent to what Michael described.. I am confused too. (and from what I remember, it was an attribute, not in the header, but this might be a new experimental thing?). On Fri, Jan 8, 2010 at 7:49 AM,

Re: [rules-users] Planner/solver - POSITIVE scoring...

2010-01-07 Thread Michael Neale
d then combine them in a way that describes their relationship. > > In this case, what the positive constraint "favors" is the reduction or > elimination of the negative constraint, so subtracting the positive > constraint makes sense. (A classic "interference patter

[rules-users] Planner/solver - POSITIVE scoring...

2010-01-06 Thread Michael Neale
Hi All - FYI I have been conversing with Geoffrey on basic solver/planner usage questions, but we are bring the discussion here in case others can benefit. So I am looking at using IntConstraintOccurrence, for scoring with weights, and HardAndSoftConstraintScoreCalculator. So I can see how NEGATIV

Re: [rules-users] Running drools 4 code using drools 5 jars

2009-09-09 Thread Michael Neale
Indeed - consider them pre-deprecated ;) but AFAIK should work fine. 2009/9/9 Macon Pegram > It is my understanding that the "Rule" apis are being discouraged in favor > of the "Knowledge" APIs. They do still work in Drools 5 however, so you > should be ok just using that Jar file. > > In my o

[rules-users] any users on System z or websphere process server?

2009-03-26 Thread Michael Neale
ping me off list if you get a chance, would be appreciated. -- Michael D Neale home: www.michaelneale.net blog: michaelneale.blogspot.com ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Formula and Predicate example using a condition for Guvnor

2009-03-17 Thread Michael Neale
no there isn't at the moment. Really it just means that the value someone enters must be a calculation. eg: amount * 2 Would like to at some point add in a function pallette of common things people do that can popup and provide assistance (like open office has for its formulas) - including all bu

Re: [rules-users] Globals not working with Drools Guvnor 5.0.CR1 Web Guided Decision tables

2009-03-17 Thread Michael Neale
well spotted - https://jira.jboss.org/jira/browse/GUVNOR-210 Building in a fix now for the action part. You can't use globals as a fact in a condition (just like normal rules) - they are special ;) 2009/3/18 : > Hi, > > I'm trying to use Globals with the Web Guided Decision tables and there > s

Re: [rules-users] Re: Declarative Model Editor in Guvnor

2009-02-23 Thread Michael Neale
Well - the editor doesn't have a switch to edit it as text (do you want one)? but if you add something to it that the GUI can't render, it reverts to a text editor (which may be what is happening). Could you possibly share your model text? Hey if you could reproduce it, open a JIRA here: https://j

Re: [rules-users] Declarative Model Editor in Guvnor

2009-02-22 Thread Michael Neale
no that doesn't sound correct ? can what you mean by import into guvnor - you mean using the guvnor plugin ? or re-importing it by creating a new package? On Sun, Feb 22, 2009 at 5:02 AM, J Michael Dean wrote: > When I declare a very simple object in Guvnor and validate, save, build, > etc. and t

Re: [rules-users] Problem using KnowledgeAgent

2009-02-18 Thread Michael Neale
So from the filesystem it won't pick up changes? (does it throw the same exception). On Thu, Feb 19, 2009 at 5:34 AM, Dan Seaver wrote: > > Mark, > I have some more information for you. The exception occurs when I issue: > > agent.monitorResourceChangeEvents(true|false) > > If I comment out that

Re: [rules-users] Guvnor Web Based Decision Tables

2009-02-10 Thread Michael Neale
It stores the data on XML - do yes you could programmatically generate the XML and the poke it in via webdav. Sent from my phone. On 11/02/2009, at 16:47, Vikrant Yagnick wrote: Hi all, I had a question with regards to the Web Based Decision Tables functionality in Guvnor M5. Is ther

Re: [rules-users] Guvnor - How to define custom accumulate function

2009-01-07 Thread Michael Neale
OK I created a JIRA for that https://jira.jboss.org/jira/browse/JBRULES-1907 And fixed it - so in a future version you should just add that properties or conf file (as long as its .properties or .conf its ok) and it should be included in the package configuration. On Tue, Dec 30, 2008 at 9:38 AM,

Re: [rules-users] Dsl and drl files in different locations

2009-01-07 Thread Michael Neale
yeah the IDE can't deal with that - they have to be next to each other - you can in code compile things however you want, just means the IDE won't be able to help you, unfortunately. On Wed, Jan 7, 2009 at 4:07 AM, Anselmo Abadía wrote: > Hi, I'm using Drools 4. > I have a dsrl file that imports

Re: [rules-users] Decision table capabilities

2008-12-11 Thread Michael Neale
Well the exact semantics or "otherwise" or "else" are never really agreed upon, As there is more to it then meets the eye. A global style "otherwise" is not too hard to do. But "else" is what a lot of people want. Sent from my iPhone On 11/12/2008, at 3:41, Ravi Krishnamurthy <[EMAIL PROTECTE

Re: [rules-users] Performance question - eval on a HashMap vs. from on an ArrayList

2008-12-11 Thread Michael Neale
If the number of items are small , its probably much of a muchness, and the difference would be hard to predict. The "from" kind of looks more declarative compared to the eval - its probably better. Sent from my iPhone On 11/12/2008, at 13:29, "steve.vance" <[EMAIL PROTECTED]> wrote: H

Re: [rules-users] Problem with nested properties

2008-12-11 Thread Michael Neale
I don't recall drools 4 being able to do nested fields like that. Drools 5 can if you want to check it out. Sent from my iPhone On 11/12/2008, at 19:52, "Olivier THIERRY" <[EMAIL PROTECTED]> wrote: Hi, We plan to use rules engine on a project because business rules will often change and

Re: [rules-dev] Re: [rules-users] Drools5M3 Issues

2008-11-29 Thread Michael Neale
No that won't help as it still is the same classname from the IDE content assistance point of view. No quick fix I can see, the only 3 options are to tweak the IDE to ignore the "old" or internal ones, or use differnt classnames for the new ones ;) - probably not practical. Sent from my i

Re: [rules-users] Loading rules

2008-10-29 Thread Michael Neale
yeah you DO NOT want to be rebuilding rules on each request - that would really be bad. you can load and cache them, and do a check on each request to see if you need to update the cache - that is possible, and reasonable. On Sat, Oct 25, 2008 at 4:53 AM, Chris Chen <[EMAIL PROTECTED]> wrote: > I

Re: [rules-users] Error when trying to create new PackageBuilder

2008-10-29 Thread Michael Neale
sounds like something bad in the jar you are using? On Sat, Oct 25, 2008 at 5:28 AM, webdevfreak <[EMAIL PROTECTED]> wrote: > > Hi, I'm using Drools 4.0.4 and get the following error when trying to convert > from .drl to .pkg file. > > Exception in thread "main" java.lang.VerifyError: (class: > or

Re: [rules-users] stackOverFlowError when serializing a RuleBase

2008-10-29 Thread Michael Neale
Are you also on HPUX? If not - any chance you can wrap it up in a unit test, attach it to a JIRA? On Thu, Oct 30, 2008 at 11:54 AM, Rene Wooller <[EMAIL PROTECTED]> wrote: > Hi, > > I get a similar error to pedrof's: > > > > java.lang.StackOverflowError > > at > java.io.ObjectStreamClass$Fi

Re: [rules-users] Deploy rules to JBoss server

2008-10-29 Thread Michael Neale
yeah they shouldn't be anything too special - Joe in ear directly or web apps lib? (I would think the former would work better). On Wed, Oct 29, 2008 at 2:40 AM, Joe White <[EMAIL PROTECTED]> wrote: > We use JBoss and put them in an EAR and it works fine. Probably best to > treat the Drools jars

Re: [rules-users] How to monitor what rules are fired

2008-10-29 Thread Michael Neale
Hi Ravi - if you look at the classes in: org.drools.audit For example: WorkingMemoryInMemoryLogger.java - you can wrap that around a session, and it will accumulate stuff in memory that you can print out. You will want to have good "toString()" methods on your fact objects - so you can inspect th

Re: [rules-users] Debug rules running on server

2008-10-29 Thread Michael Neale
at this stage I don't think this is possible. The rules debugging doesn't (AFAIK) implement the java debug protocol: http://java.sun.com/j2se/1.4.2/docs/guide/jpda/jdwp-spec.html which is what allows remote debugging (generally). So you have 2 options: 1) (obvious !) reproduce it "in process" 2)

Re: [rules-users] 'Guvnor' on WebSphere 6.1 Success

2008-10-02 Thread Michael Neale
Thanks Steve. I have put that on the wiki. On Thu, Oct 2, 2008 at 2:54 PM, Steve Nunez <[EMAIL PROTECTED]> wrote: > These directions worked for WebSphere 6.1.0.15. Fundamentally the problem is > the lack of JAR files in the default WebSphere CLASSPATH, or the wrong > versions. Two things are necces

Re: [rules-users] BRMS rule info logging

2008-10-02 Thread Michael Neale
BRMS is more of a design time feature - what you are talking is logging an audit trail of rules execution - you can do that with event listeners in your code (so your rules don't even have to be aware of it) then as rules fire, you can grab the details (from the listener APIs) and log it as you ple

Re: [rules-users] Upload Rules to BRMS at runtime

2008-10-02 Thread Michael Neale
Hi all. Yes in 5 - there is webdav and a (limited) rest API - the rest API isn't really well known or used yet, but the WebDAV one is. Later on, we will be adding rest + atom pub interface - the atompub means you can put metadata (eg categories, comments) remotely in the BRMS, but at the moment,

Re: [rules-users] Working with collections

2008-09-28 Thread Michael Neale
The days list property needs to be a Collection (at the moment I think it uses the collection semantics in java, which sadly arrays are not part of the collections family). You can do Arrays.asList() to convert it to a list in the getter method, and it should work. If you however make it a hashset

Re: [rules-users] RE: Deploying the BRMS on Web-Sphere 6.1

2008-09-24 Thread Michael Neale
to give another shot at seeing the behavior after upgrading to a higher release. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Michael Neale Sent: Tuesday, September 23, 2008 5:25 AM To: Rules Users List Subject: Re: [rules-users] RE: Deploying t

Re: [rules-users] RE: Deploying the BRMS on Web-Sphere 6.1

2008-09-22 Thread Michael Neale
Hi Vikrant. well the drools-guvnor/ doesn't use a filter so much as it is default web.xml behaviour - you can specify a "welcome" page, which it goes to when the root path is supplied. If Websphere 6.1 can't even do that - I would say something is seriously wrong (may be a bad install?) - you coul

Re: [rules-users] Creation of RuleModel dyanmicalliy

2008-09-21 Thread Michael Neale
Vikram - I am making the assumption that on the RHS of a rule you want to kick off a rule process. If this is the case, then in 4.0.x here is now way to do that with the rule model stuff. In 5, it is possible (as you can put an arbitrary expression on the RHS and it will render it out). On Fri, S

Re: [rules-users] Drools BRMS Secrity Features

2008-09-21 Thread Michael Neale
Hi Vikrant. In the version 4 - no the security was basically only around authentication (so you either had access or you didn't). Now in the upcoming 5 version (I don't think this was in M1, but will be in M2): http://blog.athico.com/2008/08/product-update-guvnor-security.html This allows fine g

[rules-users] SVN URL changes

2008-07-14 Thread Michael Neale
Details are here: http://blog.athico.com/2008/07/svn-url-changes-funny-video.html -- Michael D Neale home: www.michaelneale.net blog: michaelneale.blogspot.com ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/lis

Re: [rules-users] BRMS

2008-02-09 Thread Michael Neale
Hi len. Yes I think if you create you own in annotation and if you recompile that may work. If not recompiling, I am not sure. But if you hack source, we could refactor so the seam stuff is not in the main class. Another approach is to have the brms as a self contained war, and have the ser

Re: [rules-users] java.lang.ClassCastException comparing BigDecimals (compareTo)

2008-01-30 Thread Michael Neale
hmmm... have you tried setting "dialect 'mvel' " for the rule/package? I am not sure if you can do that even in java 5 (but in MVEL we can make it happen if it doesn't already). On Jan 25, 2008 11:19 PM, José Arrarte <[EMAIL PROTECTED]> wrote: > Hello, > > First of all, I'd like to thank all the

Re: [rules-users] OutOfMemory with BRMS 4.0.3

2008-01-30 Thread Michael Neale
t 5.5 (but here again, the error also occurs > in Jboss 3.2.8), jdk is jdk 1.5.0 , and the system is an old Red Hat 7.2. > > Regards, > > Sophie > > > > > Michael Neale <[EMAIL PROTECTED]> > Sent by: [EMAIL PROTECTED] > 23/01/2008 12:39 > Please respo

[rules-users] test message - ignore

2008-01-24 Thread Michael Neale
Ignore. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] OutOfMemory with BRMS 4.0.3

2008-01-23 Thread Michael Neale
may not be linked to the server version ...? Regards, Sophie Michael Neale <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 22/01/2008 11:31 Please respond to Rules Users List To Rules Users List cc Rules Users List Subject Re: [rules-users] OutOfMemory with BRMS 4.0.3 Thanks

Re: [rules-users] OutOfMemory with BRMS 4.0.3

2008-01-22 Thread Michael Neale
ct and is called recursively on the accessors' results, before inserting the object). then we call: workingMemory.fireAllRules(); [...interprate results...] workingMemory.dispose(); Best regards, Sophie Michael Neale <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 17/01/2008 23:3

Re: [rules-users] OutOfMemory with BRMS 4.0.3

2008-01-17 Thread Michael Neale
t, it doesn't seem to make any difference. however, I'll check when returning, but I think it still worked after a few days, now that I have moved the BRMS to the Jboss 3.2.3 app server. thanks for trying to help me! Sophie [EMAIL PROTECTED] wrote: - To: "Rules Users L

Re: [rules-users] Multiple DSL sources

2008-01-17 Thread Michael Neale
Hmm... if you look in BRMSPackageBuilder in the BRMS source code, you can see you can add DSL files together (you just have one expander statement - the expander statement is for the IDE) - however, I think that may not work in eclipse to make it content assistance pick up the other DSL file. On J

Re: [rules-users] OutOfMemory with BRMS 4.0.3

2008-01-16 Thread Michael Neale
If you have any more details - and confidential, feel free to send them to me direct (currently I am working on some stress tests to see if I can make it happen more quickly ;) On Jan 17, 2008 9:52 AM, Michael Neale <[EMAIL PROTECTED]> wrote: > Hi Sophie - how is the jboss "r

[rules-users] BRMS version 4.0.4 problems

2008-01-16 Thread Michael Neale
Something has gone awry, 4.0.4 BRMS seems to have been packaged badly somehow. So please be patient while we sort it out. Michael. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] OutOfMemory with BRMS 4.0.3

2008-01-16 Thread Michael Neale
Hi Sophie - how is the jboss "runtime" server querying this? via the rule agent (and a URL)? just trying to work out what the usage pattern is so we can reproduce it. Michael. On Jan 11, 2008 12:20 AM, <[EMAIL PROTECTED]> wrote: > Hello, > > I am using Drools BRMS 4.0.3 with tomcat 5.5.25, and

Re: [rules-users] Deploying BRMS on Tomcat

2008-01-16 Thread Michael Neale
hi. Some people have shared notes here: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBRMSjsfdependencies What version of tomcat? and BRMS? As an alternative, download 4.2 JBoss AS and try it in that (to make sure it works for you). On Jan 17, 2008 7:32 AM, Fabrice Granzotto <[EMAIL PROTECTED]> wro

Re: [rules-users] OutOfMemory with BRMS 4.0.3

2008-01-16 Thread Michael Neale
Sophie are you still seeing this? Do you see this with regular use or just "sitting there" ? Michael. On Jan 11, 2008 4:56 PM, <[EMAIL PROTECTED]> wrote: > No, I haven't, because initially I wanted it to be deployed in an > environment distinct from my "client" classes, which are in jboss > app

Re: [rules-users] Problems using functions in .drl file

2008-01-08 Thread Michael Neale
lop a rules component for them. I hope I can get this environment working. On 1/8/08, Michael Neale <[EMAIL PROTECTED]> wrote: I think you need java 5 for the ide even though the engine can run with 1.4 Sent from my iPhone On 08/01/2008, at 5:57, "Keith Bennett" <[EMAIL PROTECTE

Re: [rules-users] repository documentation

2008-01-08 Thread Michael Neale
The only specific dogs would be the javadocs for the drools-repository (and of course the source for that module ). Sent from my iPhone On 05/01/2008, at 8:02, John Verhaeg <[EMAIL PROTECTED]> wrote: Can someone point me to some documentation that explains how to populate a drools repositor

Re: [rules-users] Problems using functions in .drl file

2008-01-08 Thread Michael Neale
I think you need java 5 for the ide even though the engine can run with 1.4 Sent from my iPhone On 08/01/2008, at 5:57, "Keith Bennett" <[EMAIL PROTECTED]> wrote: I am having problems using functions in my .drl file. When I add a function, I get the following two errors: ImportError: Pac

Re: [rules-users] Problems deploying BRMS on Jboss 4.0.1 AS

2008-01-07 Thread Michael Neale
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBRMSjsfdependencies may provide some tips. Post 4.0.1, this problem goes away (4.0.1 is a tad old now). Michael. On Jan 5, 2008 4:15 PM, Rahul Upadhyay <[EMAIL PROTECTED]> wrote: > I Think you don't have full permission of JBOSS or BRMS war. Go to >

Re: [rules-users] Re: repository documentation

2008-01-07 Thread Michael Neale
The manual has a chapter or 3 on the BRMS specifically. Chapter 9 in: http://downloads.jboss.com/drools/docs/4.0.3.15993.GA/html/index.html On Jan 8, 2008 3:44 AM, John Verhaeg <[EMAIL PROTECTED]> wrote: > > Massi Gmail gmail.com> writes: > > > > > http://labs.jboss.com/drools/livetrails/index

Re: [rules-users] Can't run BRMS on Jboss 4.0.1 AS

2008-01-07 Thread Michael Neale
well 4.0.1 is a bit old - try the latest - it did have a few issues. On Jan 8, 2008 1:30 AM, <[EMAIL PROTECTED]> wrote: > I'm trying to run the BRMS GUI on the Jboss 4.0.1sp1 AS but I'm getting > the following errors after I login and click 'Packages'. I'm working in > a Windows environment usin

Re: [rules-users] Re: Drools and BRMS (60,000+ rules)

2007-11-26 Thread Michael Neale
Hi Len. Yes the main challenges I see are to do with the sheer numbers of rules you see yourself happening, and how to manage that in any sort of BRMS. ie are there 100's of packages, or a few uber packages etc. How do you break it up so its manageable? etc... even simple things, like if there is

Re: [rules-users] Drools and BRMS (60,000+ rules)

2007-11-18 Thread Michael Neale
Hi Len. Sounds like your requirements are pretty clear, which is great. In terms of scaling to that level we have the BRMS - which will need some (planned) improvements to make it possible to navigate such a huge amount of stuff without anyone going insane. On the otherwise we have the engine nee

Re: [rules-users] Another rule vendor being acquired

2007-11-15 Thread Michael Neale
Excellent work Paul ! As an Australian, I am quite proud that it is RuleBurst ! I have met a few of them and they are great people with an interesting product. On Nov 15, 2007 7:07 AM, Paul Haley <[EMAIL PROTECTED]> wrote: > I hope it is interesting to the community to consider the second busin

Re: [rules-users] BRMS - how to use variables on Action part?

2007-10-06 Thread Michael Neale
On the RHS, if you put "=" it will allow you to type in that calculation. I guess that is not as intuitive as it shoudl be (on the LHS it makes you tell it what you want to do), I am open to considering changing that so it is more obvious. Yes, you can only access setters this way (at the moment)

[rules-users] insurance domain users?

2007-09-04 Thread Michael Neale
If anyone is using rules and you work in an insurance company/domain - please contact me off list. Michael Red Hat. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] broken link

2007-09-04 Thread Michael Neale
Yeah I am getting rid of that legacy content page as we speak - thanks for pointing it out. On 9/5/07, Manukyan, Sergey <[EMAIL PROTECTED]> wrote: > > On a page : > > > > http://labs.jboss.com/projects/download > > > > There is a broken link pointing to : > > > > http://labs.jboss.com/jbossrules/

Re: [rules-users] Web Service deploy out of memory

2007-09-04 Thread Michael Neale
> > Greetings, I see you in another post > > En Tue, 04 Sep 2007 01:44:47 -0400, Michael Neale > <[EMAIL PROTECTED]> escribió: > > > If it still happens - it would be good if you could attach some code to > > reproduce it to a JIRA. > > > > On 9/4/07, Micha

Re: [rules-users] Web Service deploy out of memory

2007-09-03 Thread Michael Neale
If it still happens - it would be good if you could attach some code to reproduce it to a JIRA. On 9/4/07, Michael Neale <[EMAIL PROTECTED]> wrote: > > Hi Edgardo. > > Well it shouldn't leak like that. > > Looking at your code, I am not sure how it works (as I am

Re: [rules-users] Web Service deploy out of memory

2007-09-03 Thread Michael Neale
Hi Edgardo. Well it shouldn't leak like that. Looking at your code, I am not sure how it works (as I am not sure of the Web Service component you are using). But if the web service is creating a new instance of the ValidaLlamadaWS class for EACH call, then yes that woudl be the problem. What you

Re: [rules-users] Anybody using Drools 4.0 with approximate string matching?

2007-09-03 Thread Michael Neale
Also, there is strsim: http://mvel.codehaus.org/String+Similarity+Check so you can do Something( eval( (field strsim "blah") > 0.9 ) ) (or something like that anyway - to look for similarity rating). But I think soundex is what you really want. On 9/4/07, Michael Neale <

Re: [rules-users] Anybody using Drools 4.0 with approximate string matching?

2007-09-03 Thread Michael Neale
Hi Irving. That is a very interesting and kind of cool problem. Happily, Mike Brock who built MVEL, which is part of drools, embeded soundex into it. So you can do (and I just tried this): rule "Hello World" when c : Cheese( eval(type soundslike "foobar") ) then c.setPrice

Re: [rules-users] new-bie problem

2007-09-03 Thread Michael Neale
Well the sheet can do with deciding the plan - in code if none is decided then the default one applies (ie the default is not part of the rules). As for the rest - well think of columns as fields and rows as rules, and you will get the idea with some practice. On 9/4/07, Rajeev Dave <[EMAIL PROTE

Re: [rules-users] Guided DRL Editor

2007-08-21 Thread Michael Neale
Hi Rod. The documentation for it is in the manual chapter on the BRMS (which did not make it into the TOC - that has been corrected for the next maintenance release). But it follows the same idea. Unfortunately there is no easy to build/test the rules with it at the moment (also being addressed).

Re: [rules-users] expander mappings empty !

2007-08-13 Thread Michael Neale
I think because the stream has reached the end once you load it the first time. Get a fresh reader from a fresh stream and it should work. On 8/13/07, hypnosat7 <[EMAIL PROTECTED]> wrote: > > > But why the expand methode in DrlParser.parse(final String source, final > Reader dsl) can't build the

Re: [rules-users] NoClassDefFoundError for

2007-08-13 Thread Michael Neale
Hi Steven - can you provide the background on this? (I didn't see any other info - perhaps gmail has gone nuts or my brain has, I have been on holidays). Michael. On 8/13/07, Barfield Steve <[EMAIL PROTECTED]> wrote: > > Jesse/Fernando/anybody > > > > Do you know if this problem has been resolve

Re: [rules-users] Re: BRMS Server - memory Issue while execution - Critical

2007-07-20 Thread Michael Neale
Hi Arjun - I wouldn't recommend re-using session unless there is some expensive state you wish to reuse. Pooling them will use up far more resources then freeing them. You should only pool expensive to obtain resources. On 7/21/07, Arjun Dhar <[EMAIL PROTECTED]> wrote: > Stateless sessions shou

Re: [rules-users] Predicate expression effect on performance

2007-07-19 Thread Michael Neale
In a sense, yes - but its the result of the comparison that is "cached" really. In the case you described, it is subrule generation. So either side of the "or" is like a separate rule. In version 3, the result of isSameAmount (ie if it was true or false) is "cached". Things will only be re-check

Re: [rules-users] Loading more than 10000 rules

2007-07-19 Thread Michael Neale
If you see the error "out of PermSpace" you can increase perm space. Another strategy, is to build the rules, in chunks, say 1000 at a time, take the Package object, and *then* add it to the rulebase. That may make it easier. You will need more then the default space on the heap for this I would

Re: [rules-users] Unexpected token "." in primary - Rule Compilation Error

2007-06-29 Thread Michael Neale
hmm.. there is a problem with the action of the 2nd rule, so, converting it to vanilla DRL: rule "SpeCodeSpeValProdPlan12" salience 50 when ... then if(common.getProd() == "{prodCode1}" || common.getPlan() == "{planCode1}"){System.out.println("Error");} end That doesn't look quite right - you

Re: [rules-users] question about DSL, nested values

2007-06-29 Thread Michael Neale
Hi Matt. yeah mapping deep hierarchies in a way that anyone can understand is not that easy. You can have helper methods on your objects to give you functionality. eg if you don't care which address you are talking about, then you could do something like: Person ( , (hasAddress("blah")) )

Re: [rules-users] Call functions from other functions?

2007-06-29 Thread Michael Neale
in 3.0, you can, but with a gotcha: say you have 2 functions, functionA and functionB. You can call functionA from inside functionB by prefixing functionB like: FunctionB.functionB In 4.0, I *think* that is not needed. Michael. On 6/29/07, Ru <[EMAIL PROTECTED]> wrote: Hello rules-users, I

Re: [rules-users] BRMS import

2007-06-25 Thread Michael Neale
Hi Mike. Sorry for the late reply, been flat out finishing things off ;) yes you can do that, you can import it into a package from the web GUI. On 6/16/07, Shepherd, Michael <[EMAIL PROTECTED]> wrote: Hi, Can I import an existing set of JBoss rules (Drools 3) into BRMS? Thanks, Mike

Re: [rules-users] JBoss rules and EJB3 integration best practices?

2007-06-25 Thread Michael Neale
ideally there is only one instance of a rulebase, and you create new sessions as needed - presumably with session beans you will have a few instances (which is not ideal, but you can live with it). On 6/24/07, Philip Reimer <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SH

Re: [rules-users] Sudoku Example Errors

2007-05-24 Thread Michael Neale
Errors like that are not normal, and definitely indicates a bug (ie not a compile error or anything - not something you should have to debug). So some more information is needed like versions, how you are running it, where the example came from etc (as there are a few versions floating around). O

Re: [rules-users] Rule Modeling

2007-05-24 Thread Michael Neale
yes that was a deliberate decision at this stage. May reconsider if there is good reason. Its not something we want to expose directly in a GUI, at least not without some "formula pallette" to help people build and validate simple formula like expressions. On 5/23/07, Chris Woodrow <[EMAIL PROTEC

Re: [rules-users] Reg : DSL And Decisin Tables in Drools

2007-05-24 Thread Michael Neale
I think what you are after is the BRMS: http://markproctor.blogspot.com/2007/05/brms-has-landed.html http://markproctor.blogspot.com/2007/05/quick-start-tutorialmovie-for-brms.html On 5/23/07, kranthikumar dalai <[EMAIL PROTECTED]> wrote: Hi to all, I gone through Droo

Re: [rules-users] JBRMS

2007-05-24 Thread Michael Neale
Yes, as discussed, you need to add import statements for the types you want the BRMS to be aware of - if you like, create a feature request jira for auto importing. I deliberately didn't do it cause I thought it would cause more confusion, but perhaps I was wrong. Also, the video on the blog: htt

Re: [rules-users] Class loader issue with dynamically generated classes and JBoss AS

2007-05-24 Thread Michael Neale
In the BRMS I added the classes to a specific classloader that I pass into the package configuration (as I have classes that are loaded on the fly - similar to generated). Look at the getInstance method of http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/drools-jbrms/src/main/java/org/drools/b

[rules-users] BRMS available

2007-05-11 Thread Michael Neale
To avoid repeating myself, both as it is mentioned on the blog and the wiki, refer to this post: http://markproctor.blogspot.com/2007/05/brms-has-landed.html Enjoy ! As always, help wanted in any form ! Michael. ___ rules-users mailing list rules-user

Re: [rules-users] 3.1 M1 "from" keyword

2007-04-26 Thread Michael Neale
should already be done - mvel may be using the wrong one. Can you tell me what class it is that gives the nosuchmethod? (ie what the target class is) and we can make sure all references are to inlined one so this won't happen again. Michael. On 4/27/07, Mark Proctor <[EMAIL PROTECTED]> wrote:

Re: [rules-users] janino-2.4.3.jar has changed from 3.0.5 to 3.0.6?

2007-04-26 Thread Michael Neale
actually you can compare the pom.xml from the drools-compiler module to confirm exactly what versions of janino it is using. On 4/27/07, Michael Neale <[EMAIL PROTECTED]> wrote: hmmm ok I haven't seen that. I don't believe it changed at all. I am using janino now with no probl

Re: [rules-users] janino-2.4.3.jar has changed from 3.0.5 to 3.0.6?

2007-04-26 Thread Michael Neale
hmmm ok I haven't seen that. I don't believe it changed at all. I am using janino now with no problems. On 4/24/07, Ru <[EMAIL PROTECTED]> wrote: Hello rules-users and team! I moved from 3.0.5 to 3.0.6 and got this error: Exception in thread "AWT-EventQueue-0" java.lang.NoSuchFieldError: NO_D

Re: [rules-users] error

2007-04-26 Thread Michael Neale
all the jsr94 jars, I mean ;) (there is the drools one, plus the JSR one). On 4/27/07, Michael Neale <[EMAIL PROTECTED]> wrote: you need the drools-jsr94 jar in your classpath On 4/25/07, fakhfakh ismail <[EMAIL PROTECTED]> wrote: > hello, > when I exucute my code of

Re: [rules-users] error

2007-04-26 Thread Michael Neale
you need the drools-jsr94 jar in your classpath On 4/25/07, fakhfakh ismail <[EMAIL PROTECTED]> wrote: hello, when I exucute my code of rules an error is affiched " Exception in thread "main" java.lang.NoClassDefFoundError: org/drools/jsr94/rules/RuleServiceProviderImpl " however the pack

Re: [rules-users] all download links on new portal broken

2007-04-25 Thread Michael Neale
yes should be fixed now ! Thanks ! Michael. On 4/25/07, Ellen Ning Zhao <[EMAIL PROTECTED]> wrote: Hi folks, today the jboss.org has a new face. The content arrangement and the look are better but the downloads for drools do not work now. Download links from this page: http://labs.jboss.co

[rules-users] Re: ok - index problems - got a real simple test to try !

2007-04-24 Thread Michael Neale
ignore that, wrong mailing list ;) On 4/24/07, Michael Neale <[EMAIL PROTECTED]> wrote: Really truly ;) , try this with junit, and JR 1.2.2 (1.3 also does it): public void testIt() throws Exception { Repository repo = new TransientRepository(); Session sess = repo.log

[rules-users] ok - index problems - got a real simple test to try !

2007-04-24 Thread Michael Neale
Really truly ;) , try this with junit, and JR 1.2.2 (1.3 also does it): public void testIt() throws Exception { Repository repo = new TransientRepository(); Session sess = repo.login(new SimpleCredentials("foo", "password".toCharArray())); Node root = sess.getRootNode();

Re: [rules-users] Implementing Rule Repository ?

2007-04-19 Thread Michael Neale
Hi - the GUIs are for web (stand alone). There will also be integration with the IDE. Community release is currently targeted for June, but there will be a "fully operational" version much before then hopefully (it will be announced). Its currently in SVN and a few people are building it and play

Re: [rules-users] mismatched token

2007-04-19 Thread Michael Neale
Ah, yes that is a known problem in 3.0 (which in trunk doesn't exist): you have "rule" in your package name: package com.gs.fw.intauto.entitle.rule.facts import com.gs.fw.intauto.entitle.rule.facts.PersonFacts; Refactor it to be "rules" and it will go away, its a problem with keyword collision

Re: [rules-users] JBoss Rules IDE 3.1-M1 - Validating all *.xls files in source path?

2007-04-18 Thread Michael Neale
th lots of classes and rules. On 4/19/07, Bree VanOss <[EMAIL PROTECTED]> wrote: Michael, You're good. I switched to a newer Eclipse install for my JBRules 3.1-M1"eval" and completely forgot to adjust my VM args. Thanks for the reminder. Bree On Apr 18, 2007, at 8:29

Re: [rules-users] JBoss Rules IDE 3.1-M1 - Validating all *.xls files in source path?

2007-04-18 Thread Michael Neale
me thing for standard DRL files. The validation of a large rule base can take some time and randomly results in exceptions much of the time. Once I've tested and verified a set of rules I could (optionally) exclude them from validation. I'll write this all up in the JIRA this evening. T

Re: [rules-users] Logging activations through JMS...

2007-04-18 Thread Michael Neale
not sure off the top of my head for examples, I am sure there are (its easy to do anyway, just take a look at the API). As for JMS - sure that can be done. I guess the one caution would be to do with performance: if you are accessing a remote JMS destination, then the engine may be blocking on a

Re: [rules-users] conways game of life

2007-04-16 Thread Michael Neale
Its interesting, Conways game of life was created to demonstrate a "determinisitc universe" - if you think as the little "critters" as life forms its pretty cool. A good example of how very very simple rules (and only a small number) can create complex behaviour. On 4/17/07, Mark Proctor <[EMAI

Re: [rules-users] JBoss Rules IDE 3.1-M1 - Validating all *.xls files in source path?

2007-04-16 Thread Michael Neale
Hi Bree. Well, thats a new thing Kris threw in - cause people were asking for it. It should only validate ones in the rules project itself - I assume that is what you mean? If this is a problem for you, could you create a JIRA and state your case? it may be a case of having an optional config di

Re: [rules-users] Add/remove objects from working memory are very CPU intensive

2007-04-11 Thread Michael Neale
definately upgrade to latest 3.0.x version (3.0.6). Also, those methods are were most of the work happens, its a common misconception that all the work happens lazily when you call "fire all rules" but that is not the case, as you assert each object, it propagates through the RETE network, so tha

Re: [rules-users] Design Pattern for Business Workflow

2007-04-09 Thread Michael Neale
that a fairly broad request. Rules can certainly be used for UI tier validation. The interface for rules is very simple, you pass it lots of facts, and your rules, and then let it do its thing (fireAllRules), there really is not much more to it then that. Michael. On 4/9/07, Sebastien Degardin <

  1   2   >