Hi All,
I have a doubt regarding drools-guvnor, as I am going to use Drools-Guvnor and
integrate it with my application.
1. Can I make two rules with the same name having different date-expires
attributes.
Like depending upon the date the corresponding rule fires.
rule "discount"
date
On 29/07/2010 04:05, Han Ming Low wrote:
Hi,
Just for information.
In order for the Oryx integration to work, you need to install the
oryx designer available from
http://anonsvn.jboss.org/repos/labs/labs/jbossrules/contrib/designer/
I would add that the .war is provided by the Antoine Toulme,
Hi all,
I try to enable the Role Base Authorization in Guvnor after it was running
fine with the default login mechanism.
But, encountered some problem with the attempt.
What I did was that in the components.xml,
- commented out the default
- uncomment the
- change the role base authorization t
Hi,
Just for information.
In order for the Oryx integration to work, you need to install the oryx
designer available from
http://anonsvn.jboss.org/repos/labs/labs/jbossrules/contrib/designer/
Install the designer.war into JBoss and make sure you can access it from
localhost:8080/designer
Then,
Hello again!
It's been a while since I could tackle this problem but I'm back at it.
I've got the engine up and running and I'm able to insert event facts at
specific entry points. Drools is outputting an "OBJECT ASSERTED" in the
logs when this happens so this appears to be working correctl
use the kstore element. You already have the various jpa settings in
spring as beans. So you can retrieve those and pass them as parameters
to the kstore in java code; which follows exactly the same interface as
JPAKnowledgeService.
Mark
On 28/07/2010 15:41, tolitius wrote:
> 1. If there is n
Wolfang,
Wolfgang Laun wrote:
> Don't be too keen on using "from" in connection with queries. The simple
> reason is that queries return nothing but what rules can do just as well.
>
> Thus, getting all pairs of Person's and Restaurant's with matching "food"
> and "zipcode", the straightforward LH
drools-spring.xsd is in the eclipse classpath... am facing the same problem
like
"Referenced file contains errors
(http://drools.org/schema/drools-spring.xsd). For more information, right
click on the message in the Problems View and select "Show Details..."
The above error is stopping me to in
Don't be too keen on using "from" in connection with queries. The simple
reason is that queries return nothing but what rules can do just as well.
Thus, getting all pairs of Person's and Restaurant's with matching "food"
and "zipcode", the straightforward LHS would be
p:Person( $favFood : favou
Dan,
I am not aware of any memory leak in CR1. If you can provide me with a
test case I will investigate this today. Please open a JIRA, attach your
test case and let me know. If there is a leak, I need to fix it before final
release.
And it is not a problem to instantiate object
Hello,
I have a weird issue, and I'm trying to figure out if this is a bug I should
report, or an error in my rule. I'm running an application with a heap
space (min: 512mb, max: 1024mb) that gets full and eventually overflows
relatively quickly (12hrs or less). We insert about 112 records int
Hi everybody,
I've started reading about Drools and I quite didn't understand if it's
appropriate for a work I want to do...
I'm posting this in order to get some feedback about what other people may
think about it.
So heres what I need:
I need to develop some sort of application (A) to be used
These attributes were added in M1 or M2 so yes, need to update.
On 7/28/10 10:54 AM, Stephen Mcgruer wrote:
> Kris,
>
> Thanks for the post, but I have tried something like that:
>
>xmlns:xs='http://www.w3.org/2001/XMLSchema-instance'
> xs:schemaLocation='http://drool
Hi there,
Sorry for so many questions today. How would one compare dates in a
Drools when/then rule? I have an object, Tool, that has a last used
field which is a java.sql.Date (yes, this is a fairly bad type for it
to be. Long story.). I want to write a rule to check if there is a
Tool th
Kris,
Thanks for the post, but I have tried something like that:
And unfortunately this didn't work! D=
Sudden thought - I am running the old Drools jar files - 5.0.1. Would
these need to be updated to work with Guvnor 5.1?
Stephen
Quoting Kris Verla
drools-spring.xsd is in the eclipse classpath... am facing the same problem
like
"Referenced file contains errors
(http://drools.org/schema/drools-spring.xsd). For more information, right
click on the message in the Problems View and select "Show Details..."
The above error is stopping me to i
1. If there is no answer for this, I will resurrect
"JPAKnowledgeServiceBean", cause it is actually one place to deal with
creating / reloading Sessions + it has a good simple APIs:
createNew...()
load...( id )
hence makes sense.
2. Under the covers it'll have to probably use
Hi all,
I found a preview of the Guvnor /Oryx integration here
(http://blog.athico.com/2010/06/browser-based-bpmn2-authoring-in-drools.html).
I tried Drools Guvnor 5.1.0.CR1, but there is nothing about this integration,
one can only view the flow diagram.
Can any of you tell when the integrat
Hello list,
I'm using Drools.5.0.1 and I am trying to comprehend how to used the
"from" keyword over a named query.
I've googled this:
http://blog.athico.com/2007/06/chained-from-accumulate-collect.html
where it states:
p : Person( )
Restaurant( food == p.favouriteFood )
from
Thanks Esteban and Jervis, that worked. Just in case it's important,
the repository file and directory were actually in the $TOMCAT_HOME
folder, not under bin.
Cheers,
Stephen
Quoting Esteban Aliverti :
> Go to $TOMCAT_HOME/bin and remove *repository.xml* file and
> *respository*directory.
>
Go to $TOMCAT_HOME/bin and remove *repository.xml* file and
*respository*directory.
Best,
Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com
On Wed, Jul 28, 2010 at 7:51 AM, Jervis Liu wrote:
> Stephen Mcgr
I see. My uses will be a lot simpler since I will only use the Drools Expert
subset of the rules engine. What I am doing now is to come up with some
classes to represent a rule and its components, then come up with an xml
schema to represent that. We are using C# for the front end where the users
Stephen,
Something like this:
Kris
- Original Message -
From: "Stephen Mcgruer"
To:
Sent: Wednesday, July 28, 2010 1:09 PM
Subject: [rules-users] 401 error when attempting to get PKG for changeset.
>I have the following changeset:
>
> xmlns:xs='http:/
As an update, I found this post -
http://comments.gmane.org/gmane.comp.java.drools.user/20163 - and so I tried:
Doesn't work. Same 401 error as before.
Stephen
Quoting Stephen Mcgruer :
> I have the following changeset:
>
> xmlns:xs='http:
I have the following changeset:
I just updated to the RC of Guvnor, and my PKG address now demands a
username and
password when I try and access it. Anything works, which is fine, but
how do I edit the
changeset so that it gives the details? At the mome
Stephen Mcgruer wrote:
> Hi there,
>
> I'm migrating to Guvnor RC atm, and was wanting to completely clear
> out my Guvnor Packages files before I did so - I wanted everything
> gone. I thought that all information was stored in the Guvnor folder
> created in Tomcat/webapps, so I deleted that
Thomas,
as far as I understood, I don't have to use update(p), to update it :) After
using update method, there is infinite loop in my rules (I am talking about
DRL).
# this method doesn't change CProduct object
rule "Case A"
salience 1
activation-group "g1"
when
p : CProduct( name ==
Hi there,
I'm migrating to Guvnor RC atm, and was wanting to completely clear
out my Guvnor Packages files before I did so - I wanted everything
gone. I thought that all information was stored in the Guvnor folder
created in Tomcat/webapps, so I deleted that, restarted the server and
dragg
There are two other solutions if you do need the p:
1. Change your condition to be "name matches $param", this will match as
a regular expressions. Your general case can then be ".*".
2. Merge your p:CProduct across two columns. Have a condition of "this
!= $param" for the first co
I think that Sean worries about the overhead of n*1000 calls to fireAllRules, as
opposed to a single call. Also, a different heap usage/GC pattern
could impact timing.
A potential benefit of the second approach would be that results from
first firings are available sooner than with the 1st approac
Hello,
well, You are right, but what if I want to use object's method in ACTION
section like this:
CONDITION ACTION ACTIVATION-GROUP PRIORITYp:CProduct name
System.out.println(p.getName()
+ " " + "$param"); Rules names
Product name what to print
Case A
A
Special A
G1 1 C
Hi,
The create table statement is generated by hibernate, so you won't see a sql
script file for it.
With the hbm2ddl.auto set to create, it will means that hibernate auto
create the table for you if it's not there.
The table structure should closely match the hbm.xml file or whichever class
that
We are trying to build a Guvnor like application which is a super set in
terms of functionality.We have couple of home grown rule engines and all of
them represent the rules in a different format (they are all represented in
XML format but every one has their own XSDs). Now we are trying to come
On 27/07/2010 22:36, Andargor wrote:
> Second try, sorry for spamming. Does anyone have an idea why serialization of
> a large knowledge base fails with a stack error?
It's to do with Java's poor ability to serialise linked lists:
https://jira.jboss.org/browse/JBRULES-2335
https://jira.jboss.org
fireAllRules will only fire all the rules that where activated during the
insertion phase. So basically when you call it at the end, it will only fire
all those rules activated. If you insert a fact that doesn't activate any
rule you don't need to call fire all rules.
On Tue, Jul 27, 2010 at 1:54
Thanks Kris. Will take a look at it. Earlier I was thinking to get the CR1
release but will take the latest trunk.
Vijay
From: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Kris Verlaenen
Sent: Tuesday, July 27, 2010 8:27 AM
To: Rules Users List
S
you can remove p, because in the spreadsheet you are not using it..
in the rules you use p to print the type of the product but in the
spreadsheet you are hardcoding the value in the "what to print" column
2010/7/27 tom ska
> Hello,
> I want to use StatelessSession with spreadsheet. I wrote few
37 matches
Mail list logo