Guvnor Building pkg error
by Yan Liu
When trying to build a package (even using the sample pkg from drools
Guvnor) I got this - "Sorry, a technical error occurred. Please contact a
system administrator."
This is indeed very frustrating as I need to build binary pkgs for my remote
rule agents to access. I found the post here saying it is fixed.
https://jira.jboss.org/jira/browse/GUVNOR-327 No details though.
Can anyone shed some light on this problem if you know how to fix it?
Thanks in advance for your reply.
Yan
15 years, 5 months
Deploying Guvnor in an Enterprise environment
by Steve Ronderos
Hello Drools Users,
I'm working on deploying Guvnor in an enterprise environment. There is
some mention in the JBoss Wikis
http://www.jboss.org/community/wiki/GuvnorRoadmapFor0809 and
http://www.jboss.org/community/wiki/Guvnor about lifecycle management of
assets in Guvnor. The descriptions in those two articles is somewhat
brief and does not quite cover all of my requirements.
We have a need to be able to deploy assets to various dev, staging and
production servers and define which assets should be deployed in a given
deploy. I realize that snapshots and selectors can be leveraged to get
this kind of functionality, but it does not feel like a robust solution.
Additionally, we have scenarios where two users might need to edit the
same asset for two different releases, and test them on different
environments simultaneously.
Has anyone implemented Guvnor in a Dev, Staging, Production environment
that could give some pointers on how to manage these concurrent release
issues?
Thanks,
Steve Ronderos
15 years, 5 months
3rd CfP RuleML-2009 - Deadline extended June 28th
by Adrian Paschke
[Apologies for multiple postings]
Call for Papers
RuleML 2009
3rd International Symposium on Rules, Applications and Interoperability
November 5-7 2009, Las Vegas, Nevada, USA
http://2009.ruleml.org/
co-located with the 12th Business Rules Forum
----------------------------
**********************************************************************
***** Latest News ******
** Submission Deadline (extended) June 28th **
* **
* Keynote by Sandro Hawke, W3C RIF - The Future of Rule Interchange**
* New categories in the Challenge with prestigious prizes **
* Rules standards session, W3C RIF workshop, lunch panel on Web Rules*
* Student grants of the value of up to $1000 plus free registration **
**********************************************************************
Supported by
===================================================================
W3C, OMG, ACM, AAAI, ECCAI, IAAIL, ACM, Belgian Business Rules Forum
MIT Sloan CIO Symposium, EPTS, BPM Forum Belgium
Sponsored by
===================================================================
Franz Inc
NICTA (National ICT Australia) Ltd
Corporate Semantic Web
Logic Programming Associated Ltd
ruleCore
JBoss
Modelsystems Ltd
===================================================================
Overview and Aim
===================================================================
The International Symposium on Rules, Applications and Interoperability has
evolved from an annual series of international workshops since 2002,
international conferences in 2005 and 2006, and international symposia since
2007. This year, the 3rd International Symposium on Rules, Applications and
Interoperability (RuleML-2009) takes place in Las Vegas, Nevada, USA,
collocated with the 12th Business Rules Forum, the world's largest Business
Rules event. RuleML-2009 is devoted to practical distributed rule
technologies and rule-based applications which need language standards for
rules (inter)operating in, e.g., the Semantic Web, Multi-Agent Systems,
Event-Driven Architectures, and Service-Oriented Applications.
The main goal of RuleML-2009 is to stimulate the cooperation and
interoperability between business and research, by bringing together rule
system providers, participants in rule standardization efforts, open source
communities, practitioners, and researchers. The concept of the symposium
has also advanced continuously in the face of extremely rapid progress in
practical rule and event processing technologies. As a result, RuleML-2009
will feature hands-on demonstrations and challenges alongside a wide range
of thematic tracks, and thus will be an exciting venue to exchange new ideas
and experiences on all issues related to the engineering, management,
integration, interoperation and interchange of rules in open distributed
environments such as the Web.
Conference Theme
===================================================================
This year, we particularly welcome submissions that address applications of
Web rule technologies for business and information systems. We invite you to
share your ideas, results, and experiences: as an industry practitioner,
rule system provider, technical expert and developer, rule user or
researcher, exploring foundations, developing systems and applications, or
using rule-based systems. We invite high-quality submissions related to (but
not limited to) one or more of the following topics:
Track Topics
----------------------------------------------------------------------------
Rule Transformation and Extraction
- Transformation and extraction with rule standards, such as SBVR, RIF and
OCL
- Extraction of rules from code
- Transformation and extraction in the context of frameworks such as KDM
(Knowledge Discovery meta-model)
- Extraction of rules from natural language
- Transformation or rules from one dialect into another
Rules and Uncertainty
- Languages for the formalization of uncertainty rules
- Probabilistic, fuzzy and other rule frameworks for reasoning with
uncertain or incomplete information
- Handling inconsistent or disparate rules using uncertainty
- Uncertainty extensions of event processing rules, business rules,
reactive rules, causal rules, derivation rules, association rules, or
transformation rules
Rules and Norms
- Methodologies for modeling regulations using both ontologies and rules
- Defeasibility: modeling rule exceptions and priority relations among
rule
- The relationship between rules and legal argumentation schemes
- Rule language requirements for the "isomorphic" modeling of legislation
- Rule based inference mechanism for legal reasoning
- E-contracting and automated negotiations with rule-based declarative
strategies
Rule-based Game AI
- Rule-based movement, decision making, strategies, behavior design
- Rule-based environmental programming, virtual reality
- Rules for multi-agent/character games
- Rules for serious games
- Rule-based agent design
Rule-based Event Processing and Reaction Rules
- Reaction rule languages and engines (production rules, ECA rules, logic
event action formalisms, vocabularies/ontologies)
- State management approaches and frameworks
- Concurrency control and scalability
- Event and action definition, detection, consumption, termination,
lifecycle management
- Dynamic rule-based workflows and intelligent event processing (rule-
based CEP)
- Non-functional requirements, use of annotations, metadata to capture
those
- Design time and execution time aspects of rule-based (Semantic) Business
Processes Modeling and Management
- Practical and business aspects of rule-based (Semantic) Business Process
Management (business scenarios, case studies, use cases etc.)
Rules and Cross Industry Standards
- Rules in Current Industry Standards, including:
- XBRL: Extensible Business Reporting Language
- MISMO: Mortgage Industry Standards Maintenance Org
- FIXatdl: FIX Algorithmic Trading Definition Language
- FpML: Financial products Markup Language
- HL7: Health Level 7
- Acord: Association for Cooperative Operations Research and Development
(Insurance Industry)
- Rules for Governance, Risk, & Compliance (GRC), e.g., rules for internal
audit, SOX compliance, enterprise risk management (ERM), operational
risk, etc
- Rules and Corporate Actions
General Rule Topics
- Rules and ontologies
- Execution models, rule engines, and environments
- From rules to FOL to modal logics
- Rule-based reasoning with non-monotonic negation, modalities, deontic,
temporal, priority, scoped or other rule qualification
- Rule-based default reasoning with default logic, defeasible logic, and
answer set programming
- Graphical processing, modelling and rendering of rules
- Rules in Semantic Web Technologies
- Miscellaneous rule topics
Case studies, experience reports, and industrial problem statements are
particularly encouraged.
RuleML-2009 Challenge
===================================================================
The RuleML-2009 Demo Challenge is one of the highlights of RuleML-2009. We
invite submissions of demo papers and demos where rules are used in
interesting and practically relevant ways to, e.g., derive useful
information, transform knowledge, provide decision support and provide
automated rule-based monitoring, enforcement, validation or management of
the behavioural logic of the application. The Challenge offers participants
the chance to demonstrate their commercial and open source tools, use cases,
and applications. Submissions are solicited in these categories:
- Benchmarks (test cases, suites) with evaluations of (their own, other)
rule engines and/or rule translators, possibly drawing on our growing
pool at http://ruleml-challenge.cs.nccu.edu.tw
- Case studies (use cases) implemented via engines/translators employing
rule standards such as RIF, RuleML, CLIPS, Common Logic, SBVR, and ISO
Prolog.
We welcome all demos about tools and applications using rules such as:
- Derivation rules, including query and integrity rules
- ECA rules, including production rules, reaction rules, and rule-based
CEP languages
Authors of demo are also invited to submit a Challenge demo paper for
publications in the conference proceedings, see the submission section below
for submission details.
Prizes will be awarded to the two best applications from each category. All
accepted demos will be presented in a special Challenge Session. A
submission to the RuleML Challenge has to meet the requirement that
declarative rules explicitly play a central role in the application.
Basically this means that:
Rules are explicitly represented in a declarative format and they are
decoupled from the application (rather than being compiled or hard-coded
into the application logic). The demo should preferably (but not
necessarily) be embedded into a web-based or distributed environment so that
there will be a need for features related to the RuleML conference topics,
as listed in the call for papers. For more details and the demo site web
link please consult the RuleML-2009 Challenge website:
http://ruleml-challenge.cs.nccu.edu.tw
Student Grant Awards
===================================================================
Two travel grants are available to students who are authors or co-authors of
papers or demos accepted for presentation at the symposium. The grants
include free registration and cover travel expenses up to 1000 dollars.
Conference Language
===================================================================
The official language of the conference will be English.
Submission
===================================================================
Authors are invited to submit original contributions of practical relevance
and technical rigor in the field, experience reports and show case/use case
demonstrations of effective, practical, deployable rule-based technologies
or applications in distributed environments. Papers must be in English and
may be submitted at
http://www.easychair.org/conferences/?conf=ruleml2009
as:
Full Papers (15 pages in the proceedings)
Short Papers (8 pages in the proceedings)
RuleML-2009 Challenge Demo Paper + Show Cases (3-5 pages in the proceedings)
Please upload all submissions as PDF files in LNCS format
(http://www.springer.de/comp/lncs/authors.html). To ensure high quality,
submitted papers will be carefully peer-reviewed by 3 PC members based on
originality, significance, technical soundness, and clarity of exposition.
Authors are requested to upload the abstracts of their papers before June 9,
2009 and to upload their complete papers by June 16, 2009. The selected
papers will be published in book form in the Springer Lecture Notes in
Computer Science (LNCS) series along with a CD with demo software and
documents. The best paper from all submissions will be determined by the PC
and a Best Paper Award will be handed over at the Symposium by a Sponsor.
All submissions must be done electronically. A selection of revised papers
will be resubmitted to a special issue of a journal.
Submissions to the RuleML Challenge 2009 consist of a demo paper of 3-5
pages, describing the demo show case, and a link to more information about
the demo/show case, e.g. a project site, an online demonstration, a
presentation about the demonstration, or a download site for the
demonstration. In case of product demos, the link can be password-protected:
please submit a password for anonymous login from any Web browser, giving us
the permission to pass the password on to 3 PC members. The submissions
should satisfy the minimal requirements defined in the topics of interest
and preferably exhibit some of the additional desiderata. The more
desiderata are met by an application, the higher the score will be. The
demos will be evaluated by the RuleML-2009 Program Committee and prizes will
be awarded to the two best applications, sponsored by the RuleML Inc.
non-profit organization.
Review Process
===================================================================
The submitted papers will pass the blind review process. At least three
members of the Program Committee will review each submission.
Important Dates:
===================================================================
Paper Submission deadline (extended): June 28, 2009
Notification of acceptance: July 18, 2009
Camera ready due: August 9, 2009
Symposium dates: November 5-7, 2009
RuleML Challenge: November 5, 2009
Conference Venue
===================================================================
RuleML-2009 will take place at the Bellagio in Las Vegas collocated with the
Business Rules Forum.
Keynote Speakers
===================================================================
- Sandro Hawke, W3C RIF Team Contact
The Future of Rule Interchange
- TBA
Programme Committee
===================================================================
General Chair
--------------------
Adrian Paschke, Freie Universitaet Berlin, Germany
Program Chairs
--------------------
Guido Governatori, NICTA, Australia
John Hall, Model Systems, UK
Liaison Chair
--------------------
Hai Zhuge, Chinese Academy of Sciences
Publicity Chair
--------------------
William Langley, NRC-IRAP, Canada
Track Chairs
Rule Transformation and Extraction
--------------------
Erik Putrycz, Canada
Mark Linehan, IBM, USA
Rules and Uncertainty
--------------------
Matthias Nickles, University of Bath, UK
Davide Sottara, University Bologna, Italy
Rules and Norms
--------------------
Thomas Gordon, Fraunhofer FOKUS, Germany
Antonino Rotolo, CIRSFID, University of Bologna, Italy
Rule-based Game AI
--------------------
Benjamin Craig, National Research Council, Canada
Weichang Du, University of New Brunswick, Canada
Rule-based Event Processing and Reaction Rules
--------------------
Alex Kozlenkov, Betfair Ltd., UK
Adrian Paschke, Freie Universitaet Berlin, Germany
Rules and Cross Industry Standards
--------------------
Tracy Bost, Valocity, USA
Robert Golan, DBMind, USA
RuleML Challenge
--------------------
Yuh-Jong Hu, National Chengchi University, Taiwan
Ching-Long Yeh, Tatung University, Taiwan
Wolfgang Laun, Thales Rail Signalling Solutions GesmbH, Austria
Program Committee Members
--------------------
http://2009.ruleml.org/pc
RuleML 2009 Sponsors
===================================================================
Silver Sponsors
--------------------
NICTA (National ICT Australia) Ltd
Corporate Semantic Web
Franz Inc
Bronze Sponsors
--------------------
Logic Programming Associated Ltd
ruleCore
jBoss
Modelsystems Ltd.
RuleML 2009 Partners
===================================================================
W3C, World Wide Web Consortium
OMG, Object Management Group
ACM, Association for Computer Machinery
AAAI
ECCAI
International Association for Artificial Intelligence and Law
ACM SigMis
ACM SigArt
Belgian Business Rules Forum
MIT Sloan CIO Symposium
EPTS, Event Processing Technical Society
BPM Forum Belgium
October Rules Fest
SKG2009 5th International Conference on Semantic, Knowledge and Grid
RR-2009 3rd International Conference on Web Reasoning and Rule Systems
15 years, 5 months
Extend Guvnor
by Andy Mei
Hi all,
Long time user of Drools (dated back in xml syntax days). We are looking
to revamp our in house rules product which is based on Drools 3.x. We have
built a Swing thick client that provides similar functionality as Guvnor
such as rule editing, versioning, deployment (with approval system). One
major feature we do have is rule simulation. We allow user to simulate
rules and display results while user save or seek approval of their rules
before deploy to production system. The simulation feature allows user to
run against production or testing environment to ensure it provide correct
results. I wonder if Guvnor has such extensibility interface build in which
I could add my own functionality such as simulation and result browsing?
Since Guvnor is based on Seam and GWT (i think), I could probably fork the
source and tweak the UI, but I much rather code against an interface
supported by Drools.
Thoughts? TIA.
PS: I am curious how are existing Drools user test their rules currently?
Andy
15 years, 5 months
Re: [rules-users] Web based decision tables
by Michael Rhoden
Are you exporting the DRL or just using the view source from guvnor? The view source doesn't show the model that must be defined, among other things. I havent used the eclipse plugin much but Guvnor itself, has it's own pseudo model for handling Web Decision tables. When you finally generate a package it will generate correct DRL (not BRL/DT) of that decision table and should have everything you need to run it outside of Guvnor. BRL and DT will always create DRL when you export the package. So my guess is you should use KB.add on a DRL resource type.
-Michael
----- Original Message -----
From: "Dan Seaver" <dan.seaver(a)ge.com>
To: rules-users(a)lists.jboss.org
Sent: Monday, June 15, 2009 3:32:48 PM GMT -06:00 US/Canada Central
Subject: [rules-users] Web based decision tables
Can someone tell me the appropriate way to use web-based decision tables?
They seem to work fine if I create them in Guvnor, and then build and deploy
the binary package from Guvnor. However, if I copy the gdst from Guvnor to
Eclipse and use KnowledgeBuilder.add to attempt to add the resource as a
DTABLE or BRL resource type, I get a NullPointerException or
CannotResolveClassException.
Any help would be appreciated.
Thanks,
Dan
--
View this message in context: http://www.nabble.com/Web-based-decision-tables-tp24042079p24042079.html
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
15 years, 5 months
Re: [rules-users] Help -- Conditional Logic in DRL
by Greg Barton
Note to drools devs: I didn't put the original poster up to this. :)
Globals should be considered immutable, so shouldn't be used in this way. You could do it with an object asserted in working memory, though.
Just as good, though, you can use this kind of pattern to replicate else logic:
rule "EverythingMatches"
when
Condition0
Condition1
Condition2
then
...
end
rule "ElseAtCondition2"
when
Condition0
Condition1
!Condition2
then
...
end
rule "ElseAtCondition1"
when
Condition0
!Condition1
then
...
end
rule "ElseAtCondition0"
when
!Condition0
then
...
end
--- On Mon, 6/15/09, Scott Reed <sreed(a)avacoda.com> wrote:
> From: Scott Reed <sreed(a)avacoda.com>
> Subject: Re: [rules-users] Help -- Conditional Logic in DRL
> To: "Rules Users List" <rules-users(a)lists.jboss.org>
> Date: Monday, June 15, 2009, 10:19 PM
> Looks like 5 rules with a global flag
> might work:
>
> global boolean flag = false;
>
> rule "name1"
> when
> (condition1 == true )
> (flag == false)
> then
> consequence1();
> flag = true;
> end
>
> ...
>
> rule "name5"
> when
> (condition5 == true )
> (flag == false)
> then
> consequence5();
> flag = true;
> end
>
> Does that work for you?
>
> Vishy [6/15/2009 11:06 PM] wrote:
> > Hi All,
> >
> > I am new to drools...and am trying to figure out as to
> how I can
> > represent the following logic in a DRL file.
> >
> > if (condition1) {
> >
> > if (condition2) {
> >
> > } else if (condition3) {
> >
> > } else if (condition 4) {
> >
> > } else if (condition 5) {
> >
> > }
> >
> > }
> >
> > In DSL, a typical rule is represented as follows:
> >
> > rule "name"
> >
> > when
> > condition is true
> > then
> > consequence
> >
> > end
> >
> > How can I represent the above mentioned if - else
> logic in DSL? Or is
> > it not possible?
> >
> > If it is not, can you please suggest any alternative?
> >
> > Thanks much!!
> > _______________________________________________
> > rules-users mailing list
> > rules-users(a)lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/rules-users
> >
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
15 years, 5 months
Class Casting in a Collection data
by VinuJay
Hi my fact object looks like this,
class ProcessRequest {
Long requestId;
String processType;
String assigneeUsers;
HashTable<String,Object> businessData;
//Getters and Setters
}
My businessdata can be of type Integer, String, Boolean, hence i have used
generic Object for the business data value.
But if i use any mathematical operator in the rules (.drl) file like,
rule "Assign"
when
p: ProcessRequest(processType == "LoanFlowPlus" &&
businessData['LOANAMOUNT'] < 5000)
then
p.setAssigneeUsers("jcooper");
end
i get an error
Exception in thread "main" org.drools.RuntimeDroolsException: Exception
executing predicate eval( businessData['LOANAMOUNT'] < 5000 )
Caused by: java.lang.ClassCastException: java.lang.Integer
Shouldn't the drools API handle this class cast conversion internally ..? or
how to specify the class casting in rules file
--
View this message in context: http://www.nabble.com/Class-Casting-in-a-Collection-data-tp24031803p24031...
Sent from the drools - user mailing list archive at Nabble.com.
15 years, 5 months
[#JBRULES-1946] Deserializing a KnowledgeBase object throws a java.io.EOFException
by Przemysław Różycki
Hello,
IMHO, this bug still occurs in 5.0.1 final version as well as in trunk.
I put the proper comment and example code in JIRA:
https://jira.jboss.org/jira/browse/JBRULES-1946
I need it working quite quickly, so if the Drools developers plan to
solve it later, then I will try to look at the source code by myself and
find the solution (and share of course).
However I would like to ask if anyone tried to diagnose the problem
earlier and has some thoughts where to look for the cause?
Best regards,
--
Przemysław Różycki
Architekt IT
AMG.net, A Bull Group Company
ul. Łąkowa 29
90-554 Łódź
tel.: (+48 42) 296 11 82
GSM: (+48) 510 022 612
jid: p.rozycki(a)amg.net.pl
GG: 145116
www.amg.net.pl
Treść niniejszej wiadomości może być poufna. Jeżeli nie jesteście
Państwo jej adresatem, to rozprowadzanie lub wykorzystywanie zawartych
tu informacji jest zabronione.
This e-mail contains material that is confidential for the sole use of
the intended recipient. Any review, reliance or distribution by others
or forwarding without express permission is strictly prohibited. If you
are not the intended recipient, please contact the sender and delete all
copies.
15 years, 5 months
Drools v5 multithreading questions
by Andrey Nechaev
Hello, All!
I’m evaluating the new version of Drools (5.0.1), so I’m especially
interested in multithreading and partitioning options, implemented in Drools
v5.
I’ve prepared a little test case to check how the feature works. Here is the
rule I’m using:
package test
rule test
when
NODE2($p : value > 20)
then
System.out.println("Fired :” + $p);
end
The NODE2 POJO is very simple:
public class NODE2 {
private int value;
public NODE2(int value) {
this.value = value;
}
public int getValue() {
return value;
}
public void setValue(int value) {
this.value = value;
}
}
And here is the main code snippet:
1: KnowledgeBaseConfiguration conf =
KnowledgeBaseFactory.newKnowledgeBaseConfiguration();
2: conf.setOption(MultithreadEvaluationOption.YES);
3: conf.setOption(MaxThreadsOption.get(10));
4: KnowledgeBase kb = KnowledgeBaseFactory.newKnowledgeBase(conf);
5:
6: KnowledgeBuilder bld =
KnowledgeBuilderFactory.newKnowledgeBuilder();
7: bld.add(ResourceFactory.newReaderResource(new
StringReader(rule)), ResourceType.DRL);
8: kb.addKnowledgePackages(bld.getKnowledgePackages());
9:
10: StatefulKnowledgeSession session =
kb.newStatefulKnowledgeSession();
11: session.insert(new NODE2(25));
12:
13: session.fireAllRules();
In such a case my program hangs and nothing is displayed in the Console.
If I put lines 10-11 prior to line 6, I get a NullPointerException:
Exception in thread "main" java.lang.NullPointerException
at
org.drools.reteoo.ObjectSource.addObjectSink(ObjectSource.java:124)
…
But, if I comment out the lines 2&3, everything works ok…
So, please help – what I’m doing wrong?
Best regards,
Andrey
15 years, 5 months
Help -- Conditional Logic in DRL
by Vishy
Hi All,
I am new to drools...and am trying to figure out as to how I can
represent the following logic in a DRL file.
if (condition1) {
if (condition2) {
} else if (condition3) {
} else if (condition 4) {
} else if (condition 5) {
}
}
In DSL, a typical rule is represented as follows:
rule "name"
when
condition is true
then
consequence
end
How can I represent the above mentioned if - else logic in DSL? Or is
it not possible?
If it is not, can you please suggest any alternative?
Thanks much!!
15 years, 5 months