multiple expiration definitions for the same face type in different drl files
by Elran Dvir
Hi all,
I am examining Drools Fusion in stream mode.
This is my case:
I have several drl files.
Each drl file contains one rule.
Each drl file is built to a knowledge package.
Each drl file contains declaration of the same fact (referencing to a imported class defined outside of the drl). The fact's role is of course event.
Can I define different expiration (@expires) for the fact in each drl?
Is expiration relevant only to the same drl?
Is the answer different if the fact is created in the rule's RHS or if it inserted to the session's working memory outside of the drl?
Thanks.
12 years, 4 months
Drools Rules : Getting Started Tutorial Link Required
by Zahid Ahmed
Hi,
I am new to Drools Rules and using Drools-5.5.0.Final in my project. I need to know , how to setup JBPM runtime engine to perform rule evaluation for BusinessRule Nodes. Is there any separate server required for it or can it be done with in JBPM runtime. I need a tutorial on setup/configurations and a tutorial on rule writing, model uploading. I need to know that how to pass fact dynamically at runtime when a Business Rule Node is reached.
Thanks and Best Regards,
Zahid Ahmed
Senior Software Engineer
12 years, 4 months
Guvnor -> Best Practices for Changes in Production / DEV Environment
by Peach Wyss
Hy all
We're having the following Environments:
- DEV (dev site)
-> Guvnor WebApp: Used for defining the rules and exporting the xxx_rules.pkg during development.
-> XXX WebApp: Our WebApp which uses the xxx_rules.pkg for executing the rules, for testing during development.
-----------------------
- PROD (customer site)
-> XXX WebApp: WebApp in production.
- CHANGE (customer site)
-> Guvnor WebApp: For changing/adding rules by customer itself and exporting the changed xxx_rules.pkg by the customer
-> XXX WebApp: For Testing the changed xxx_rules.pkg by the customer
We're using Drools Guvnor (5.5.0 Final).
Now the question:
- How to deal with changes of the customer to the rules? We need those changes in our dev-guvnor too...
- So how to deal with the following scenario:
-> Customer changes a rule in Guvnor on the CHANGE Environment and tests the rule on his CHANGE Environment
-> After successful tests, he overwrites the xxx_rules.pkg in the PROD Environment
-> In the same time, the development team is adding new rules or changing existing rules on the DEV Environment (for example for Bugfixing or when adding new features to the WebApp)
-> After successful testing on DEV-Site, we want to deploy the new Version of our WebApp (and xxx:_rules.pkg) to the Customer (CHANGE and PROD). But when we just build the xxx_rules.pkg in our DEV-Guvnor and overwrite the xxx_rules.pkg from the customer, the changes from the Customer are lost. So how can we get the changes to the rules from the Customer to our DEV-Guvnor? The only way we now, is to export/import the whole repository. But with that, the changes (updated/created rules) from our DEV-Guvnor are overwritten...
How to deal with such a scenario? Is it possible to import/export single rules instead of the whole repository?
Thanks for your help,
Peter
12 years, 4 months
guvnor startup error
by sravan008
Hi I am using 5.5 drools war .when the time of deploying ,each time it
throwing below error .I request you to please let me know why I am getting
this error ,and please tell me how to resolve this .
INFO: Deploying configuration descriptor drools.xml
Oct 17, 2013 10:55:57 AM org.apache.catalina.loader.WebappClassLoader
validateJa
rFile
INFO: validateJarFile(C:\Documents and
Settings\Administrator\Desktop\apache-tom
cat-6.0.36\webapps\drools\WEB-INF\lib\jboss-servlet-api_3.0_spec-1.0.0.Final.jar
) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
javax/
servlet/Servlet.class
Oct 17, 2013 10:56:04 AM org.apache.catalina.session.StandardManager start
SEVERE: Exception loading sessions from persistent storage
java.lang.IllegalStateException: Singleton is not set
at
org.jboss.weld.bootstrap.api.helpers.IsolatedStaticSingletonProvider$
IsolatedStaticSingleton.get(IsolatedStaticSingletonProvider.java:52)
at org.jboss.weld.Container.instance(Container.java:54)
at
org.jboss.weld.manager.BeanManagerImpl.readResolve(BeanManagerImpl.ja
va:904)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
java.io.ObjectStreamClass.invokeReadResolve(ObjectStreamClass.java:10
91)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
786)
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:19
--
View this message in context: http://drools.46999.n3.nabble.com/guvnor-startup-error-tp4026413.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years, 4 months
Integration between Drools and Infinispan?
by Keith West
Wanted to see if anyone has given any thought to (or implemented) an integration between Drools (Expert, Fusion, or jBPM) and Infinispan - in particular to have the working memory/facts or workflow processes be housed in an Infinispan data grid? if so, I'd like to find out more about this.
Thanks,
Keith West
12 years, 4 months
Drools Enumerations
by Somasundaran, Rekha
Hi,
I have sent a query on the usage for Drools Enumerations at:
http://drools.46999.n3.nabble.com/Drools-Guvnor-Enumerations-td4026369.html
Can you please check and help?
Thanks,
Rekha Somasundaran | Consultant | GoldenSource India Pvt. Ltd.
Plot 13-A, Paper Box House, Off Mahakali Caves Road, Andheri (E), Mumbai - 400 093, India | DD: +91 22 6645 4069 | M: +91 9819 975 596 | Switchboard: +91 22 6645 4000 | Skype: rekha_somasundaran
www.thegoldensource.com
Winner 2011 "Best Enterprise Data Management Initiative" Inside Reference Data
Follow us on LinkedIn<http://www.linkedin.com/company/goldensource> and Twitter<https://twitter.com/#!/GoldenSource>
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any erroneous transmission. If you receive this message in error, please immediately destroy it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, or copy any part of this message if you are not the intended recipient.
===================================================================
12 years, 4 months
uninitializedEntityFilter example
by chakez30
I have set my planning variable to be nullable. But using this the
constucution heuristic initializes variables to null values and i think this
is a waste of time for computing the optimal solution. From the documents
you can overwrite this using uninitializedEntityFilter. But it doesnt show
the actual UninitializedTaskFilter.class. What would be the content of this
class? Thanks!
--
View this message in context: http://drools.46999.n3.nabble.com/uninitializedEntityFilter-example-tp402...
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years, 4 months