[rules-users] Rules not firing when facts asserted in a rule RHS in 5.0

Chris Selwyn chris at selwyn-family.me.uk
Wed Dec 1 10:14:29 EST 2010


Yes the package is "SWWB2BOutgoing" but it looks as though the package 
name simple doesn't get reported in the log file.

I have been debugging through this thing and where I've got to so far is 
that I am getting two (and maybe more) entries for the class 
"SWWB2BOutgoing.QuestionValidation" in the 
ObjectTypeConfigurationRepository.
So my current question is "How is this possible?" Is it maybe a 
classloader issue?

Chris


On 01/12/2010 12:05, Wolfgang Laun wrote:
> A closer look:
>
> On 1 December 2010 11:13, Chris Selwyn <chris at selwyn-family.me.uk 
> <mailto:chris at selwyn-family.me.uk>> wrote:
>
>
>
>     I can see the facts being inserted in the log as follows
>     [#|2010-12-01T09:19:16.723+0000|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=70;_ThreadName=p:
>     thread-pool-1; w: 7;|
>     OBJECT ASSERTED value:QuestionValidation( mandatory=true,
>     state=Closed,
>     question=B2B_METER_SERIAL_NUMBER, type=string ) factId: 39|#]
>
>
> Shouldn't the package name appear in the log as well?
>
>
>     However, if I insert a QuestionValidation fact created in Java by
>     using
>     kbase.getFactType("SWWB2BOutgoing", "QuestionValidation") then the
>     Test
>     rule gets fired just fine.
>
>
> That is, apparently "SWWB2BOutgoing".
>
> -W
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
> No virus found in this message.
> Checked by AVG - www.avg.com <http://www.avg.com>
> Version: 10.0.1170 / Virus Database: 426/3290 - Release Date: 11/30/10
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20101201/05a2a039/attachment.html 


More information about the rules-users mailing list