[jboss-jira] [JBoss JIRA] Issue Comment Edited: (JBRULES-2837) StatefulKnowledgeSession.startProcess not thread-safe

Maxence Dewil (JIRA) jira-events at lists.jboss.org
Fri Feb 11 04:03:46 EST 2011


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

Maxence Dewil edited comment on JBRULES-2837 at 2/11/11 4:02 AM:
-----------------------------------------------------------------

Ok this one is fixed in Drools 5.2.0.M1

      was (Author: maxence.dewil):
    Ok this one is fixed in Drools 5.2.0.M1 https://issues.jboss.org/browse/JBRULES-1498
  
> StatefulKnowledgeSession.startProcess not thread-safe
> -----------------------------------------------------
>
>                 Key: JBRULES-2837
>                 URL: https://issues.jboss.org/browse/JBRULES-2837
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-core
>    Affects Versions: 5.1.1.FINAL
>            Reporter: Maxence Dewil
>            Assignee: Mark Proctor
>
> See http://drools-java-rules-engine.46999.n3.nabble.com/StatefulKnowledgeSession-startProcess-not-thread-safe-td1973203.html
> and http://drools-java-rules-engine.46999.n3.nabble.com/Weird-Problem-WorkItemManager-seems-to-loose-WorkItems-td1986222.html
> The documentation lets believe that the StatefulKnowledgeSession can be used in a multithreaded environment (https://hudson.jboss.org/hudson/job/jBPM5/lastSuccessfulBuild/artifact/target/jbpm-5.0-SNAPSHOT-docs-build/jbpm-docs/html/ch04.html#d0e1191).
> But the classes org.drools.process.instance.impl.DefaultProcessInstanceManager and org.drools.process.instance.impl.DefaultWorkItemManager are not synchronized.
> Consequences: process instance ids and workitem ids not unique.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list