[rules-users] rulebase configuration Options

Mark Proctor mproctor at codehaus.org
Fri Dec 17 05:58:25 EST 2010


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 options, and could I know the
> location,  it will a great help.
You should be using hte KnowledgeBaseConfiguration, rulebase is the old 
terminology:
http://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/javadocs/stable/drools-api/org/drools/KnowledgeBaseConfiguration.html

The javadocs show the available options. Tbh the only one that an end 
user should be using really is the mbeans optionand possibly the 
sequential option. Everything else is way too low level.
> Thanks,
> Rav.
>
> -----Original Message-----
> From: rules-users-bounces at lists.jboss.org
> [mailto:rules-users-bounces at lists.jboss.org] On Behalf Of
> rules-users-request at lists.jboss.org
> Sent: 17 December 2010 08:57
> To: rules-users at lists.jboss.org
> Subject: rules-users Digest, Vol 49, Issue 44
>
> Send rules-users mailing list submissions to
> 	rules-users at lists.jboss.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://lists.jboss.org/mailman/listinfo/rules-users
> or, via email, send a message with subject or body 'help' to
> 	rules-users-request at lists.jboss.org
>
> You can reach the person managing the list at
> 	rules-users-owner at lists.jboss.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of rules-users digest..."
>
>
> Today's Topics:
>
>     1. Re: "Negative" Rules (Ansgar Konermann)
>     2. Re: Using GlobalArea in Guvnor (Jervis Liu)
>     3. Re: Guvnor with JBoss AS on Ubuntu (alim)
>     4. Re: Deploying Guvnor 5.1 on Glassfish v3 (alim)
>     5. DroolsFlow 5.1.1 ForEach + XOR/OR Gateway =	Impossible?
>        (Dirk Hermanns)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 17 Dec 2010 00:34:11 +0100
> From: Ansgar Konermann<ansgar.konermann at googlemail.com>
> Subject: Re: [rules-users] "Negative" Rules
> To: rules-users at lists.jboss.org
> Message-ID:<4D0AA1F3.20307 at googlemail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On 15.12.2010 10:01, Diego San Esteban wrote:
>> Greetings,
>>
>> How is  itpossible to implement a  "rollback"in  theKB?
>>
>> Suppose  that when retracting  a  fact,I  want toundo the  changes
> made.
>>
> A very simple, yet effective solution would be to exclusively use
> insertLogical(). No updates to facts which are already asserted, no
> normal "insert".
>
> Best regards
>
> Ansgar
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.jboss.org/pipermail/rules-users/attachments/20101217/aba8fe
> 65/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Fri, 17 Dec 2010 10:29:16 +0800
> From: Jervis Liu<jliu at redhat.com>
> Subject: Re: [rules-users] Using GlobalArea in Guvnor
> To: Rules Users List<rules-users at lists.jboss.org>
> Message-ID:<4D0ACAFC.4090603 at redhat.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 2010/12/17 0:41, Dean Whisnant wrote:
>> Jervis,
>>
>> I see that it looks like you worked on and resolved this in
> drools-5.2.M1 this morning.
>> This is a noob question, but when or how can I get my hands on this
> fix?  It's funny because I ran into this same issue today while trying
> to do something similar to John.
> You can grab the latest snapshot from this place:
> https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/
> trunk/target/
>
> Or you can wait for Drools 5.2.M1. It should come out next week if
> things go well.
>
> Cheers,
> Jervis
>
>> Thanks
>>
>> Dean
>>
>> -----Original Message-----
>> From: rules-users-bounces at lists.jboss.org
> [mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Jervis Liu
>> Sent: Wednesday, December 15, 2010 8:30 AM
>> To: rules-users at lists.jboss.org
>> Subject: Re: [rules-users] Using GlobalArea in Guvnor
>>
>> This is a bug. I've filed jira
>> https://issues.jboss.org/browse/GUVNOR-1124. I will take a look into
> this jira next week.
>> Thanks,
>> Jervis
>>
>> On 2010/12/15 2:24, John Peterson wrote:
>>>> I'm working with Guvnor 5.1.1 and I'm having an issue accessing
>>>>> Declarative Models defined in the Global Area in the Packages.  Is
>>>>> it possible to create a shared model in the Global Area and then
>>>>> write rules against them in other packages?  It would seem to me
>>>>> that the answer would be yes (why else have a "Global" area), but,
>>>>> for some reason, it doesn't seem to recognize them.
>>>>>
>>>>> Here's a scenario:
>>>>>
>>>>> I declare a DeclarativeModel in GlobalArea:
>>>>>
>>>>> GenericFact
>>>>>      id: Integer
>>>>>      valueOne: Integer
>>>>>      label: String
>>>>> end
>>>>>
>>>>> I have a package called com.experiment.  I'd like to write Business
>>> Rule
>>>>> in it using that GenericFact.  However, when I click the "+" sign
> to
>>> add
>>>>> a Fact, I see a yellow background over "Note: No model has been
>>>>> defined."  Is there something that needs to be done to make the
>>>>> GlobalArea stuff viewable from the individual packages?
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 17 Dec 2010 00:10:25 -0800 (PST)
> From: alim<audrey.lim at it-vision.com>
> Subject: Re: [rules-users] Guvnor with JBoss AS on Ubuntu
> To: rules-users at lists.jboss.org
> Message-ID:<1292573425491-2103469.post at n3.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> Hey Chris
>
> When doing the telnet from the client box i get:
> "telnet: Unable to connect to remote host: Connection refused"
>
> However, there's also another AS on that same server listening on port
> 8080
> and there it's no problem to connect to that one.
>
> Plus I also tried running JBoss on port 8080 (while having the other AS
> shut
> down), and also there the same problem:
> Telnet local: "Trying 127.0.0.1... Connected to localhost."
> Telnet remote: "telnet: Unable to connect to remote host: Connection
> refused"
>
> Considering that, it couldn't be a firewall problem, could it?
>
> Thanks for the help!
> Audrey
>
>
>
> Chris Selwyn wrote:
>> Maybe a firewall(iptables) issue?
>> Can you do the telnet from your client box?
>>
>> Chris
>>





More information about the rules-users mailing list