Well, I still don&#39;t see how you insert the event facts.<br><br>However, I think you must provide the declares where you define @role(event)<br>in the first .drl file where these types are used in one or more rules. But failure<br>
to do so should cause a class cast error when the condition of BBBAfterAAA is<br>evaluated.<br><br>Try a rule like this which should show what is in WM:<br><br>rule x<br>when<br>   $obj: Object()<br>then<br>   System.out.println( &quot;fact: &quot; + $obj.getClass() );<br>
end<br><br>-W<br><br><br><div class="gmail_quote">On 29 August 2011 12:30, eskomk <span dir="ltr">&lt;<a href="mailto:esko.hujanen@ebsolut.fi">esko.hujanen@ebsolut.fi</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Wolfgang et al,<br>
<br>
That &lt;drools:batch&gt; is used to run init.drl using mirellaInitBean.<br>
mirellaInitBean is just a stub that fires init.drl which in turn starts<br>
ResourceChangeNotifierService and ResourceChangeScannerService<br>
(I did not remember to replace &quot;mirella&quot; with &quot;CCC&quot; in my original post, see<br>
knowledge-services.xml below. mirella is a product name we are working on).<br>
But this is something that has been verified as working solution, by me<br>
anyway.<br>
<br>
But the problem still exist: Our rules do not fire.<br>
<br>
Yes, we are inserting facts (events) in real time.<br>
<br>
I thought that, in CLOUD mode, you cannot use e.g. @expires in the declare,<br>
or it has no effect.<br>
Is that so ?<br>
<br>
Also you must have stateful session to use STREAM mode.<br>
Is that so ?<br>
<br>
There is no notion of real-time clock in stateless session.<br>
<br>
Cheers,<br>
Esko<br>
-----------<br>
Esko Hujanen<br>
<a href="http://www.ebsolut.fi" target="_blank">http://www.ebsolut.fi</a><br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/How-to-deploy-Fusion-tp3287119p3292367.html" target="_blank">http://drools.46999.n3.nabble.com/How-to-deploy-Fusion-tp3287119p3292367.html</a><br>
Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></blockquote></div><br>