I download the drools workbench war
(kie-drools-wb-distribution-6.0.1.Final.zip) and tried deploying it on
Tomcat. The application gets deployed but not getting started (when seen
from server console).
Do I need to do anything else apart from placing the WAR file in the webapps
directory? please a
Sorry, I think I didn't explain my problem correctly.
Consider I have to process 2 records.
Each record will pass through the rule in drl file.
Name Count
a 100
b 200
a 100
Now I want to store the above values in a global hash map as below (When I
process the 3rd document).
I
Sorry for the confusion.
I am just trying to store the value in to a global hashmap (more like a
counter) and get back the total size of the hashmap after all the data is
processed.
function setValue(String a, String b){
hashValue.put(a,b);
}
function int getValue(){
return hashValue.s
I am trying to use a global hashmap in drools but not sure how to create a
global hashmap.
I have a very simple function that counts the number of values passed hence
I would need a global hash map to increment the count.
The below function initializes the map every time the function is called, I
We are trying to reuse the rules in commercial products like PolarLake
(http://www.polarlake.com/), IBM Ilog BRMS..
--
View this message in context:
http://drools.46999.n3.nabble.com/Can-we-retrieve-the-rules-as-XML-from-guvnor-using-java-code-tp4013660p4015914.html
Sent from the Drools: User for
Yes your assumption is right, I am trying to use the rules present inside
Guvnor in other rule engines (other than Guvnor / drools rule engine).
--
View this message in context:
http://drools.46999.n3.nabble.com/Can-we-retrieve-the-rules-as-XML-from-guvnor-using-java-code-tp4013660p4013776.html
S
Hi,
I am using Guvnor as knowledge repository and using drools rule engine to
evaluate the rules stored in Guvnor. Now I have one more rule engine for
which we are planning to use the same rules stored in Guvnor, but I am not
sure how to expose the rules present inside Guvnor to new system. Can
so
Hi,
I have a Guvnor instance (instance 1) running in tomcat and its using SQL
server 2005 as its backend.
Now I am planning to have one more instance of Guvnor (instance 2) running
from another application server but want to point it to same SQL server
(configured for instance 1)
I just made ch
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 wron
Hi,
We have written a webservice which will inturn invoke the Rules present in
Guvnor and returns the response from Guvnor to the invoking client app.
We have written the Webservice using Axis 2 WS.
Guvnor is using SQL server 2005 as its backend.
It takes around 15 to 20 seconds for Guvor to s
Hi,
I have rules created under a package using Derby as a backend. I am not
trying to configure SQL Server as backend but not sure how to migrate all
the rules created before (using Derby) to the new server.
I configured the persistence manager (both version / workspace to use MS SQL
server) and
Hi,
I have deployed Guvnor 5.1.1 in Tomcat.
I am getting the below error message whenever I shut down Tomcat server.
Sep 21, 2010 3:19:52 PM org.apache.catalina.loader.WebappClassLoader
clearRefere
ncesJdbc
SEVERE: The web application [/drools-5.1.1-guvnor] registered the JBDC
driver [o
rg.apa
Hi,
I am getting the below now and then when I try to export the repository from
one system to another system (move the repository folder / repository.xml
file present in bin folder of tomcat to tomcat bin folder of another
system). Can someone let me know what might be the root cause of this iss
Hi,
We have multiple rules defined in Guvnor and we fire all the rules at a
time. There is a decision object set for each rule and I am trying to figure
out a way to aggregate the result using the prirority of the decision object
(kind of logical AND / OR)
For Ex: The priority of the decision wo
Hi,
I am using Guvnor to store all the rules and I am having a webservice which
invokes the rules. As of now I use wrkMemory.fireAllRules(); to fire all the
rules.
Now I want to know if there is a way to get back the identifier back for
each rule such that I can validate the response returned fr
Esteban,
Thanks a lot for your timely help.. The below code did the trick..
[then] permitted = Decisions dec = new Decisions();
dec.setDecision("Granted")
Thanks,
Barani
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Not-able-to-create-object-in-then-cla
Hi,
I am trying to execute a simple DSL as below. Decisions is the bean class
which I have imported in to Guvnor
[when] IMRR action requested is in one of {acts} = Action(action in {acts})
[then] permitted =dec:Decisions dec.setDecision("Granted")
Now I want the object for decision to be create
Hi,
I have created a very simple DSL file as below. It just reads the data from
hashmap and sets the decision based on the key value present in the hashmap
passed to Guvnor.
[consequence][]Decision for DynamicValue is set as
Denied=dec.setDecision("Denied");
[condition][]Decision Object=dec:Deci
Our rules should work as below (in Guvnor)
When DynamicAttribute(“AssetID”) = 8-AIT-3243 and Group<>’HR’ then Decision
= Denied. both the attribute name and value are dynamic..
Thanks,
BB
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Dynamic-attribute-i
Hi,
We have a scenario as below,
Here is what we want to achieve. Let’s say we want to have following rule:
When AssetType = DSTR Then Decision = Granted.
I can have AssetType as static class or attribute in the model. But this may
limit our ability to handle new information. Let’s say now
Hi,
We are trying to create a drools Web service (using AXIS) and make it
interact with the rules present in Guvnor.
We tried implementing the logic to invoke the rule within the Skeleton and
tried invoking the same from a test client by passing the request
parameters, we are getting org.apache.
Hi,
I am trying to create a WS which will invoke the rules present in Guvnor and
sends back a response.
We have multiple applications which needs to execute the Rules present in
Guvnor and hence we thought of creating a WS which can be accessed by all
the applications.
We tried to use AXIS to cr
Hi,
I am currently using Guvnor for managing rules. I have a java program which
retrieves the rules information from Guvnor and gives me the validated
output.
I now need to log the defects of each and every record with its
corresponding rule / rule type id in order to know why that / for which
v
Hi,
I am very new to Drools and very very new to Guvnor.
I am in the process of creating a rule engine which will fetch the data from
a source (I am using Hibernate framework to fetch the data) and evaluate the
data using Drools rule engine. The rules supplied to the Drools rule engine
are store
24 matches
Mail list logo