I have a very similar issue - so I'm interested in any further performance
tips or findings:
We use Drools with an interface where users can update / edit rules. Those
rules are then stored (and versioned) in a database. Afterwards the rules
are fetched again from database and added one by one in
Oh I should've mentioned, this was in the top of drl file:
dialect mvel
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Map-Accessor-not-allowing-using-a-parameter-gets-field-extractor-error-tp2776894p2779707.html
Sent from the Drools - User mailing list
Thanks for the response Wolfgang.
I am not calling ksession.fireAllRules(1). I just have
ksession.fireAllRules();
I tried inserting 2 pairs - One product with a price set and the other left
as null. The one with the null still does not fire the 'Set Options Price'
after it's price has been set
Just ran another test, I removed the check for 'price == null' in the 'Set
Options Price' rule - so the rules now reads :
rule Set Options price
salience 50
when
$prod : Product ( )
$option : Option ( product == $prod )
then
Your Product.hashCode uses dynamic information: price.
-W
On 5 April 2011 15:22, groovenarula gnaru...@la-z-boy.com wrote:
Just ran another test, I removed the check for 'price == null' in the 'Set
Options Price' rule - so the rules now reads :
rule Set Options price
salience 50
I'm trying to install and run Guvnor on Websphere 7.
When I try starting the app, I get the following exception
[4/5/11 11:02:26:793 EDT] 0085 webappE
com.ibm.ws.webcontainer.webapp.WebApp notifyServletContextCreated SRVE0283E:
Exception caught while initializing context: {0}
I'm trying to install and run Guvnor on Websphere 7.
When I try starting the app, I get the following exception
[4/5/11 11:02:26:793 EDT] 0085 webappE
com.ibm.ws.webcontainer.webapp.WebApp notifyServletContextCreated
SRVE0283E:
Exception caught while initializing context: {0}
Seems you have an older jcr jar on your classpath that gets loaded
before Guvnor's jcr-2.0.jar in WEB-INF/lib.
On 4/5/11 11:07 AM, smileychappy wrote:
I'm trying to install and run Guvnor on Websphere 7.
When I try starting the app, I get the following exception
[4/5/11 11:02:26:793 EDT]
I agree with Tihomir. Make sure that the web application is deployed with a
PARENT_LAST classloader configuration.
Also, you probably need to update the components.xml file to specify the
location of the repository to a separate FS location that you know the
application server user has access
I have created the following issue to keep track of this problem:
https://issues.jboss.org/browse/JBRULES-2940
I have also made some fixes, so It would be great if you could test them.
Best Regards,
Esteban Aliverti
- Developer @ http://www.plugtree.com
Hi again:
Just to inform I've made slight modifications to JoinNode code locally that
seems to solve the SampleAlarmRules problem and any other problem (up to
now) in my application rule set related to JoinNodes whose sink is
composite.
If anyone needs these modifications while the corrected
Hi Manuel,
Sorry about the delay in replying... quite busy during the last few
weeks.
The fix I am talking about is this:
https://github.com/droolsjbpm/droolsjbpm/commit/16389ae57506debab8d13c286d13ee873df98461
Hi all
I would like to ask how drools run . I found that they can run in two
different drl file. What is salience for ?.
rule Teting 571
salience 4200
when
root:AdjudicationDTO(type==PRIORAPPROVAL_LINE,t:type);
pa:PriorApproval();
13 matches
Mail list logo