Drools error log msg?
by Markus Schneider
Hi list,
I see the following error msg in my drools log but I don't know how to
interpret this.
Do I have a serious problem here?
Has anybody a clue?
Thanks in advance.
Cheers,
-markus
| Error ==>[AfterActivationFiredEvent: getActivation()=[Activation
rule=UpdateAlertRule, act#=37, salience=900, tuple=[fact
0:19:184363445:184363445:19:DEFAULT:rapideca.plugins.rbm.entity.Event : 19]
],
getKnowledgeRuntime()=org.drools.impl.StatefulKnowledgeSessionImpl@6dd4ab87]
| Error ==>[BeforeActivationFiredEvent: getActivation()=[Activation
rule=EventRetractionRule, act#=36, salience=1, tuple=[fact
0:19:184363445:184363445:19:DEFAULT:rapideca.plugins.rbm.entity.Event : 19]
],
getKnowledgeRuntime()=org.drools.impl.StatefulKnowledgeSessionImpl@6dd4ab87]
EventRetractionRule is processed.
| Error ==>[ObjectRetractedEventImpl: getFactHandle()=[fact
0:19:184363445:184363445:19:DEFAULT:rapideca.plugins.rbm.entity.Event :
19], getOldObject()=rapideca.plugins.rbm.entity.Event : 19,
getKnowledgeRuntime()=org.drools.impl.StatefulKnowledgeSessionImpl@6dd4ab87,
getPropagationContext()=PropagationContextImpl [activeActivations=0,
dormantActivations=2, entryPoint=EntryPoint::DEFAULT, factHandle=[fact
0:19:184363445:184363445:19:DEFAULT:rapideca.plugins.rbm.entity.Event :
19], leftTuple=[fact
0:19:184363445:184363445:19:DEFAULT:rapideca.plugins.rbm.entity.Event : 19]
, originOffset=-1, propagationNumber=40, rule=[Rule
name=EventRetractionRule, agendaGroup=MAIN, salience=1, no-loop=true],
type=1]]
2014-02-25 08:59:03,524 [eventQueueReceiverJmsListenerContainer-1] INFO
log.RuleLogHandler - RuleLog with id: 38 was successfully saved.
| Error ==>[AfterActivationFiredEvent: getActivation()=[Activation
rule=EventRetractionRule, act#=36, salience=1, tuple=[fact
0:-1:184363445:184363445:19:null:null]
],
getKnowledgeRuntime()=org.drools.impl.StatefulKnowledgeSessionImpl@6dd4ab87]
12 years
6.0.1.F Regex validation in DSL causes errors
by SrjTx
I have tried the following regexes.
{startTime:[01]?[0-9]|2[0-3]:[0-5][0-9]}
{startTime:[0-9]+} -- not a time of course, but thought I would give it
something easy
{startTime:"[0-9]+"}
just {startTime} works
When a regex is present , I get errors like:
[9] Unable to expand: Beer *List* Unknown BLone BLone 25-Feb-2014 startTime
25-Feb-2014 endTime
[ERR 102] Line 9:8 mismatched input '*List*' in rule "a"
DSL lookes like
[when]Beer *List* {x} {y} ... {startTime[0-9]+} ... =eval($foo.doThis("{x}",
"{y}", ..., "{startTime}, ..."))
--
View this message in context: http://drools.46999.n3.nabble.com/6-0-1-F-Regex-validation-in-DSL-causes-...
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years
Drools 6.x - Stand alone Examples!
by mattmadhavan
Hello,
I am looking for a sample of Drools 6.x example. For some reason I cannot
resolve the Maven dependencies for the 6.x samples. I am good with 5.x.
*DO I need to add any maven repository for the 6.x artifacts? Looks like
they may not be present in the public Maven repo?*
For instance none of these artifacts resolve!
I have tried various 6.x.x [Sapshot, Final] version for : ${drools.version}
Thanks in advance!
Matt'M
--
View this message in context: http://drools.46999.n3.nabble.com/Drools-6-x-Stand-alone-Examples-tp40282...
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years
6.0.1.F Do dependent enumerations work as in docs 16.10.1?
by SrjTx
I am trying to do the dependent enumerations as covered in 16.10.1. Advanced
enumeration concepts
I set this up just like the example, and have tried a number of things to
get it to work, but now luck.
This works fine:
'MyBean.listType' : ['List', 'Regex']
'MyBean.val' : ['a','b']
This results in the val dropdown being grayed out.
This seems to follow the example in 16.10.1, but I must be missing something
subtle
'MyBean.listType' : ['List', 'Regex']
'MyBean.val[listType = List]' : ['a','b']
'MyBean.val[listType = Regex]' : ['c','d']
No errors, validation warnings, etc. are produced on the gui or in the jboss
log.
--
View this message in context: http://drools.46999.n3.nabble.com/6-0-1-F-Do-dependent-enumerations-work-...
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years
Error Inserting events into drools fusion stream
by Ayush
Hi All,
I'm trying to implement drools fusion into my app. The scenario of my app is
as follows:
- Facts will be received continuosly.
- On receving fact I'm generating a new event and adding it into a new
working memory entry point stream. Also I'm adding facts into session coz
I'll be updating them.
- I need to apply rules on continuous stream of events.
- I've not used any camel + spring or pipeline. Are these mandatory to use?
For 1st fact everything works fine but when I receive 2nd fact I'm getting
Now when I'm trying to get entry point on receive of 2nd alarm I'm getting
org.drools.RuntimeDroolsException: Unexpected exception executing action
org.drools.reteoo.PropagationQueuingNode$PropagateAction@9ff411 Caused by:
java.util.concurrent.RejectedExecutionException.
On debug I found that the above exception is coming when I'm calling
session.getWorkingMemoryEntryPoint("MyStream"); Can anyone please help me
that how should I insert facts and events into working memory?
I'd invested ample amount of time searching for this but I'm empty handed.
Guys please help this is very urgent for me. Thanks in anticipation
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Error-Inserting-event...
Sent from the Drools - User mailing list archive at Nabble.com.
12 years
Advice abour best way to inetgrate fact from a database to drools 6
by Mercier Jonathan
Dear,
I have a general question to have a "drools starter" on my project
I come here to query your drools experience :-)
I have a mysql data base which are my fact.
I see some old drools post using spring intergration and some more
recent post about camel .
I do not understand, which way i should to take, to me :
- camel is a server ( i do not know never used it )
- spring integration is used to connect multiple ressource
I though to use :
- spring as light container
- hibernate 4 to query db
- spring roo to do some reverse-engeneering on my db
- drools a rule engine
I would like the uptodate approach to perform this. The only "Must be"
is "open-source project"
thanks for your advice
12 years
System.out in org.kie.spring.KModuleBeanFactoryPostProcessor Line 103
by kmansoor
I wonder if logger.info should be used instead?
public void postProcessBeanFactory(ConfigurableListableBeanFactory
beanFactory) throws BeansException {
log.info(":: BeanFactoryPostProcessor::postProcessBeanFactory called
::");
if ( releaseId == null && configFilePath != null) {
fixConfigFilePathForVfs();
String pomProperties = null;
if ( configFilePath.endsWith("WEB-INF/classes/")){
String configFilePathForWebApps =
configFilePath.substring(0, configFilePath.indexOf("WEB-INF/classes/"));
pomProperties =
ClasspathKieProject.getPomProperties(configFilePathForWebApps);
} else {
pomProperties =
ClasspathKieProject.getPomProperties(configFilePath);
}
if (pomProperties != null) {
releaseId =
ReleaseIdImpl.fromPropertiesString(pomProperties);
} else {
releaseId = new ReleaseIdImpl("org.default",
"artifact","1.0.0-SNAPSHOT");
}
KieSpringUtils.setDefaultReleaseId(releaseId);
System.out.println("releaseId == "+releaseId);
}
--
View this message in context: http://drools.46999.n3.nabble.com/System-out-in-org-kie-spring-KModuleBea...
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years
Fwd: Need Drools developer Help
by Michael Anstis
---------- Forwarded message ----------
From: Niraj Gupta <Niraj.Gupta(a)causeway.com>
Date: 25 February 2014 10:22
Subject: RE: Need Drools developer Help
Hi Michael,
I am using 'drools-guvnor 5.5.0.Final' open source tool for
designing the business process (BPMN2). I end up in an issue and looking
for help. Following is the scenario
I created a package then process then after build, deploy execute
successfully. Now I came back to guvnor and made few changes in the
process. Then after same build, deploy execute successfully. But now this
time I am creating a declarative model having 2 facts, also modifying
business process. Then after same build, deploy execute successfully. This
time modified/latest business process doesn't load into console. This is my
problem. However I trouble shoot and google following are my observations:
* I am running this application in tomcat 6.0.35
* It works perfectly with POJO Model Jar approach.
* It works perfectly with declarative model but having single
fact.
* I am not seeing any exceptions either in UI or console logs
Regards,
Niraj
------------------------------
Causeway is committed towards reducing its carbon footprint. Please
consider the environment before printing this email.
------------------------------
Disclaimer Notice :-
The message and any attachments contained in this e-mail are intended for
the named recipient(s) only. It may contain privileged or confidential
information or information which is exempt from disclosure under the
applicable laws. If you are not the intended recipient(s), you must not
read, print, retain, copy distribute, forward or take any or refrain from
taking any action in reliance on it or any of its attachments. If you have
received or have been forwarded this e-mail in error, please notify us
immediately by return e-mail or telephone (+44 (0)1628 552000) and delete
this message from the computer or any other data-reading device in its
entirety.
Please advise us immediately if you do not or your employer does not
consent to Internet e-mail for messages of this nature.
Internet communications cannot be guaranteed to be secure and error-free as
the information could be intercepted, corrupted, lost, arrive late or
contain viruses. The sender and this Company therefore do not and shall not
accept any liability or responsibility of whatsoever nature in the context
of this message and its attachment(s) which arises as a result of Internet
transmission. Opinions, conclusion, representations, views and such other
information in this message that do not relate to the official business of
this Company shall be understood as neither given nor endorsed by it.
Registered Office: Comino House, Furlong Road, Bourne End, Buckinghamshire,
SL8 5AQ
Registered in England No: 3921897 www.causeway.com
12 years