[rules-users] Integrate drools into existing app

2009-05-21 Thread Ian Spence
I have been asked to integrate Drools into an existing webapp. We are
thinking about using Spring (already implemented).

I have read in the Drools 4 documentation, the RuleAgent should be kept in a
Singleton or JNDI or similar.
i.e. from 4.0 docs
IMPORTANT: You should only have one instance of the RuleAgent per rulebase
you are using. This means you should (for example) keep the agent in a
singleton, JNDI (or similar). In practice most people are using frameworks
like Seam or Spring - in which case they will take care of managing this for
you (in fact in Seam - it is already integrated - you can inject rulebases
into Seam components). Note that the RuleBase can be used multiple times by
multiple threads if needed (no need to have multiple copies of it).

I have upgraded to Drools 5.0.  Is the Singleton still required in 5.0 ?  I
cannot see any mention of it there.

Has any had any experience with Drools 5.0 and Spring?  Any advice?

-- 
Regards,
Ian Spence
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Not able to build documentation from version 5.0 source

2009-05-21 Thread dpointzero-drools
Hi,
  I am new to Drools and I am not able to build the documentation from the 
source code.

  The versions of the various software I am using are as follows:
- Drools: 5.0.1.26597.FINAL.
- Maven: 2.1.0
- OS: Mac OS X 10.5.7 (on an Intel-Mac)
- Java: 1.5.0_16

  The error messages I see when trying to build the documentation are as 
follows:



~/Developmen.../drools-5.0-src\mvn -e -Ddocumentation clean package
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] The projects in the reactor contain a cyclic reference: Edge between 
'Vertex{label='org.drools:docbook-style-drools'}' and 
'Vertex{label='org.drools:docbook-style-drools'}' introduces to cycle in the 
graph org.drools:docbook-style-drools -- org.drools:docbook-style-drools
[INFO] 
[INFO] Trace
org.apache.maven.BuildFailureException: The projects in the reactor contain a 
cyclic reference: Edge between 
'Vertex{label='org.drools:docbook-style-drools'}' and 
'Vertex{label='org.drools:docbook-style-drools'}' introduces to cycle in the 
graph org.drools:docbook-style-drools -- org.drools:docbook-style-drools
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:323)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: hidden.org.codehaus.plexus.util.dag.CycleDetectedException: Edge 
between 'Vertex{label='org.drools:docbook-style-drools'}' and 
'Vertex{label='org.drools:docbook-style-drools'}' introduces to cycle in the 
graph org.drools:docbook-style-drools -- org.drools:docbook-style-drools
at hidden.org.codehaus.plexus.util.dag.DAG.addEdge(DAG.java:127)
at hidden.org.codehaus.plexus.util.dag.DAG.addEdge(DAG.java:107)
at 
org.apache.maven.project.ProjectSorter.addEdgeWithParentCheck(ProjectSorter.java:351)
at org.apache.maven.project.ProjectSorter.init(ProjectSorter.java:161)
at org.apache.maven.execution.ReactorManager.init(ReactorManager.java:99)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
... 10 more
[INFO] 
[INFO] Total time: 2 seconds
[INFO] Finished at: Tue May 19 17:48:42 EDT 2009
[INFO] Final Memory: 9M/247M
[INFO] 
~/Developmen.../drools-5.0-src\




  Any pointer is appreciated. Thanks!

regards,
Daniel


  ___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Class loading for facts used in rules

2009-05-21 Thread Wolfgang Laun
You are confusing several issues here. I take it that the ClassCastException
is
an error that occurs while you insert facts. At that time, all rule
compiling has
been done and the rulebase has been built. A ClassCastException is not a
problem of some class or other being loaded (by Java's own class loader);
it happens when you assign an object reference to a variable, and at that
time
all involved classes have been loaded.

Most importantly, rules are never called. When you insert a fact, all
Left Hand Side patterns where the fact's type (or supertype) is referenced
are evaluated against this fact. It's possible that this error occurs then,
for instance, if you use the Conditional Element or. Or it could happen
in a function called from there. We'd have to see the rules for a better
guess.

-W


On Thu, May 21, 2009 at 10:29 AM, seemamani seemam...@gmail.com wrote:


 I have a rule in which I use objects of a class X. I compiled and packaged
 this rule using BRMS for which I uploaded a jar containing class X as the
 model. I use a rule agent to build a rulebase from this package. Now, when
 I
 pass the facts of type X to the rule engine, I get a ClassCastException
 saying that X is incompatible with Y. Y is a subclass of X, but the
 problem is that a subclass object cannot be assigned to a superclass type.
 That means at some point, Y is getting loaded instead of X.

 I'm trying to identify at which point this is happening. In the above case,
 when does the class loading happen for the types used in a rule? Is it at
 step 1, 2 or 3 ?
 1. When the rule is compiled using MVEL?
 2. When the rule is called the first time?
 3. When the rulebase is built from the package?

 Thanks,
 Seema
 --
 View this message in context:
 http://www.nabble.com/Class-loading-for-facts-used-in-rules-tp23649584p23649584.html
 Sent from the drools - user mailing list archive at Nabble.com.

 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] variable binding without condition in Decision table

2009-05-21 Thread kfs2
I have a decision table where I need to bind a variable to use in the 
action.  The problem is that the binding does not happen unless I apply a 
condition.  What I want in the resulting rule is this:

$serviceContract: CreditServiceContract ( )

This is what I want but does not work.  The binding does not happen so the 
rule does not compile.

This works but I hate to add an arbitrary condition just to accomplish a 
binding.



I'm sure I am just missing something.  Can someone point that out? 

Thanks



Kent Symanzik
image/gifimage/gif___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


RE: [rules-users] variable binding without condition in Decision table

2009-05-21 Thread Hehl, Thomas
Nope, that's how it works. I wrote it up as a defect and it got closed
because no one seemed to think it was an issue. So, since I don't have
the time available to be a contributor, I decided not to complain.

 



From: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of
k...@chryslerfinancial.com
Sent: Thursday, May 21, 2009 9:05 AM
To: Rules Users List
Subject: [rules-users] variable binding without condition in Decision
table

 


I have a decision table where I need to bind a variable to use in the
action.  The problem is that the binding does not happen unless I apply
a condition.  What I want in the resulting rule is this: 

$serviceContract: CreditServiceContract ( ) 

This is what I want but does not work.  The binding does not happen so
the rule does not compile. 
 
This works but I hate to add an arbitrary condition just to accomplish a
binding. 
 


I'm sure I am just missing something.  Can someone point that out? 

Thanks 



Kent Symanzik

image001.gifimage002.gif___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Problems with ruleflow

2009-05-21 Thread Wolfgang Laun
There is an all too easily overlooked sentence in the Drools Flow User Guide
in Section 3.2, whereas the code samples don't feature this call at all.
-W

2009/5/21 David Sinclair dsincl...@chariotsolutions.com

 You are missing the kession.fireAllRules() after the
 ksession.startProcess(bmi.testflow, parameters);in FeverRunner


 On Thu, May 21, 2009 at 7:16 AM, Femke De Backere femm...@gmail.comwrote:

 The strange thing is, if I embed the ruleflowgroup in another project, it
 works perfectly.

 Then I removed the other components systematically and the project stops
 working... I really don't get this.

 Please help!

 Femke

 Op 21-mei-09, om 12:44 heeft Femke De Backere het volgende geschreven:

  Hi,

 I have a problem with an easy Rule flow project (source code included in
 this mail). The only thing that should happen is the execution of a rule
 flowgroup, but my application ends before executing the group... Does
 anybody see the problems? I tried every possible adaptation and based this
 problem on a similar, working feverapplication... But is still doesn't work
 and I really can't find the problem.

 Thx,

 Femke

 src
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users


 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users



 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Problems with ruleflow

2009-05-21 Thread Femke De Backere

Thx,

It is strange, because I didn't use it in the other program. But  
thanks anyway!!!


Femke

Op 21-mei-09, om 15:23 heeft David Sinclair het volgende geschreven:

You are missing the kession.fireAllRules() after the  
ksession.startProcess(bmi.testflow, parameters);in FeverRunner


On Thu, May 21, 2009 at 7:16 AM, Femke De Backere  
femm...@gmail.com wrote:
The strange thing is, if I embed the ruleflowgroup in another  
project, it works perfectly.


Then I removed the other components systematically and the project  
stops working... I really don't get this.


Please help!

Femke

Op 21-mei-09, om 12:44 heeft Femke De Backere het volgende geschreven:

Hi,

I have a problem with an easy Rule flow project (source code  
included in this mail). The only thing that should happen is the  
execution of a rule flowgroup, but my application ends before  
executing the group... Does anybody see the problems? I tried every  
possible adaptation and based this problem on a similar, working  
feverapplication... But is still doesn't work and I really can't  
find the problem.


Thx,

Femke

src
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] can drools support complex rules (resetting of Accumulate?)

2009-05-21 Thread hrishikesh.varma
Hi,


Temporal Reasoning with Accumulate - (like 3- rule Customer login from
more than 5 locations in the last one month)

What if I want to reset my count for accumulate within the time
specified sliding window.So that I can have the RHS triggered for every
10times the event occurs in the same window.
For Example:

when
$customer : Customer( $id : id )
 Number( intValue  10 ) from accumulate(
 CustomerLogin( loginStatus==Failed, customerId ==
$id,$cusId:customerId)
over window:time( 30s ),
 count( $ cusId) )
then
// do something as the customer had abnormal number of failed
violations in last 30 secs.
end


Right now am doing something similar, but using a manual approach -of
explicitly counting. 

Any Light on this?

Regards
Rishi
--

Message: 1
Date: Tue, 19 May 2009 11:17:41 -0400
From: Edson Tirelli tire...@post.com
Subject: Re: [rules-users] can drools support complex rules
To: Rules Users List rules-users@lists.jboss.org
Message-ID:
e6dd5ba30905190817q33d15b9er5efee64bc74cd...@mail.gmail.com
Content-Type: text/plain; charset=windows-1252

 Your question is funny. First you ask if Drools is capable of
managing
complex rules and then you mention examples of extremely simple rules?
:)

 Drools is FOL complete and so can represent any well formed First
Order
Logic expression. Anyway, I will use this message to advertise some of
the
temporal reasoning features that we have on Drools 5 for the benefit of
anyone interested.

 There are several ways of authoring such rules, depending on how
you
model your problem domain. One possible way of doing them is:

#1:
rule If a customer login within 5 minutes from two different locations,
mark the user invalid.
when
 $l1 : CustomerLogin( )
 $l2 : CustomerLogin( userId == l1.$id, location != $l1.id,
timestamp
after[0s, 5m] $l1.timestamp )
then
 // mark user as invalid
end

In the previous example I assumed both login objects would be in working
memory, but you can easily query for the previous login in an external
datasource, pulling the data from the previous login on-demand for the
reasoning cycle.

#2:
rule If the customer location is not on a list of valid locations, mark
the
user invalid
when
  $l : CustomerLogin( location not memberOf $validLocations )
then
  // mark the user invalid
end

In the above rule, I assume the valid locations list is a global list,
but
you can as easily model locations as being facts on your working memory
or a
service end point that you can call to validate the location.

#3:
rule Customer login from more than 5 locations in the last one month
when
$customer : Customer( $id : id )
$locations : Set( size  5 ) from accumulate(
 CustomerLogin( customerId == $id, $loc : location )
over window:time( 30d ),
 collectSet( $loc ) )
then
// do something as the customer logged in from more than 5 locations
in
the last 30 days
end

In the previous rule I decided to use sliding windows, just to show how
that
feature can be used to simplify rules, but again, there are several ways
of
doing it.

I strongly recommend you read Drools manual.

http://www.jboss.org/drools/documentation.html

Cheers,
Edson



2009/5/19 Bhushan Bhangale bhushan_bhang...@kaleconsultants.com

  Hi,



 I recently came across Drools. I gone through the documentation and
the
 examples provide are quite simple. I want to know if it can be really
 applied to complex real world problems.



 Take for example,



 If a customer login within 5 minutes from two different locations,
mark the
 user invalid.

 How can I write the above rule in drools? I have the data when the
user
 last logged in and the data of current login. You can say two objects.



 May be my understanding is wrong but looks like based on rule I have
to
 pass all the required data. How can then at real time new rules can be
 added?



 For example,



 If the customer location is not on a list of valid locations, mark the
user
 invalid.



 For the above rule I need to pass a list of valid locations as well.



 Now how about Customer login from more than 5 locations in the last
one
 month?



 Thanks

 *Mr. Bhangale Bhushan*
 *Associate Manager*
 *Kale Consultants Ltd.*
 bhushan_bhang...@kaleconsultants.com
 tel: +91 (0)206 608
3777http://www.plaxo.com/click_to_call?lang=ensrc=jj_signatureTo=%2B9
1+%280%29206+608+3777email=bhushan_bhang...@kaleconsultants.com
 http://www.kaleconsultants.com









 Disclaimer: This email (including any attachments) is intended for the
sole
 use of the recipient/s and may contain material that is CONFIDENTIAL.
Any
 unauthorized disclosure / copying / distribution or forwarding of this
message
 or part is STRICTLY PROHIBITED. If you have erroneously received this
message,
 please delete it immediately and notify the sender. No liability is
assumed for
 any errors 

Re: [rules-users] can drools support complex rules (resetting of Accumulate?)

2009-05-21 Thread Wolfgang Laun
Well, it's definitely not forbidden to do a little computational work on the
RHS, too.

Bind the result to a variable:
Number( $times : intValue  10 )...
and, on the RHS, do
for( int i = 1; i = $times % 10; i++ ) shout( alarm );
or whatever.

-W


On Thu, May 21, 2009 at 4:21 PM, hrishikesh.va...@wipro.com wrote:

 Hi,


 Temporal Reasoning with Accumulate - (like 3- rule Customer login from
 more than 5 locations in the last one month)

 What if I want to reset my count for accumulate within the time
 specified sliding window.So that I can have the RHS triggered for every
 10times the event occurs in the same window.
 For Example:

 when
$customer : Customer( $id : id )
 Number( intValue  10 ) from accumulate(
 CustomerLogin( loginStatus==Failed, customerId ==
 $id,$cusId:customerId)
 over window:time( 30s ),
 count( $ cusId) )
 then
// do something as the customer had abnormal number of failed
 violations in last 30 secs.
 end


 Right now am doing something similar, but using a manual approach -of
 explicitly counting.

 Any Light on this?

 Regards
 Rishi
 --

 Message: 1
 Date: Tue, 19 May 2009 11:17:41 -0400
 From: Edson Tirelli tire...@post.com
 Subject: Re: [rules-users] can drools support complex rules
 To: Rules Users List rules-users@lists.jboss.org
 Message-ID:
e6dd5ba30905190817q33d15b9er5efee64bc74cd...@mail.gmail.com
 Content-Type: text/plain; charset=windows-1252

 Your question is funny. First you ask if Drools is capable of
 managing
 complex rules and then you mention examples of extremely simple rules?
 :)

 Drools is FOL complete and so can represent any well formed First
 Order
 Logic expression. Anyway, I will use this message to advertise some of
 the
 temporal reasoning features that we have on Drools 5 for the benefit of
 anyone interested.

 There are several ways of authoring such rules, depending on how
 you
 model your problem domain. One possible way of doing them is:

 #1:
 rule If a customer login within 5 minutes from two different locations,
 mark the user invalid.
 when
 $l1 : CustomerLogin( )
 $l2 : CustomerLogin( userId == l1.$id, location != $l1.id,
 timestamp
 after[0s, 5m] $l1.timestamp )
 then
 // mark user as invalid
 end

 In the previous example I assumed both login objects would be in working
 memory, but you can easily query for the previous login in an external
 datasource, pulling the data from the previous login on-demand for the
 reasoning cycle.

 #2:
 rule If the customer location is not on a list of valid locations, mark
 the
 user invalid
 when
  $l : CustomerLogin( location not memberOf $validLocations )
 then
  // mark the user invalid
 end

 In the above rule, I assume the valid locations list is a global list,
 but
 you can as easily model locations as being facts on your working memory
 or a
 service end point that you can call to validate the location.

 #3:
 rule Customer login from more than 5 locations in the last one month
 when
$customer : Customer( $id : id )
$locations : Set( size  5 ) from accumulate(
 CustomerLogin( customerId == $id, $loc : location )
 over window:time( 30d ),
 collectSet( $loc ) )
 then
// do something as the customer logged in from more than 5 locations
 in
 the last 30 days
 end

 In the previous rule I decided to use sliding windows, just to show how
 that
 feature can be used to simplify rules, but again, there are several ways
 of
 doing it.

 I strongly recommend you read Drools manual.

 http://www.jboss.org/drools/documentation.html

 Cheers,
 Edson



 2009/5/19 Bhushan Bhangale bhushan_bhang...@kaleconsultants.com

   Hi,
 
 
 
  I recently came across Drools. I gone through the documentation and
 the
  examples provide are quite simple. I want to know if it can be really
  applied to complex real world problems.
 
 
 
  Take for example,
 
 
 
  If a customer login within 5 minutes from two different locations,
 mark the
  user invalid.
 
  How can I write the above rule in drools? I have the data when the
 user
  last logged in and the data of current login. You can say two objects.
 
 
 
  May be my understanding is wrong but looks like based on rule I have
 to
  pass all the required data. How can then at real time new rules can be
  added?
 
 
 
  For example,
 
 
 
  If the customer location is not on a list of valid locations, mark the
 user
  invalid.
 
 
 
  For the above rule I need to pass a list of valid locations as well.
 
 
 
  Now how about Customer login from more than 5 locations in the last
 one
  month?
 
 
 
  Thanks
 
  *Mr. Bhangale Bhushan*
  *Associate Manager*
  *Kale Consultants Ltd.*
  bhushan_bhang...@kaleconsultants.com
  tel: +91 (0)206 608
 3777http://www.plaxo.com/click_to_call?lang=ensrc=jj_signatureTo=%2B9
 

[rules-users] RuleBase.removeRule leads to NoClassDefFoundError

2009-05-21 Thread Steinar Haugen

Hi,

We're having a problem with runtime rule administration; i.e. using
RuleBase.addRule and RuleBase.removeRule.

We're using Drools 4.0.7 on Sun JDK 1.4.2_11 and inside Weblogic 8.1 sp 6.

Typically we remove a few rules followed by adding a few rules. In some
cases, we receive a NoClassDefFoundError. Stacktrace is provided in attached
file. 

http://www.nabble.com/file/p23657476/stacktrace.txt stacktrace.txt 

The class referenced (i.e. the one not found) is the removed rule.

Has anyone else seen this behaviour?

This seems like such a basic error that we're wondering if we're doing
something wrong here. We have been unable to find anything about this 

To make matters worse, this actually leads to a deadlock. This is because
lock / unlock in version 4.0.7 is not encapsuled in a try / finally block in
AbstractRuleBase.removeRule(), so whenever an error occurs, the lock is not
released. 

I found a Jira issue regarding this, where this issue is addressed and
apparently fixed in an earlier version:
https://jira.jboss.org:8443/jira/browse/JBRULES-603

This fix has been rolled back, however, so this issue is present in version
4.0.7.

We found a workaround for the deadlock by performing lock / unlock
ourselves, since drools will not lock if it has been performed already. 

In addition, we encapsulate rulebase access with a read/write lock to ensure
that whenever the rulebase is updated, no other operation towards it is
performed.

Regards,
Steinar Haugen



-- 
View this message in context: 
http://www.nabble.com/RuleBase.removeRule-leads-to-NoClassDefFoundError-tp23657476p23657476.html
Sent from the drools - user mailing list archive at Nabble.com.

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] [users-rules] Loading time ruleflow

2009-05-21 Thread Femke De Backere

Hi!

I'm testing the loading time of the line:  
kbuilder.add(ResourceFactory.newClassPathResource(nodesflow.rf,  
DroolsTest.class), ResourceType.DRF ); for a rule flow file with 1  
split node, 3 split nodes, 7 split nodes, ...


But the results I already have are confusing:
1 split node
26071960,8  

1   


3 split nodes
1018762000
40, 85676594 times the time of 1 split node flow
7 split nodes
4974479,4
1,907968479 times the time of 1 split node flow

Can anybody explain why the 3 split node rule flow file takes a lot  
longer than the 7 split rule flow file?


Thx,

Femke

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] can drools support complex rules (resetting of Accumulate?)

2009-05-21 Thread hrishikesh.varma
. I gone through the documentation and
 the
  examples provide are quite simple. I want to know if it can be
really
  applied to complex real world problems.
 
 
 
  Take for example,
 
 
 
  If a customer login within 5 minutes from two different locations,
 mark the
  user invalid.
 
  How can I write the above rule in drools? I have the data when the
 user
  last logged in and the data of current login. You can say two
objects.
 
 
 
  May be my understanding is wrong but looks like based on rule I have
 to
  pass all the required data. How can then at real time new rules can
be
  added?
 
 
 
  For example,
 
 
 
  If the customer location is not on a list of valid locations, mark
the
 user
  invalid.
 
 
 
  For the above rule I need to pass a list of valid locations as well.
 
 
 
  Now how about Customer login from more than 5 locations in the last
 one
  month?
 
 
 
  Thanks
 
  *Mr. Bhangale Bhushan*
  *Associate Manager*
  *Kale Consultants Ltd.*
  bhushan_bhang...@kaleconsultants.com
  tel: +91 (0)206 608

3777http://www.plaxo.com/click_to_call?lang=ensrc=jj_signatureTo=%2B9

1+%280%29206+608+3777email=bhushan_bhang...@kaleconsultants.comhttp://
www.plaxo.com/click_to_call?lang=ensrc=jj_signatureTo=%2B9%0A1+%280%29
206+608+3777email=bhushan_bhang...@kaleconsultants.com
 
  http://www.kaleconsultants.com
 
 
 
 
 
 
 
 
 
  Disclaimer: This email (including any attachments) is intended for
the
 sole
  use of the recipient/s and may contain material that is
CONFIDENTIAL.
 Any
  unauthorized disclosure / copying / distribution or forwarding of
this
 message
  or part is STRICTLY PROHIBITED. If you have erroneously received
this
 message,
  please delete it immediately and notify the sender. No liability is
 assumed for
  any errors and/or omissions in the contents of this message.
 Information in
  this message that does not relate to the official business of this
 Company
  shall be understood as neither given nor endorsed by it. If
 verification is
  required please request a hard-copy version.
 
  To know more about Kale Consultants, visit www.kaleconsultants.com
 
  --
 
 
 
 
 
  ___
  rules-users mailing list
  rules-users@lists.jboss.org
  https://lists.jboss.org/mailman/listinfo/rules-users
 
 


 --
  Edson Tirelli
  JBoss Drools Core Development
  JBoss, a division of Red Hat @ www.jboss.com
 -- next part --
 An HTML attachment was scrubbed...
 URL:

http://lists.jboss.org/pipermail/rules-users/attachments/20090519/4d4928

6d/attachment-0001.htmlhttp://lists.jboss.org/pipermail/rules-users/att
achments/20090519/4d4928%0A6d/attachment-0001.html

 --

 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users


 End of rules-users Digest, Vol 30, Issue 56
 ***

 Please do not print this email unless it is absolutely necessary.

 The information contained in this electronic message and any
attachments to
 this message are intended for the exclusive use of the addressee(s)
and may
 contain proprietary, confidential or privileged information. If you
are not
 the intended recipient, you should not disseminate, distribute or copy
this
 e-mail. Please notify the sender immediately and destroy all copies of
this
 message and any attachments.

 WARNING: Computer viruses can be transmitted via email. The recipient
 should check this email and any attachments for the presence of
viruses. The
 company accepts no liability for any damage caused by any virus
transmitted
 by this email.

 www.wipro.com

 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

-- next part --
An HTML attachment was scrubbed...
URL:
http://lists.jboss.org/pipermail/rules-users/attachments/20090521/cd3adb
ca/attachment-0001.html

--

Message: 2
Date: Thu, 21 May 2009 10:42:34 -0700 (PDT)
From: Steinar Haugen steinar.hau...@gmail.com
Subject: [rules-users] RuleBase.removeRule leads to
NoClassDefFoundError
To: rules-users@lists.jboss.org
Message-ID: 23657476.p...@talk.nabble.com
Content-Type: text/plain; charset=us-ascii


Hi,

We're having a problem with runtime rule administration; i.e. using
RuleBase.addRule and RuleBase.removeRule.

We're using Drools 4.0.7 on Sun JDK 1.4.2_11 and inside Weblogic 8.1 sp
6.

Typically we remove a few rules followed by adding a few rules. In some
cases, we receive a NoClassDefFoundError. Stacktrace is provided in
attached
file. 

http://www.nabble.com/file/p23657476/stacktrace.txt stacktrace.txt 

The class referenced (i.e. the one not found) is the removed rule.

Has anyone else seen this behaviour?

This seems like such a basic error that we're wondering if we're doing
something wrong here

[rules-users] Drools 5 Released

2009-05-21 Thread Mark Proctor




http://blog.athico.com/2009/05/drools-5-released.html

The Drools team are pleased to announce the release of Drools 5.0
Final. Everyone's favourite Java Rule Engine with the delivery of
version 5.0 gives genesis to the Business Logic integration Platform,
which provides a unified and integrated platform for Rules, Workflow
and Event Processing. It's been designed from the ground up so that
each aspect is a first class citizen, with no compromises.

Drools 5.0 is now split into 4 modules, the links below provide more
information and screenshots for each module:

 Drools Guvnor
 Drools Expert
Drools Fusion
 Drools Flow.

Guvnor
is our web based governance system, traditionally referred to in the
rules world as a BRMS. We decided to move away from the term BRMS to
something based on governance, as our long term emphasis is no longer
rules specific. Expert is the traditional rules engine. Fusion is the
event processing side, it's a play on data/sensor fusion terminology.
Finally there is Flow which is our workflow module.

The
Drools 5.0 Release Notes
http://downloads.jboss.com/drools/docs/5.0.1.26597.FINAL/drools-introduction/html/ch02.html#d0e29

Home Page
http://www.jboss.org/drools

Blog
http://blog.athico.com/

Drools
Boot Camp - San Francisco 1-7 of June
http://blog.athico.com/2009/03/drools-boot-camp-san-francisco-june.html


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users