Hello,
I have given it a try with JBoss Rules 4.0.0 and this time, both facts
are retracted! Congratulations for this exciting new version.
Regards,
Alexandre
On 5/24/07, A Gattiker <[EMAIL PROTECTED]> wrote:
Hello,
I am trying to use assertLogical in combination with a
WorkingMemoryEventList
Hi,
Could u please help me with an Real time examples .Very Urgent
Regards,
suma
Hehl, Thomas wrote:
>
> In my opinion, use a decision table if at all possible. They are easier to
> maintain and understand at a glance and can be reviewed by a power user
> instead of a programmer.
>
> I inj
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
Hi,
I'm getting many of these errors when running the Sudoku Example
java.lang.NullPointerException
at org.drools.reteoo.ReteTuple.get(ReteTuple.java:71)
at org.drools.common.InstanceNotEqualsConstraint
$InstanceNotEqualsConstraintContextEntry.updateFromTuple
(InstanceNotEqualsConstrai
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
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
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
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
On 5/24/07, Scott Reed <[EMAIL PROTECTED]> wrote:
Unless I never looked at the name except in the source code, I don't see
the much point in having
two names that can be distinguished (due to hashcode inclusion) but have
been semantically
disconnected from the source code rules. If an error occu
Okay. In the meantime a simple workaround (for those that may find it
useful) is to put the newly added WorkingMemory into a separate
hashtable of WorkingMemories (sp?). WHen Facts come in, I just retrieve
the appropriate workingMemory per the incoming identifier, assert the
Fact and fire all rules
Rules are supposed to be declarative in nature. You should never need to
add control statements, neither to the LHS ("when"), nor to the RHS
("then"), although, the RHS being a java code block allows you to do it...
but it is usually code smell...
Think about what you are doing and check if y
Seems like a hashcode() problem... can you get a self contained test case
and open a JIRA for it?
[]s
Edson
2007/5/24, Jones, Alan R <[EMAIL PROTECTED]>:
Hi,
I have a method in my code that creates a RuleBase, then adds a new
WorkingMemory. I then put that that RuleBase into a Hashtabl
You probably need to start eclipse with a '-clean' option or something
like that...
Regarding the migration, there are some changes that are not backward
compatible, but it should not be too difficult to do it. The main one is
that 3.0.x automatically wraps any primitive value into the corr
Unless I never looked at the name except in the source code, I don't see the much point in having
two names that can be distinguished (due to hashcode inclusion) but have been semantically
disconnected from the source code rules. If an error occurs in one of those rules, how will you know
which
from what I understand, in the when clause you can only have predicates.
So, you can create a function that does that and somehow returns a boolean
and then evaluate the boolean to be true
using eval.
-Krishnan.
On 5/23/07, Rajesh.Sachin10 <[EMAIL PROTECTED]> wrote:
We can write the Java fun
We’re having a class loader issue compiling rules that use dynamically
generated java beans as facts when deploying our application on JBoss
Application Server, versions 4.0.3SP1 and 4.0.5. We’re using JBoss Rules
4.0.0.MR2 and the Janino compiler. When deploying to WebLogic 9.2, there
are no
We can write the Java functions in [then] condition of the dsl file.
Is it possible to write JAVA functions / JAVA kind of coding in the [when]
condition of dsl file?
eg: [when] for(int i = 0; i < 3; i++) { System.out.println(i); }
[then] Log "{message}"
--
View this message in context
Hi,
I have a method in my code that creates a RuleBase, then adds a new
WorkingMemory. I then put that that RuleBase into a Hashtable for later
use. Another method receives a Fact along with a reference for an
associated rulebase. One these are received, I get the rulebase from the
hashtable, the
I tried the same thing but could not migrate cleanly.
I dropped the plugin in the plugin directory and restarted eclipse. I see
two Rule icons in my eclipse workspace. I closed it and deleted the
3.0.5plugin from the plugin directory but it still would not go away.
Not sure
how to get rid of it.
Yeah, I like that idea as well!
On 5/24/07, Edson Tirelli <[EMAIL PROTECTED]> wrote:
Geoffrey, that is actually a nice Idea... :)
Will look at implementing it.
Thanks,
Edson
2007/5/24, Geoffrey Wiseman < [EMAIL PROTECTED]>:
>
> Just a thought -- you could always do somet
Any catches in migrating from 3.0.5 to 4.0.0? Anything special if you have
a JBoss Rules Eclipse project when upgrading?
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Hello,
I am trying to use assertLogical in combination with a
WorkingMemoryEventListener in order to have business rules drive my
application: if conditions, then do something; if conditions not true
anymore, then do something else.
However, it seems that if the rule is activated multiple times,
Geoffrey, that is actually a nice Idea... :)
Will look at implementing it.
Thanks,
Edson
2007/5/24, Geoffrey Wiseman <[EMAIL PROTECTED]>:
Just a thought -- you could always do something like include the string's
hashcode in the rulename, to ensure that two names that are simil
Just a thought -- you could always do something like include the string's
hashcode in the rulename, to ensure that two names that are similar with
special-character differences won't conflict with each other.
On 5/24/07, Edson Tirelli <[EMAIL PROTECTED]> wrote:
Ronald,
Special charact
Edson,
One someone else on my team came up with is using abbreviated names like:
LE for <=
GE for >=
EQ for ==
etc., etc., etc.
Ron
On 5/24/07, Edson Tirelli <[EMAIL PROTECTED]> wrote:
Ronald,
Special characters in the rule names are replaced by '_' as a class
will be created with
Ronald,
Special characters in the rule names are replaced by '_' as a class will
be created with that name. So yes, the given names will generate conflicts.
I'm not sure we can do much about it, as transparently generating unique
names may cause silent unexpected problems.
For now, m
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossRules
"The version has been jumped from 3.1 to 4.0, due to an API change and
so many new features:"
Ronald R. DiFrango wrote:
I read in the blog spot
[http://markproctor.blogspot.com/2007_02_01_archive.html] that "multi
restriction connective field
I read in the blog spot [
http://markproctor.blogspot.com/2007_02_01_archive.html] that "multi
restriction connective field constraints with & and |" will be available in
3.1. Yet I do not see a 3.1 release any where. Has this been moved into
the 4.x release?
-- Forwarded message --
From: Ronald R. DiFrango <[EMAIL PROTECTED]>
Date: May 24, 2007 10:48 AM
Subject: More Fun with JBoss Rules IDE and JBoss Rules in general
To: [EMAIL PROTECTED]
All,
I am now getting the following error:
The type Rule_RNR_QtyRNR_Adjustment_Qty___100__
why are you using drools 2.1?
Mark
kranthikumar dalai wrote:
Hi to all,
Can i have any simple project that is developed under spring
and drools 2.1 and java with Database.
Regards:
Kranthi Dalai
Yes, we know error messages are still not good and we are working on
improving them.
[]s
Edson
2007/5/24, Ronald R. DiFrango <[EMAIL PROTECTED]>:
On a similar note, it would be good if the line numbers were displayed so
I could find the error much easier. [I do not that is TONS easie
On a similar note, it would be good if the line numbers were displayed so I
could find the error much easier. [I do not that is TONS easier than in the
old 2.x days]
On 5/24/07, Ronald R. DiFrango <[EMAIL PROTECTED]> wrote:
Edson,
Actually, I am glad it caught it, because that was not my inte
Edson,
Actually, I am glad it caught it, because that was not my intent at all. I
was a global search and replace issue on my part.
If you added in support for these operations, I still think a warning would
be in order because that may not be what you intended,
I am considering the move to 4.
Ronald,
I see now. Version 3.0.x still used integer codes for operators and that
is the reason the error message is saying operator '50'.
So, the problem is you are trying to use >= (operator 50) with a string
attribute:
public static final int EQUAL= 1;
public static
Both are good solutions, otherwise we wouldn't offer them :) So it all
depends more on your problem domain.
Mark
suma wrote:
Hi,
I'm struck up here whether to go with DSL or decision tables.Please do tell
me which one is the best one to proceed with and why. If DSL then please
give me some ex
Hi to all,
Can i have any simple project that is developed under spring and
drools 2.1 and java with Database.
Regards:
Kranthi Dalai
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-us
Kranthi,
I don't know if there is any example available, but it should be as
straight forward as either saving your DRL as text in the database or
serializing your rulebases in blob fields.
Alternativelly, if you are not looking for immediate production, I would
recommend you take a look a
Hi to all,
We wrote all the rules for leave application system. In which
way we can organize and store all the rules in database. Can i have any
example snippets of DAO implemention in drools rules.
Regards:
Kranthi Dalai
___
rules-use
In my opinion, use a decision table if at all possible. They are easier to
maintain and understand at a glance and can be reviewed by a power user
instead of a programmer.
I inject my decision table spreadsheet into my program using Spring so that
I can switch it up if I need to.
-Original Me
Hi,
Could u please help me in drools and spring integration by giving some
examples
Thanks,
suma
--
View this message in context:
http://www.nabble.com/DROOLS-AND-SPRING-INTEGRATION-tf3809566.html#a10782082
Sent from the drools - user mailing list archive at Nabble.com.
__
Hi,
I'm struck up here whether to go with DSL or decision tables.Please do tell
me which one is the best one to proceed with and why. If DSL then please
give me some examples.
--
View this message in context:
http://www.nabble.com/DSL-OR-DECISION-TABLES-tf3809558.html#a10782045
Sent from the d
41 matches
Mail list logo