[jboss-jira] [JBoss JIRA] Commented: (JBRULES-2561) weird problem in "Action" nodes

Sameeh Harfoush (JIRA) jira-events at lists.jboss.org
Fri Jul 23 06:45:33 EDT 2010


    [ https://jira.jboss.org/browse/JBRULES-2561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12540727#action_12540727 ] 

Sameeh Harfoush commented on JBRULES-2561:
------------------------------------------

according to Kris this error happens when i always use new knowledge builder i my statefull session.

Kris Verlaenen email to me
"This seems to be related to the fact that you're always using a new knowledge builder.  The knowledge builder makes sure a unique name is always generated for each action.  In this case, by instantiating a new one every time, it does not remember this.  Reusing the same knowledge builder should solve this issue.  We might look into this to better support incremental kbase building."

I fixed it by using a single knowledge builder for my statefull session

Regards


> weird problem in "Action" nodes
> -------------------------------
>
>                 Key: JBRULES-2561
>                 URL: https://jira.jboss.org/browse/JBRULES-2561
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-core (flow)
>    Affects Versions: 5.1.0.M2
>         Environment: Drools snapshot build number 33671
>            Reporter: Sameeh Harfoush
>            Assignee: Kris Verlaenen
>            Priority: Blocker
>             Fix For: 5.2.0.M1
>
>
> I am using snapshot build number 33671 and i faced a weird problem in "Action" nodes
> i have a test case with two processes both have Start->Action(with system.out)->End
> below is my execution flow
> deploy process1
> deploy process2
> start process1
> process1 is printing the action (the system.out) string of process2 or any process with Action node that is last deployed

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list