2010/4/1 miguel machado :
>
> 2010/3/31 Edson Tirelli
>>
>> 1. Do you use one KnowledgeBuilder to compile all your rule files or do
>> you use one KnowledgeBuilder per file?
>
> Just one, declared as a static variable.
That wastes, whatever the KB takes, for the remaining duration of the program
@eljefe,
If you look at the source code of WSHumanTaskHandler, the first thing it
tries to do is to connect to the Mina Server (via Mina Client):
public void executeWorkItem(WorkItem workItem, WorkItemManager
manager)
{
connect();
Task task
Did you start the task server?
- Ing. Mauricio Salatino -
On Mar 31, 2010, at 23:03, eljefe wrote:
>
> I have created a simple flow that goes Start -> Human Task -> End.
> Within the
> code to run it I assigned the default WSHumanTaskHandler. However
> when I try
> running the program I rec
I have created a simple flow that goes Start -> Human Task -> End. Within the
code to run it I assigned the default WSHumanTaskHandler. However when I try
running the program I receive an error saying the Handler failed to connect.
Do you guys have any idea what could be causing the problem?
--
I've been patiently awaiting the release of Drools 5.1 M2 so I can start
using it in a new Spring based SAAS project we are launching. The new
features in 5.1 have me drooling (sorry, couldn't resist).
I've found the following information on a tentative release for 5.1 M2, but
it was weeks ago:
h
Hi there,
First of all, thank you for your detailed and quick response. Next...
2010/3/31 Edson Tirelli
>
> Miguel,
>
> First we need to understand where is this memory spent. Drools
> externalizes the actual rule compilation to a java compiler (JDT or Janino)
> and I would not be surpr
Hi All,
I need urgent help in resolving this run time error.
This is the first time we are deploying drools to websphere 6.1 and getting
following error.
Our organization does not allow us to do 'createClassLoader' in was.policy.
Can some one please help.
java.security.AccessControlException:
Hi all,
Thanks for your tips. Indeed I had some redundancy in my rule definitions,
now i've removed them and it has reduced memory usage a little bit. Any
other suggestions are welcome :)
thanks again.
_ miguel
2010/3/31 Wolfgang Laun
> I can only offer a few hints:
>
> Factor out all code t
I've similiar problems with the rules compiler performance. Currently it took
me a good 7443 ms for the PackageBuilder.addPackageFromDrl to finish
execution.
Has this problem been fixed in the latest Drools 5.0?
Thanks!
--
View this message in context:
http://n3.nabble.com/Performance-of-compi
I have a ruleflow that handles exceptions when they are raised by a "Fault"
node but I am not being able to accomplish the same if an exception is
thrown by a workItem or an action node instead.
I have a workItem node with a work item handler that throws a
RuntimeException. My exception handler
you can always use the latest snapshot from the jboss repository.
On Wed, Mar 31, 2010 at 2:54 PM, wytten wrote:
>
> Any fresh news here? I'm primarily interested when a 5.1.0 M2 might be
> available from maven central.
>
> Thanks.
> --
> View this message in context:
> http://n3.nabble.com/An
Any fresh news here? I'm primarily interested when a 5.1.0 M2 might be
available from maven central.
Thanks.
--
View this message in context:
http://n3.nabble.com/Any-news-on-Drools-5-1-tp426515p688971.html
Sent from the Drools - User mailing list archive at Nabble.com.
___
miguel is right.. I'm not sure about the reading kbases sentence. Remember
that you need to compile knowledge packages to get a kbase. You can store
these packages to not recompile them again. All the other stuff is cheap.
You only need to calculate how many fact each user will insert in each
sessi
That is the most common use case and Drools was designed to work like
that: one or more shared kbases and multiple non-shared sessions. The only
catch is that you need to fine tune what is the ideal rate of sessions/kbase
in your use case, because the creation of a session locks a kbase, but aft
Miguel,
First we need to understand where is this memory spent. Drools
externalizes the actual rule compilation to a java compiler (JDT or Janino)
and I would not be surprised if compiling 2100 rules would consume more than
300Mb **during compilation**. I don't think that after compiling,
for each knowledge session that you create you will have the same memory
usage, then in runtime, it will depend how many facts each user add to that
sessions.
Depending on the session usage (the specific use case) we can suggest to
reuse or not a session for more than user.
On Wed, Mar 31, 2010 a
Hi,
how many instances do you put in each StatefulKnowledgeSession ? If not a
lot, then the StatefulKnowledgeSession is not too big
You can serialize a StatefulKnowledgeSession.
Regards
Nicolas Héron
2010/3/31 alim
>
> Hi everyone,
>
> I'm trying to find a solution to the following situation:
>
As far as i've read in the documentation, creating
statefulKnowledgeSession's is cheap, even though reading the rulebase is
not. And you can even persist your sessions in database, so i'd say that's
not too much to worry about
But i'm a newbie, more experienced users may disagree.
_ miguel
On W
I can only offer a few hints:
Factor out all code that can be done in one of the called methods, e.g., in
resetSource( ..., Arrays.asList($value1));
Here, the Arrays.asList() should be done in resetSource().
Avoid multiple bindings. If you call
resetSource( $source,)
or
checkMayReset( $
Hi everyone,
I'm trying to find a solution to the following situation:
- KnowledgeBase with approx. 1000 rules
- Approx. 200 users (hence 200 simultaneous sessions) whereas each session
might most likely have different values for the working memory facts
So let's say we create a KnowledgeBase (
I think there is an infinite-loop in one of drools-core test. I know edson
is working on it. You may need to skip the tests when building the trunk:
mvn -DskipTests clean install
best,
On Wed, Mar 31, 2010 at 4:23 AM, Robert wrote:
> Hi,
>
> as mentioned before, the link below did not work, b
Hi All,
I'm trying to do a simple example of loading enums programmatically
following the Drools Guvnor Docuemntation.
I'm on Drools Guvnor 5, Java 1.6 running under Jboss.
I'm trying to define this 'data enumeration/drop down list'
package opensource.test;
import java.util.ArrayList;
import
Hi, thanks for answering so quickly.
My ±2100 rules are grouped in 700 groups of 3 drools rules each, which are
related to the same type of event i want to generate, like the following:
rule "event1 reset" no-loop salience 9 activation-group "event1_group"
lock-on-active agenda-group "a3ce4a97
Hi,
as mentioned before, the link below did not work, but I got the last
trunk-version and followed the description on
http://downloads.jboss.com/drools/docs/5.0.1.26597.FINAL/drools-introduction/html_single/index.html#d0e1473
(Chapter 3.4.1 Building the Source).
First, it ran for hours, d
24 matches
Mail list logo