load precompiled rule/ruleflow file in 5.3.0
by womuji
We are upgrading from Drools 5.1 to 5.3.0.Final, and running into issues with
loading precompiled rule/ruleflow files.
Previously, we precompiled our drl files using ant task
"org.drools.contrib.DroolsCompilerAntTask", e.g. rule1.drl to
rule1.drl.rules. We did the similar thing for ruleflow files, i.e.
precompiled all of our rf files to a single ruleflow.flow file. In our java
code, in 5.1, we load them as following:
DroolsObjectInputStream ruleFlowStream = null;
try
{
ruleFlowStream = new DroolsObjectInputStream(
new BufferedInputStream(
resourceLoader.getResource(
"classpath:ruleflow.flow"
).getInputStream()
)
);
org.drools.rule.Package ruleFlow =
(org.drools.rule.Package)ruleFlowStream.readObject();
ruleBase.addPackage(ruleFlow);
}
...
Same thing for the rule files.
My question is:
How do we load the precompiled file in 5.3 (we switch to the KnowledgeBase
API ) so that we can save the compiling time when loading?
Thanks.
--
View this message in context: http://drools.46999.n3.nabble.com/load-precompiled-rule-ruleflow-file-in-...
Sent from the Drools: User forum mailing list archive at Nabble.com.
14 years
how to invoke java method with variable arguments from drl file
by womuji
We are upgrading Drools from 5.1 to 5.3, and running into some issue when
invoking a Java method with
String variable arguments:
methodA(String... params)
how do we invoke this in a drl file? We used to call it in 5.1 as:
objA.methodA({"string1"});
and it works fine. Now in 5.3, it complains that
"unable to resolve method using strict-mode:
objA.methodA([Ljava.lang.Object;)]"
If we tried objA.methodA(new String[]{"string1"});
it complains that
"unable to resolve method using strict-mode:
objA.methodA([Ljava.lang.String;)]"
It passes the rule loading if we change to :
objA.methodA("string1");
but when actually running the rule, we are getting error saying
" unable to resolve method methodA(java.lang.String)"
--
View this message in context: http://drools.46999.n3.nabble.com/how-to-invoke-java-method-with-variable...
Sent from the Drools: User forum mailing list archive at Nabble.com.
14 years
Raising event signal from work item handler
by Swindells, Thomas
Within a work item, if you need to signal an event how would you do it?
>From a rules task you have access to the kcontext but generically this isn't available.
Thanks,
Thomas
________________________________
**************************************************************************************
This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster(a)nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary.
NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603 8808 40-00
**************************************************************************************
14 years
Drools 5.3 partitioned rule base
by gboro54
I am trying to run a partitioned rule base as we have a need to evaluate a
large number of facts. We have around 160 rules which are coordinated using
jBPM rule-flow groups(intermingled with some lightweight business logic).
The business logic in the process executed quickly(80ms for 10,000 facts)
but the rules take sometime to evaluate(thus why I thought a partitioned
rule base would work). However when I try to run it I get the stack trace
below. Do I need to do something to the session as well?
java.lang.IllegalStateException: Error launching test
com.nasdaq.backoffice.billing.process.PhlxCoreProcessTest public void
com.nasdaq.backoffice.billing.process.PhlxCoreProcessTest.testPhlxCoreProcess()
at
org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.invoke(ServletMethodExecutor.java:122)
at
org.jboss.arquillian.container.test.impl.execution.RemoteTestExecuter.execute(RemoteTestExecuter.java:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at
org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at
org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:134)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114)
at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
at
org.jboss.arquillian.container.test.impl.execution.ClientTestExecuter.execute(ClientTestExecuter.java:57)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at
org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at
org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at
org.jboss.arquillian.container.test.impl.client.ContainerEventController.createContext(ContainerEventController.java:142)
at
org.jboss.arquillian.container.test.impl.client.ContainerEventController.createTestContext(ContainerEventController.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at
org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at
org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at
org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at
org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:75)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at
org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at
org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at
org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:134)
at
org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:111)
at org.jboss.arquillian.junit.Arquillian$6.evaluate(Arquillian.java:263)
at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:226)
at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:240)
at
org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:185)
at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:199)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:147)
at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: java.io.WriteAbortedException: writing aborted;
java.io.NotSerializableException:
org.drools.impl.StatefulKnowledgeSessionImpl
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at
org.jboss.arquillian.test.spi.ExceptionProxy.readExternal(ExceptionProxy.java:177)
at java.io.ObjectInputStream.readExternalData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
at java.io.ObjectInputStream.readSerialData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at
org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.execute(ServletMethodExecutor.java:214)
at
org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.executeWithRetry(ServletMethodExecutor.java:140)
at
org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.invoke(ServletMethodExecutor.java:118)
... 75 more
Caused by: java.io.NotSerializableException:
org.drools.impl.StatefulKnowledgeSessionImpl
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at
org.jboss.arquillian.test.spi.ExceptionProxy.writeExternal(ExceptionProxy.java:227)
at java.io.ObjectOutputStream.writeExternalData(Unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at
org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.writeObject(ServletTestRunner.java:229)
at
org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.executeTest(ServletTestRunner.java:163)
at
org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.execute(ServletTestRunner.java:126)
at
org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.doGet(ServletTestRunner.java:90)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
at
org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
at
org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
at
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:154)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
at java.lang.Thread.run(Unknown Source)
--
View this message in context: http://drools.46999.n3.nabble.com/Drools-5-3-partitioned-rule-base-tp3793...
Sent from the Drools: User forum mailing list archive at Nabble.com.
14 years
facing problems while adding a Rule to DROOLS using java client?
by PC
Hi,
i am using Guvnor-5.2.0 . Through a simple java client class i wanted to
add
a rule at runtime.
below is the snippet of java code i am using to add a rule.
KnowledgeBase knowledgeBase = createKnowledgeBase();
session = knowledgeBase.newStatefulKnowledgeSession();
logger = KnowledgeRuntimeLoggerFactory.newFileLogger(session,
"log/DroolsSample");
KnowledgeRuntimeLoggerFactory.newConsoleLogger(session);
String ruleDescription = "package com.tcube.atyaf.dto;"+
"import
com.tcube.atyaf.dto.EmployeeDataDTO;" +
"rule \"SimpleDRLRule\""+
" @ID(11003588)"+
" lock-on-active true"+
" salience -11"+
" dialect 'mvel'"+
" when m :
EmployeeDataDTO(empName==\"PC\");"+
" then System.out.println(
\"*************rule executed\");" +
" m.setDesignation( \"Manager
,Additional Duties & Additional hike
!!!\" );"+
" update( m );"+
" end";
byte[] data = ruleDescription.getBytes();
KnowledgeBuilder kbuilder =
KnowledgeBuilderFactory.newKnowledgeBuilder(knowledgeBase);
kbuilder.add( ResourceFactory.newClassPathResource("ChangeSet.xml"),
ResourceType.CHANGE_SET );
kbuilder.add( ResourceFactory.newClassPathResource("TestRule.drl"),
ResourceType.DRL);
kbuilder.add(ResourceFactory.newByteArrayResource(data),
ResourceType.DRL);
if(kbuilder.hasErrors()) {
System.out.println( kbuilder.getErrors() );
return;
}
Collection<KnowledgePackage> kpkgs = kbuilder.getKnowledgePackages();
knowledgeBase.addKnowledgePackages( kpkgs );
emp = new EmployeeDataDTO();
emp.setEmpNo(1);
emp.setEmpName("PC");
emp.setAge(29);
emp.setSalary(new BigDecimal("6500"));
session.insert(emp);
session.fireAllRules();
I am getting all the rules executed as per exceptation since it is in the
same session, however the new rules that i have added are not reflected in
Drools-Guvnor UI....
please help me on code for deploying the knowldgeBase/Package(kpkgs) to
Drools-Guvnor UI..
-----
PC
--
View this message in context: http://drools.46999.n3.nabble.com/facing-problems-while-adding-a-Rule-to-...
Sent from the Drools: User forum mailing list archive at Nabble.com.
14 years
Fact Instance "lifetime" in knowledge session
by Anne Fiore
Hi,
I'm very new to drools and am trying to understand how "facts" are managed
by the knowledge session. I've been experimenting with a simple example
using drools 5.3.0. I created a simple Account class that has a single
"balance" attribute. My rule tests the balance and prints a message if it
is less than 100. I am creating a new instance of Account in my main method
and inserting it into a stateful knowledge session. I put this into a
loop that runs 3 times and never dispose of the session. Each of my
Account instances has a balance less that 100. Here is a portion of the
code:
public static final void main(String[] args) throws InterruptedException
{
KnowledgeBase knowledgeBase = createKnowledgeBase();
StatefulKnowledgeSession session =
knowledgeBase.newStatefulKnowledgeSession();
for (int i = 0; i < 3; i++)
{
try
{
Account account = new Account();
switch (i)
{
case 0: account.setBalance(95);
break;
case 1: account.setBalance(85);
break;
case 2: account.setBalance(80);
break;
default: account.setBalance(80);
}
session.insert(account);
session.fireAllRules();
}
catch (Exception e)
{
System.out.println("Exception: " + e.toString());
}
Thread.sleep(1000);
}
}
My rule is:
rule "basic rule"
when $a : Account (balance < 100) // condition
then System.out.println("Account balance " + $a.getBalance() + " is less
than 100"); // consequence
end
What I see is that each time the loop executes only the last instance of
Account seems to get triggered. I expected that each time I call
"fireAllRules" it would examine all the facts in the session and execute
them. So I thought the first time the loop runs I would get 1 activation,
the second time the loop runs I get 2 activations, etc.
Are all 3 instances of Account still in the working memory or is the latest
instance replacing the existing one? Or, once a fact triggers the rules
engine, does it not trigger it again?
Thanks for any insights,
Anne
14 years
Drools & jBPM Event : London 8th March 2012
by Mark Proctor
http://blog.athico.com/2012/02/drools-jbpm-event-london-8th-march-2012.html
-----
Register now to join us for the free Drools & jBPM London 2012 event,
hurry limited spaces :)
http://redhat-mail.com/t/XRU-OE4J-824IMOYW1D/cr.aspx
When Thursday 8th March
Where Stationers Hall, London
Agenda trans
trans trans trans
trans
trans
09:00 trans Registration, tea and coffee
trans
09:30 trans Introduction/ Welcome
trans
09:45 trans Rules, Events & Processes: the Open Source way
Mark Proctor - Worldwide Technical Lead for BRMS & BPMS, Red Hat
trans
10:45 trans Decision Tables
Michael Anstis, JBoss Core Developer, Red Hat
trans
11:15 trans Tea/Coffee Break
trans
11:30 trans BPMN2 and jBPM5
Kris Verlaenen, JBoss Core Developer, Red Hat
trans
12:15 trans Solving Planning Problems
Geoffrey de Smet, JBoss Core Developer, Red Hat
trans
12:45 trans Case Studies
trans
13:00 trans Lunch and Networking
trans
14 years
Streaming mode
by Matteo Cusmai
Hi all,
i have a big problem with drools fusion.
I insert some new event (pojo object) into Working Memory, but another
thread retract it after a few ms.
Someone could tell me why?
Thanks a lot,
[java] gas2-event: 1330701201208
[java] INFO [2012-03-02 16:13:21,261] [ExpertSystem]
(ExpertVS.java:141) - **** eventRetracted: 1330701201232/30/32/0/100
[java] INFO [2012-03-02 16:13:31,224] [Thread-19]
(ExpertVS.java:135) - objectInserted
org.dfms.model.observation.GasObservation@1a30ef85
[java] INFO [2012-03-02 16:13:31,225] [Thread-19]
(ExpertVS.java:135) - objectInserted
org.dfms.model.observation.GasObservation@2bd1232
[java] INFO [2012-03-02 16:13:31,226] [Thread-19]
(ExpertVS.java:135) - objectInserted
org.dfms.model.observation.GasObservation@4045acb5
[java] INFO [2012-03-02 16:13:31,227] [Thread-19]
(ExpertVS.java:135) - objectInserted
org.dfms.model.observation.TemperatureObservation@1e4dc00a
[java] INFO [2012-03-02 16:13:31,227] [Thread-19]
(ExpertVS.java:135) - objectInserted
org.dfms.model.observation.HumidityObservation@27ae011
* [java] INFO [2012-03-02 16:13:31,227] [pool-1-thread-1]
(ExpertVS.java:124) - **** eventInserted: 1330701211226/30/32/0/100*
[java] INFO [2012-03-02 16:13:31,240] [Thread-19]
(ExpertVS.java:135) - objectInserted
org.dfms.model.observation.RadiationObservation@510c7d5c
[java] INFO [2012-03-02 16:13:31,251] [pool-1-thread-1]
(ExpertVS.java:143) - objectRetracted ==>[ObjectRetractedEventImpl:
getFactHandle()=1:105:45945394:45945394:105:lowLevelSensorStream,
getOldObject()=org.dfms.model.observation.GasObservation@2bd1232,
getKnowledgeRuntime()=org.drools.impl.StatefulKnowledgeSessionImpl@7224e11c,
getPropagationContext()=PropagationContextImpl [activeActivations=0,
dormantActivations=0, entryPoint=EntryPoint::lowLevelSensorStream,
factHandle=1:105:45945394:45945394:105:lowLevelSensorStream,
leftTuple=1:105:45945394:45945394:105:lowLevelSensorStream
[java] [fact
0:0:124232201:1306428912:0:DEFAULT:org.drools.reteoo.InitialFactImpl@4dde85f0
]
[java] , originOffset=-1, propagationNumber=220, rule=[Rule
name=gas2-event, agendaGroup=MAIN, salience=10, no-loop=true], type=1]]
[java] gas2-event: 1330701211203
* [java] INFO [2012-03-02 16:13:31,261] [ExpertSystem]
(ExpertVS.java:141) - **** eventRetracted: 1330701211226/30/32/0/100*
[java] INFO [2012-03-02 16:13:31,262] [ExpertSystem]
(ExpertVS.java:143) - objectRetracted ==>[ObjectRetractedEventImpl:
getFactHandle()=1:101:1512664237:1512664237:101:lowLevelSensorStream,
getOldObject()=org.dfms.model.observation.TemperatureObservation@5a296cad,
getKnowledgeRuntime()=org.drools.impl.StatefulKnowledgeSessionImpl@7224e11c,
getPropagationContext()=PropagationContextImpl [activeActivations=0,
dormantActivations=0, entryPoint=EntryPoint::lowLevelSensorStream,
factHandle=1:101:1512664237:1512664237:101:lowLevelSensorStream,
leftTuple=null, originOffset=-1, propagationNumber=224, rule=null, type=1]]
[java] INFO [2012-03-02 16:13:31,262] [ExpertSystem]
(ExpertVS.java:143) - objectRetracted ==>[ObjectRetractedEventImpl:
getFactHandle()=1:102:1436418073:1436418073:102:lowLevelSensorStream,
getOldObject()=org.dfms.model.observation.HumidityObservation@559e0019,
getKnowledgeRuntime()=org.drools.impl.StatefulKnowledgeSessionImpl@7224e11c,
getPropagationContext()=PropagationContextImpl [activeActivations=0,
dormantActivations=0, entryPoint=EntryPoint::lowLevelSensorStream,
factHandle=1:102:1436418073:1436418073:102:lowLevelSensorStream,
leftTuple=null, originOffset=-1, propagationNumber=226, rule=null, type=1]]
[java] INFO [2012-03-02 16:13:31,263] [ExpertSystem]
(ExpertVS.java:143) - objectRetracted ==>[ObjectRetractedEventImpl:
getFactHandle()=1:103:2014876984:2014876984:103:lowLevelSensorStream,
getOldObject()=org.dfms.model.observation.RadiationObservation@78189538,
getKnowledgeRuntime()=org.drools.impl.StatefulKnowledgeSessionImpl@7224e11c,
getPropagationContext()=PropagationContextImpl [activeActivations=0,
dormantActivations=0, entryPoint=EntryPoint::lowLevelSensorStream,
factHandle=1:103:2014876984:2014876984:103:lowLevelSensorStream,
leftTuple=null, originOffset=-1, propagationNumber=228, rule=null, type=1]]
[java] INFO [2012-03-02 16:13:41,228] [ExpertSystem]
(ExpertVS.java:143) - objectRetracted ==>[ObjectRetractedEventImpl:
getFactHandle()=1:108:508411914:508411914:108:lowLevelSensorStream,
getOldObject()=org.dfms.model.observation.TemperatureObservation@1e4dc00a,
getKnowledgeRuntime()=org.drools.impl.StatefulKnowledgeSessionImpl@7224e11c,
getPropagationContext()=PropagationContextImpl [activeActivations=0,
dormantActivations=0, entryPoint=EntryPoint::lowLevelSensorStream,
factHandle=1:108:508411914:508411914:108:lowLevelSensorStream,
leftTuple=null, originOffset=-1, propagationNumber=230, rule=null, type=1]]
[java] INFO [2012-03-02 16:13:41,230] [ExpertSystem]
(ExpertVS.java:143) - objectRetracted ==>[ObjectRetractedEventImpl:
getFactHandle()=1:109:41607185:41607185:109:lowLevelSensorStream,
getOldObject()=org.dfms.model.observation.HumidityObservation@27ae011,
getKnowledgeRuntime()=org.drools.impl.StatefulKnowledgeSessionImpl@7224e11c,
getPropagationContext()=PropagationContextImpl [activeActivations=0,
dormantActivations=0, entryPoint=EntryPoint::lowLevelSensorStream,
factHandle=1:109:41607185:41607185:109:lowLevelSensorStream,
leftTuple=null, originOffset=-1, propagationNumber=232, rule=null, type=1]]
14 years