Drools&jBPM Boot Camps 2011 USA and EMEA (Rules, Workflow, Event Processing and Ontologies)
by Mark Proctor
We are looking into an end of February date to do the next week long
Boot Camp, location to be decided - proposals for USA so far are
Chicago, Austin and Miami. The EMEA one will be Berlin, probably
overlapping with the 2011 JudCon.
The last boot camp had a medical focus and was a huge success. We have
more budget this year so hoping to build on that.
We are thinking of doing a Monday optional 1 day pre-conference "basics"
day, to avoid repeating the "what is a process, what is a rule, what is
an event" type talks. This also means we don't bore returning people
with repeated content and that everyone there has the basics.
Then follow up with 2 days of applied industry talks split into
"vertical tracks". Because of the high level of interest and success
last time, we will run a dedicated 2 day Medical/Healthcare track again.
Whether we run dedicated or mixed tracks for other verticals depends on
interest and people's willingness to present or organise and lead other
verticals. I imagine initially we'd probably do mini tracks, say half a
day per vertical. Some target verticals would be telecoms, commercial
finance (trading), consumer finance (mortgage/insurance/loans), logistics.
The 4^th day would then be an organised workshop day. We'll provide
bootable USB keys for all in attendance, so that we have a quick start
off (previously we wasted hours getting everyone up and running with
virtual images). The workshops will allow people to go through the very
basic examples or the more advanced examples and infrastructure set-up
with us on hand. Those that have their own projects and just want to
work on that with us on hand to offer help can do so too.
The 5^th day will be more of an open floor. Some people will leave
early, others will want to continue working through the basic examples
and making sure they can configure and set everything up. Others will
want dedicated discussion time to work on their own problems and ideas.
In general it's the day where the developers will be on hand for what
ever anyone wants -- you'll get out of it what you put in.
If you would like to present or even run and organise a vertical let me
know. In the past I've found for a vertical to work it needs a well
connected industry person to chair it, so we definitely need community
people to take up the mantle here. Talks can either be "What we did with
Drools and/or jBPM" or "This is an industry problem use case that could
be solved with Drools and/or jBPM" or just something that we think will
be of interest to the audience. The range of technologies covers (but
not limited too) rules (expert systems and other derivatives domains),
workflow, event processing and ontologies.
The event will again be free for attendance. We are thinking of opening
it up for sponsorship to help towards food and drink.
So if you are interested in talking, organising, sponsoring or just have
some general input then let us know - we want to progress in moving
these events to a more industry focus and not pure technology, for that
to happen we need YOU the community.
Mark
14 years, 2 months
drools-jbrms.war
by Bhaskara Kolli
Hi
I am trying to deploy drools guvnor on JBoss AS and in setup instructions, it says - get drools-jbrms.war or guvnor.war from drools-5.1.1-guvnor.zip and copy to deploy folder on JBoss AS but I am not finding either drools-jbrms.war or guvnor.war in drools-5.1.1-guvnor.zip after I extract files.
Can anyone please let me know where/how can I get drools-jbrms.war file to deploy onto JBoss AS?
Thanks
Bhaskara
14 years, 2 months
rules priority
by Nadav Hashimshony
Hi
Im using drools 5 with Guvnor 5
i set up 30 Technical rules and build a package to be used by my
drools-sample application.
my probelm is as followed, some rule may conflict, i want to set up a rule
order and if one rule is caught then i want the drools to stop and not
continue to try other rules.
ive use salience but it hasnt really done the trick.
example:
my rules:
rule "Rule-01"
salience 100
activation-group "group1"
...
System.Out.Println("caught rule 1")
....
rule "Rule-02"
salience 100
activation-group "group1"
...
System.Out.Println("caught rule 2")
....
rule "Rule-03"
activation-group "group2"
...
System.Out.Println("caught rule 3")
....
rule "Rule-04"
activation-group "group2"
...
System.Out.Println("caught rule 4")
....
actual result: lets say all 4 rules are cuaght, what i will see is as
followed
ACTIVATION CREATED rule:Rule-01 activationId:Rule-01 [1] declarations:
BEFORE ACTIVATION FIRED
caught rule 1
ACTIVATION CANCELLED rule:Rule-2
ACTIVATION CREATED rule:Rule-03 activationId:Rule-01 [1] declarations:
BEFORE ACTIVATION FIRED
caught rule 3
ACTIVATION CANCELLED rule:Rule-3
only one rule from each activation-group will be fired, and the first group
with the higher salience will fire first.
what i would like is it one rule was caught to stop trying? is it possible?
Thanks, Nadav.
14 years, 2 months
Issue with Accumulate
by Mohod, Akash
Hi,
I have a Map object that maps User product type experience with the level of expertise. I am trying to use accumulate in my rule
Such that if the user has experience with certain product then it gets the experience level and sums it up .
I am using Drools 5.1 , mvel 2, spring batch 2.x.
This is my rule :-
rule "Insert Product Types"
dialect "mvel"
salience 1800
when
eval (true)
then
ProductType p1 = new ProductType();
p1.setName("P1");
ProductType p2 = new ProductType();
p2.setName("P2");
insert (p1);
insert (p2);
end
rule "Product Class Experience"
dialect "mvel"
salience 1600
when
ProductType ($name : name)
$total : Number () from accumulate (
Client (productExperience.keySet contains $name, $score : productExperience[$name]),
sum($score))
then
System.out.println ("Product Type Score " + $total);
End
When the rule is fired I get the attached exception .
Any suggestions / help will be great.
Regards,
Akash
--------------------------------------------------------------------------
NOTICE: If you have received this communication in error, please destroy all electronic and paper copies and notify the sender immediately. Mistransmission is not intended to waive confidentiality or privilege. Morgan Stanley reserves the right, to the extent permitted under applicable law, to monitor electronic communications. This message is subject to terms available at the following link: http://www.morganstanley.com/disclaimers. If you cannot access these links, please notify us by reply message and we will send the contents to you. By messaging with Morgan Stanley you consent to the foregoing.
14 years, 2 months
Drools API for uploading Model JAR into package
by Swapnil Sawant
Hi,
When we use "Upload Jar Model" option in Guvnor and then use this uploaded Fact model to create rules on Guvnor GUI, we have to "actually upload" this model JAR everytime (even when a new field is added to this Model) using Guvnor GUI.
My question is that is there any API by which I can upload this JAR to the corresponding package without actually going to Guvnor GUI for JAR uploading?
In Short what I want is :
In java program, I would create Fact Model JAR dynamically. Then I wish to upload this JAR into the package through Java program (without using Upload Jar Model in Guvnor GUI). After these steps, then I would actually go to Guvnor GUI just for creation/modification of rule corresponding to uploaded JAR model.
Are there any APIs for achieving this "uploading of Model JAR to package directly" so that I can start using it for rules creation/updation ?
Thanks & Regards,
Swapnil Sawant
________________________________
This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.
______________________________________________________________________
14 years, 2 months
NPE in ClassFieldExtractor.getValue()
by Leonardo Gomes
Hello Guys,
I'm having a NPE in the ClassFieldExtractor.getValue(InternalWorkingMemory,
Object) line: 127
It happens while executing the RHS of a rule that modifies one fact and then
updates one and retract another.
rule "foo"
when
...
then
// apply changes
PolicyHelper.makeInPolicy($room, $pRoom.getCompliantRuleId(),
$pRoom.getPrefLevel(), ProfileTypeEnum.COMPANY);
update($room);
retract($pRoom);
end
--
We're using good old 4.0.7, with ShadowFacts :(
I tracked down the problem to
FactHandleIndexHashTable$FieldIndexEntry.matches(ReteTuple, int) line:
> 385
>
Where,
this.first.getFactHandle()
>
Returns an invalidated fact handle (a handle of a fact that has been
retracted before, I imagine). The NPE happens because invalidated handles
have their "object" attribute
set to "null" and the matches method mentioned above does:
public boolean matches(final ReteTuple tuple,
> final int tupleHashCode) {
> return this.hashCode == tupleHashCode && this.index.equal( *
> this.first.getFactHandle().getObject()*,
>
> tuple );
>
Is there something I could do to workaround this problem? Any clue is
welcome.
Thanks,
Leo.
14 years, 2 months
Drools License ?
by Harshit Bapna
Hi All,
The Drools 5.1 download link gives the license information as ASL. (
http://jboss.org/drools/downloads.html)
Is it Apache Software License ? If yes which version of apache license is
used ?
Where can I get a link to the actual license ?
--harshit
14 years, 2 months
Querying ExecutionResults
by Evert Penninckx
Hi
To retrieve all facts of a given type from the working memory of a stateful
session I use this command:
kstateful.getObjects(new ClassObjectFilter("SomeClass.class"));
Can someone confirm that the only equivalent for a stateless session is
creating a query (a bit more cumbersome)?
executionResults.getValue( "QueryName" );
Tnx
Evert
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Querying-ExecutionRes...
Sent from the Drools - User mailing list archive at Nabble.com.
14 years, 2 months
Re: [rules-users] Issue in sending Multiple request to Drools Guvnor package
by Esteban Aliverti
I think you could maintain a single kbase with a single kagent and then
create a new ksession for each request.
Best,
El sep 23, 2010 4:31 p.m., "bbarani" <bbarani(a)gmail.com> escribió:
Hi,
We have a java code which connects to guvnor and fires all the rules in a
package and gets back the final decision from Guvnor.
The code works fine for single request, if I send multiple request the code
takes more time to return the results. I am just wondering if we are doing
anything wrong which affects the response time for multiple request.
This is what we are doing now for multiple request,
Get multiple request in an request array object
Iterate through each request object and fire all the rules with the
parameters present in that request object and display the final decision for
each request.
For each request object we are invoking the function which creates a
ruleagent (based on guvnor.properties file) and fires all the rules with
corresponding request parameter and sends back the decision.
I am thinking this might be the issue, due to the fact that we are creating
new connection / rule agent everytime when we invoke the function and that
in turn cause more time for returning the results back.
I Just want to know if there is a way to just create a single session with
Guvnor using rule agent and invoke all the rules multiple times based on the
number of request and finally get all the decisions.
Thanks,
BB
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Issue-in-sending-Mult...
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
14 years, 2 months